23# ifdef COMPILING_DLL_SimulatedRealityCameras
24# define SRAPI extern "C" __declspec(dllexport)
26# define SRAPI extern "C" __declspec(dllimport)
29# ifdef COMPILING_DLL_SimulatedRealityCameras
30# error Trying to compile SimulatedRealityCameras.dll using a non-C++ compiler! Use a C++ compiler instead!
32# define SRAPI __declspec(dllimport)
void * SRContext
Definition: admin_c.h:15
void * SR_camera
Definition: cameras_c.h:18
void * SR_videoListener
Definition: cameras_c.h:19
#define SRAPI
Definition: cameras_c.h:36
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:15
C-compatible struct containing an image recorded by a Camera.
Definition: videoframe.h:22