31 #include "GFSDKExport.h"
51 const char *triggger_id;
55 using GFModuleAPIGetModuleGFSDKVersion =
auto (*)() ->
const char *;
57 using GFModuleAPIGetModuleQtEnvVersion =
auto (*)() ->
const char *;
59 using GFModuleAPIGetModuleID =
auto (*)() ->
const char *;
61 using GFModuleAPIGetModuleVersion =
auto (*)() ->
const char *;
65 using GFModuleAPIRegisterModule =
auto (*)() -> int;
67 using GFModuleAPIActivateModule =
auto (*)() -> int;
69 using GFModuleAPIExecuteModule =
auto (*)(
GFModuleEvent *) -> int;
71 using GFModuleAPIDeactivateModule =
auto (*)() -> int;
73 using GFModuleAPIUnregisterModule =
auto (*)() -> int;
75 void GPGFRONTEND_MODULE_SDK_EXPORT GFModuleListenEvent(
const char *module_id,
76 const char *event_id);
78 auto GPGFRONTEND_MODULE_SDK_EXPORT GFModuleRetrieveRTValueOrDefault(
79 const char *namespace_,
const char *key,
const char *default_value) ->
const
82 void GPGFRONTEND_MODULE_SDK_EXPORT GFModuleUpsertRTValue(
const char *namespace_,
86 void GPGFRONTEND_MODULE_SDK_EXPORT
87 GFModuleUpsertRTValueBool(
const char *namespace_,
const char *key,
int value);
89 auto GPGFRONTEND_MODULE_SDK_EXPORT GFModuleListRTChildKeys(
90 const char *namespace_,
const char *key,
char ***child_keys) -> int32_t;
92 void GPGFRONTEND_MODULE_SDK_EXPORT GFModuleTriggerModuleEventCallback(
93 GFModuleEvent *event,
const char *module_id,
int argc,
char **argv);
Definition: GFSDKModule.h:43
Definition: GFSDKModule.h:49