Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
displays_admin_c.h
Go to the documentation of this file.
1
10#ifndef DISPLAYS_ADMIN_C_H
11#define DISPLAYS_ADMIN_C_H
12
13#include "sr/core_c.h"
14
15typedef void* SR_screen;
16
17#ifdef WIN32
18#ifdef __cplusplus
19# ifdef COMPILING_DLL_SimulatedRealityDisplays
20# define SRAPI extern "C" __declspec(dllexport)
21# else
22# define SRAPI extern "C" __declspec(dllimport)
23# endif
24#else
25# ifdef COMPILING_DLL_SimulatedRealityDisplays
26# error Trying to compile SimulatedRealityDisplays.dll using a non-C++ compiler! Use a C++ compiler instead!
27# else
28# define SRAPI __declspec(dllimport)
29# endif
30#endif
31#else
32# define SRAPI
33#endif
34
36
46
53
60
67
74
83
92
101
111SRAPI char* getAdditionalSerialNumber(SR_switchableLensHintAdmin lensAdmin, unsigned char index);
112
113#ifdef WIN32
123SRAPI void getNewDeviceSerialNumbers(const char* serialNumbers, unsigned int timeBetweenChecks, bool* active);
124#endif
125
126#undef SRAPI
127
128#endif // DISPLAYS_ADMIN_C_H
void * SRContext
Definition: admin_c.h:15
SRAPI void enableDefaultSwitching(SR_switchableLensHintAdmin lensAdmin)
SRAPI void lensDisableHintAdmin(SR_switchableLensHintAdmin lensAdmin)
#define SRAPI
Definition: displays_admin_c.h:32
SRAPI char * getVersion(SR_switchableLensHintAdmin lensAdmin)
Get the Version info of the switchable lens.
SRAPI char * getAdditionalSerialNumber(SR_switchableLensHintAdmin lensAdmin, unsigned char index)
Get the Additional Serial Numbers of the switchable lens.
SRAPI void lensEnableHintAdmin(SR_switchableLensHintAdmin lensAdmin)
SRAPI void disableByForce(SR_switchableLensHintAdmin lensAdmin)
SRAPI void deleteSwitchableLensHintAdmin(SR_switchableLensHintAdmin lensAdmin)
Cleans up underlying object instances used to facilitate indicating lens switch admin features.
SRAPI char * getSerialNumber(SR_switchableLensHintAdmin lensAdmin)
Get the Serial Number of the switchable lens.
void * SR_screen
Definition: displays_admin_c.h:15
void * SR_switchableLensHintAdmin
Definition: displays_admin_c.h:35
SRAPI SR_switchableLensHintAdmin createSwitchableLensHintAdmin(SRContext context)
Creates a functional SwitchableLensHintAdmin instance.