Move senseApi libs into their own outer subdir
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#ifndef HK_PREPROCESSOR_H
|
||||
#define HK_PREPROCESSOR_H
|
||||
|
||||
#define HK_Q(x) #x
|
||||
#define HK_QUOTE(x) HK_Q(x)
|
||||
|
||||
#define HK_UNMANGLED "C"
|
||||
|
||||
#endif // HK_PREPROCESSOR_H
|
||||
@@ -1,7 +1,11 @@
|
||||
#ifndef __USER_SENSE_API_LIB_H__
|
||||
#define __USER_SENSE_API_LIB_H__
|
||||
|
||||
#define HK_SENSE_API_DESC_GETTER_FN_NAME "getSenseApiDescriptor"
|
||||
#include <preprocessor.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Exported by all sense API Libraries to tell Harikoff what API the lib uses
|
||||
* to connect to providers; and also to state which implexor APIs it exports.
|
||||
@@ -21,4 +25,14 @@ struct CSenseApiDesc
|
||||
CExportedImplexorApiDesc *exportedImplexorApis;
|
||||
};
|
||||
|
||||
#define HK_GET_SENSE_API_DESC_FN_NAME getSenseApiDesc
|
||||
#define HK_GET_SENSE_API_DESC_FN_NAME_STR \
|
||||
HK_QUOTE(HK_GET_SENSE_API_DESC_FN_NAME)
|
||||
|
||||
typedef const CSenseApiDesc *(getSenseApiDescFn)(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // __USER_SENSE_API_LIB_H__
|
||||
|
||||
Reference in New Issue
Block a user