NERoom SDK V1.36.0
载入中...
搜索中...
未找到
base_ctrl_interface.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
11#ifndef BASE_CTRL_INTERFACE_H
12#define BASE_CTRL_INTERFACE_H
13
14#include <string>
15
16namespace neroom {
17
22public:
26 INEBaseController() = default;
27
31 virtual ~INEBaseController() = default;
32
37 virtual bool isSupported() const = 0;
38};
39
44public:
48 virtual ~INEWhiteboardBaseView() = default;
49 ;
55 virtual void onAuth(const std::string& webScript) { (void)webScript; };
61 virtual void onLogout(const std::string& webScript) { (void)webScript; };
67 virtual void onDrawEnableChanged(const std::string& webScript) { (void)webScript; };
73 virtual void onToolConfigChanged(const std::string& webScript) { (void)webScript; };
79 virtual void onLogin(const std::string& webScript) { (void)webScript; }
80};
81
82} // namespace neroom
83#endif // BASE_CTRL_INTERFACE_H
virtual bool isSupported() const =0
功能是否支持
virtual ~INEBaseController()=default
析构函数
INEBaseController()=default
构造函数
virtual ~INEWhiteboardBaseView()=default
析构函数
virtual void onToolConfigChanged(const std::string &webScript)
白板工具栏变更事件
virtual void onDrawEnableChanged(const std::string &webScript)
白板绘制属性变更事件
virtual void onLogout(const std::string &webScript)
登出事件
virtual void onAuth(const std::string &webScript)
身份认证事件
virtual void onLogin(const std::string &webScript)
登录事件