AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APICommandManager.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APICommandManager_H_
4 #define _APICommandManager_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class View;
11  class Command;
20  {
22  public:
28  bool RegisterCommand (const Command& command) ;
34  Command FindCommand (const String& name) ;
41  int GetCommandStatus (const String& command, const View& view) ;
42  };//CommandManager;
43 }}//API
44 
45 #endif //_APICommandManager_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
std::string String
Definition: APIString.h:10
Present the view.
Definition: APIView.h:24
命令的基类。
Definition: APICommand.h:19
命令管理器
Definition: APICommandManager.h:19
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10