HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VOP_TypeDefinitionSource.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: VOP_TypeDefinitionSource.h ( VOP Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __VOP_TypeDefinitionSource__
12 #define __VOP_TypeDefinitionSource__
13 
14 #include "VOP_API.h"
15 #include "VOP_TypeDefinition.h" // for VOP_TypeDefinitionHandle
17 
18 
19 /// A generic source of the vop (connector wire) type definitions.
21 {
22 public:
23  /// Constructor and destructor.
25  virtual ~VOP_TypeDefinitionSource();
26 
27  /// Returns a type definition provided by this source.
29  getTypeDefinition( const char *type_name ) = 0;
30 
31  /// Returns the path indentifying the source.
32  /// Used for displaying in the default editor.
33  virtual void getSourcePath( UT_String &path ) const;
34 
35  /// Sets the manager in which this source has been registered as definition
36  /// provider.
37  void setRegisteredMgr( VOP_LanguageManager *mgr );
38 
39 private:
40  /// Manager in which this source has been registered to provide definitions.
41  VOP_LanguageManager * myRegisteredMgr;
42 };
43 
44 #endif
45 
GLsizei const GLchar *const * path
Definition: glcorearb.h:3340
A class for managing the languages and custom data types in VOPs.
A generic source of the vop (connector wire) type definitions.
#define VOP_API
Definition: VOP_API.h:10
UT_SharedPtr< const VOP_TypeDefinition > VOP_TypeDefinitionHandle
Define a handle for the type definition objects.