Scopira
20080306
|
#include <register.h>
Public Member Functions | |
register_view (const char *fullname, const char *model_type, const char *menu_name, int vgmask=default_uimode_c) | |
ctor, null parent_name means "top level object" (ie from tool::object) More... | |
![]() | |
register_flow (const char *fullname) | |
ctor, yes, just plain char * | |
register_flow (const char *fullname, int dummy) | |
version that has a NULL loader | |
Registers object in a run time type tree, that is a "model". In addition to what register_object does, this makes the class decent from the model base class and stores any additional model specific info.
There is no additional model specific info, yet.
|
inline |
ctor, null parent_name means "top level object" (ie from tool::object)
Constructor.
fullname is the full name of the class that is being registered, this is usually the full c++ name. model_type is the full name of the model to be associated with this view. menu_name is the name in the popup menu. Slashes denote sub menus ("blah/View" for example) vgmask is a bitmask of flags and options
References scopira::core::link_view_imp().