11 #ifndef __VOP_LanguageManager__
12 #define __VOP_LanguageManager__
24 class vop_DefinitionInfo;
46 bool isMantraVexFromRenderMask(
const char *mask )
const;
53 void getTypeDefinitionNames(
57 bool hasTypeDefinition(
const char *type_name )
const;
61 getTypeDefinitionHandle(
const char *type_name )
const;
65 getTypeDefinitionSource(
const char *type_name )
const;
77 void registerTypeDefinition(
const char *type_name,
79 const char * old_type_name = NULL );
84 void unregisterTypeDefinition(
const char *type_name );
91 void unregisterTypeDefinitionSource(
98 void dirtyTypeDefinition(
const char *type_name );
102 void generateUniqueTypeName(
UT_String &type_name,
111 typedef void (*EditCallback)(
const char *type_name);
115 void editType(
const char *type_name );
123 {
return myEventNotifier; }
128 void setDefinitionInfoSource(
129 vop_DefinitionInfo *info,
135 vop_DefinitionInfo* findDefinitionInfo(
const char *type_name )
const;
136 vop_DefinitionInfo* findOrCreateDefinitionInfo(
const char *type_name );
137 void removeDefinitionInfo(
const char *type_name );
172 const char *vop_type_name,
173 const char *new_vop_type_name = NULL );
179 const UT_String & getVopTypeName()
const;
180 const UT_String & getNewVopTypeName()
const;
Reprsents a language for which VOPs can generate source code.
A class describing notification events emitted by the language manager.
UT_NotifierImpl< const VOP_LanguageManagerEvent & > & getEventNotifier()
EventType
Defines the type of the events that can manager can send out.
A class for managing the languages and custom data types in VOPs.
A generic source of the vop (connector wire) type definitions.
VOP_API VOP_LanguageManager & VOPgetLanguageManager()
Obtains the manager for vop languages and their types.
void(* EditCallback)(const char *type_name)
For registering a GUI editor callback.
GLuint GLuint GLsizei GLenum type
A class for handling files and HDAs as sources of vop type definitions.
Represents a source of vop type definitions saved in files or inside HDAs.
UT_SharedPtr< const VOP_TypeDefinition > VOP_TypeDefinitionHandle
Define a handle for the type definition objects.