diff options
Diffstat (limited to 'src/sdk/GFSDKUI.h')
-rw-r--r-- | src/sdk/GFSDKUI.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/sdk/GFSDKUI.h b/src/sdk/GFSDKUI.h index 0702632a..ba9a3490 100644 --- a/src/sdk/GFSDKUI.h +++ b/src/sdk/GFSDKUI.h @@ -26,4 +26,21 @@ * */ -#pragma once
\ No newline at end of file +#pragma once + +#include "GFSDKExport.h" + +extern "C" { + +using EntryFactory = void* (*)(const char*); + +struct MetaData { + const char* key; + const char* value; +}; + +auto GPGFRONTEND_MODULE_SDK_EXPORT GFUIMountEntry(const char* id, + MetaData** meta_data_array, + int meta_data_array_size, + EntryFactory factory) -> int; +}
\ No newline at end of file |