18# ifdef COMPILING_DLL_SimulatedRealityCameras
19# define SRAPI extern "C" __declspec(dllexport)
21# define SRAPI extern "C" __declspec(dllimport)
24# ifdef COMPILING_DLL_SimulatedRealityCameras
25# error Trying to compile SimulatedRealityCameras.dll using a non-C++ compiler! Use a C++ compiler instead!
27# define SRAPI __declspec(dllimport)
void * SRContext
Definition: admin_c.h:10
void * SR_camera
Definition: cameras_c.h:13
void * SR_videoListener
Definition: cameras_c.h:14
#define SRAPI
Definition: cameras_c.h:31
SRAPI void deleteVideoListener(SR_videoListener videoListener)
Cleans up underlying object instances used to facilitate video update callbacks.
SRAPI SR_videoListener createVideoListener(SR_camera camera, void(*acceptVideoCallback)(SR_videoFrame))
Create a new callback function to listen to a specific camera.
SRAPI SR_camera createCameraByDescriptor(SRContext context, SR_cameraDescriptor descriptor)
Creates a Camera instance to provide feedback about the Eyetracker.
SRAPI SR_camera createCamera(SRContext context)
Creates a functional Camera instance.
C-compatible descriptor of SR camera component.
Definition: cameradescriptor.h:10
C-compatible struct containing an image recorded by a Camera.
Definition: videoframe.h:17