NEMeetingKit
V4.9.0
载入中...
搜索中...
未找到
nem_sdk_interface
kit_define_callback.h
浏览该文件的文档.
1
// Copyright (c) 2022 NetEase, Inc. All rights reserved.
2
// Use of this source code is governed by a MIT license that can be
3
// found in the LICENSE file.
4
13
#ifndef NEM_SDK_INTERFACE_CALLBACK_CALLBACK_INTERFACE_H_
14
#define NEM_SDK_INTERFACE_CALLBACK_CALLBACK_INTERFACE_H_
15
16
#include <functional>
17
#include <string>
18
#include "
build_config.h
"
19
#include "
kit_define_error.h
"
20
#include "
kit_interface_export.h
"
21
22
NNEM_SDK_INTERFACE_BEGIN_DECLS
23
24
template
<
class
... TResultParam>
25
using
NECallback
= std::function<void(
MeetingErrorCode
,
const
std::string&,
const
TResultParam&...)>;
26
27
using
NEEmptyCallback
=
NECallback<>
;
28
29
NNEM_SDK_INTERFACE_END_DECLS
30
#endif
// NEM_SDK_INTERFACE_CALLBACK_CALLBACK_INTERFACE_H_
build_config.h
编译配置头文件
NNEM_SDK_INTERFACE_BEGIN_DECLS
#define NNEM_SDK_INTERFACE_BEGIN_DECLS
定义
build_config.h:16
NNEM_SDK_INTERFACE_END_DECLS
#define NNEM_SDK_INTERFACE_END_DECLS
定义
build_config.h:17
NEEmptyCallback
NECallback<> NEEmptyCallback
定义
kit_define_callback.h:27
NECallback
std::function< void(MeetingErrorCode, const std::string &, const TResultParam &...)> NECallback
定义
kit_define_callback.h:25
kit_define_error.h
错误码头文件
MeetingErrorCode
MeetingErrorCode
错误枚举
定义
kit_define_error.h:23
kit_interface_export.h
库导入导出定义头文件
制作者
1.11.0