AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIUiCommandManager.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIUiCommandManager_H_
4 #define _APIUiCommandManager_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIObject.h"
9 
10 namespace AnyCAD{ namespace API
11 {
12  class UiCommand;
13  class UiToolBar;
22  : public Object
23  {
25  public:
30  long GetUiCommandCount () const;
35  UiCommand GetUiCommand (int idx) const;
40  UiCommand FindUiCommand (const String& id) const;
45  long GetToolBarCount () const;
50  UiToolBar GetUiToolBar (int idx) const;
56  UiToolBar FindUiToolBar (const String& name) const;
61  bool LoadFromFile (const Path& fileName) ;
67  String Translate (const String& str) const;
73  void SetLocalString (const String& str, const String& local) ;
74  };//UiCommandManager;
75 }}//API
76 
77 #endif //_APIUiCommandManager_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
std::string String
Definition: APIString.h:10
Manage the command ui.
Definition: APIUiCommandManager.h:21
平台基类
Definition: APIObject.h:17
TODO:
Definition: APIPath.h:16
the base command ui description.
Definition: APIUiCommand.h:19
The ToolBar description.
Definition: APIUiToolBar.h:19
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33