adapted to latest changes in gwen, more work on data and nodes servers.
This commit is contained in:
@@ -17,6 +17,31 @@
|
||||
#include <gwenhywfar/buffer.h>
|
||||
|
||||
|
||||
enum {
|
||||
AQH_ValueType_Unknown=0,
|
||||
AQH_ValueType_Sensor,
|
||||
AQH_ValueType_Actor
|
||||
};
|
||||
|
||||
|
||||
enum {
|
||||
AQH_ValueDataType_Unknown=0,
|
||||
AQH_ValueDataType_Int,
|
||||
AQH_ValueDataType_Dword,
|
||||
AQH_ValueDataType_Rational
|
||||
};
|
||||
|
||||
|
||||
enum {
|
||||
AQH_ValueModality_Unknown=0,
|
||||
AQH_ValueModality_Temperature,
|
||||
AQH_ValueModality_Humidity,
|
||||
AQH_ValueModality_Door,
|
||||
AQH_ValueModality_RGB,
|
||||
AQH_ValueModality_RGBW
|
||||
};
|
||||
|
||||
|
||||
|
||||
AQHOME_API int AQH_Init(void);
|
||||
AQHOME_API void AQH_Fini(void);
|
||||
@@ -39,6 +64,15 @@ AQHOME_API GWEN_STRINGLIST *AQH_GetGlobalDataDirs(void);
|
||||
AQHOME_API GWEN_STRINGLIST *AQH_GetGlobalSysconfDirs(void);
|
||||
|
||||
|
||||
AQHOME_API int AQH_ValueType_fromString(const char *s);
|
||||
AQHOME_API const char *AQH_ValueType_toString(int i);
|
||||
|
||||
AQHOME_API int AQH_ValueDataType_fromString(const char *s);
|
||||
AQHOME_API const char *AQH_ValueDataType_toString(int i);
|
||||
|
||||
AQHOME_API int AQH_ValueModality_fromString(const char *s);
|
||||
AQHOME_API const char *AQH_ValueModality_toString(int i);
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user