15 #ifndef __BM_ResourceManager_H__
16 #define __BM_ResourceManager_H__
28 class BM_OpHandleLink;
29 class BM_SceneManager;
34 typedef BM_Handle *(*BM_HandleConstructor)(BM_SceneManager &,
36 typedef BM_OpHandleLink *(*BM_PIConstructor)(BM_SceneManager &,
46 BM_SceneManager *scene = 0)
const;
50 BM_SceneManager *scene = 0)
const;
53 BM_SceneManager *scene = 0)
const;
56 const char *name)
const;
60 const char *description)
const;
62 const char *name)
const;
65 void deleteHandle(BM_Handle *
handle);
67 void deleteOpHandleLink(BM_OpHandleLink *link);
75 bool open_only =
false)
const override;
81 static void lookupVolatileKeys(
const char *volatile_hotkey_name,
86 virtual void onPIDescriptionChange(BM_OpHandleLink
const&,
const char* old_description);
89 virtual void onPIPersistentChange(BM_OpHandleLink
const&,
bool old_state);
92 virtual void addPIProxyIndex(BM_OpHandleLink
const&);
100 virtual int queryPIProxyIndex(BM_SceneManager
const& scene_manager,
char const* pi_name,
101 bool pi_persistent =
true);
112 class NewStateHUDQueue;
#define SYS_VISIBILITY_EXPORT
static void stopParmsCache()
virtual void removePISettingsFromTables(OP_Operator &op_type)
static void startParmsCache()
SYS_VISIBILITY_EXPORT void newOpHandleLink(BM_ResourceManager *m)
virtual void updateViewports(int id, const char *opname, bool open_only=false) const
GLuint const GLchar * name
BM_API BM_ResourceManager * BMgetResourceManager()
SYS_VISIBILITY_EXPORT void newSelector(BM_ResourceManager *m)
virtual void findVolatileKeys(const char *volatile_hotkey_name, UT_Array< int > &volatile_keys, UT_Array< int > &keys_modifiers) const
SYS_VISIBILITY_EXPORT void newModelState(BM_ResourceManager *m)
SYS_VISIBILITY_EXPORT void newOpHandleBinding(BM_ResourceManager *m)
**If you just want to fire and args
SYS_VISIBILITY_EXPORT void newHandle(BM_ResourceManager *m)