NEMeeting SDK
callback_interface.h
浏览该文件的文档.
1 
9 #ifndef NEM_SDK_INTERFACE_CALLBACK_CALLBACK_INTERFACE_H_
10 #define NEM_SDK_INTERFACE_CALLBACK_CALLBACK_INTERFACE_H_
11 
13 #include "build_config.h"
14 
15 #include <functional>
16 #include <string>
17 #include "error.h"
18 
20 
21 template<class... TResultParam>
22 using NECallback = std::function<void(NEErrorCode, const std::string&, const TResultParam&...)>;
23 
25 
27 #endif//NEM_SDK_INTERFACE_CALLBACK_CALLBACK_INTERFACE_H_
编译配置头文件
#define NNEM_SDK_INTERFACE_BEGIN_DECLS
Definition: build_config.h:12
#define NNEM_SDK_INTERFACE_END_DECLS
Definition: build_config.h:13
错误码头文件
NECallback<> NEEmptyCallback
NEErrorCode
错误枚举
Definition: error.h:20
std::function< void(NEErrorCode, const std::string &, const TResultParam &...)> NECallback
库导入导出定义头文件