- // sets the corresponding property (value is an object)
- virtual void SetPropertyAsObject(int objectId,
- const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
- int valueObjectId) ;
-
- // adds an element to a property collection
- virtual void AddToPropertyCollection( int objectID ,
- const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
- const wxxVariant &VariantValue) ;
-
- // sets the corresponding property (value is an object)
- virtual void AddToPropertyCollectionAsObject(int objectID,
- const wxClassInfo *classInfo,
- const wxPropertyInfo* propertyInfo ,
- int valueObjectId) ;
-
- // sets the corresponding event handler
- virtual void SetConnect(int eventSourceObjectID,
- const wxClassInfo *eventSourceClassInfo,
- const wxDelegateTypeInfo *delegateInfo ,
- const wxClassInfo *eventSinkClassInfo ,
- const wxHandlerInfo* handlerInfo ,
- int eventSinkObjectID ) ;
-};
-
-/*
-wxDepersisterCode implements the callbacks that will depersist
-an object into a C++ initialization function.
-*/
-
-class wxTextOutputStream ;
-
-class wxCodeDepersister : public wxDepersister
-{
-private :
- struct wxCodeDepersisterInternal ;
- wxCodeDepersisterInternal * m_data ;
- wxTextOutputStream *m_fp;
- wxString ValueAsCode( const wxxVariant ¶m ) ;
-public:
- wxCodeDepersister(wxTextOutputStream *out);
- virtual ~wxCodeDepersister();
-
- // allocate the new object on the heap, that object will have the passed in ID
- virtual void AllocateObject(int objectID, wxClassInfo *classInfo ,
- wxxVariantArray &metadata) ;
-
- // initialize the already allocated object having the ID objectID with the Create method
- // creation parameters which are objects are having their Ids passed in objectIDValues
- // having objectId <> wxInvalidObjectID
-
- virtual void CreateObject(int objectID,