- virtual void CreateObject(int ObjectID,
- const wxClassInfo *ClassInfo,
- int ParamCount,
- wxxVariant *VariantValues ,
- int *objectIDValues ,
- const wxClassInfo **objectClassInfos
- ) = 0;
-
- // destroy the heap-allocated object having the ID ObjectID, this may be used if an object
- // is embedded in another object and set via value semantics, so the intermediate
- // object can be destroyed after safely
- virtual void DestroyObject(int ObjectID, wxClassInfo *ClassInfo) = 0;
-
- // set the corresponding property
- virtual void SetProperty(int ObjectID,
- const wxClassInfo *ClassInfo,
- const wxPropertyInfo* PropertyInfo ,
- const wxxVariant &VariantValue) = 0;
-
- // sets the corresponding property (value is an object)
- virtual void SetPropertyAsObject(int ObjectId,
- const wxClassInfo *ClassInfo,
- const wxPropertyInfo* PropertyInfo ,
- int valueObjectId) = 0;
-
-
- // sets the corresponding event handler
- virtual void SetConnect(int EventSourceObjectID,
- const wxClassInfo *EventSourceClassInfo,
- const wxDelegateTypeInfo *delegateInfo ,
- const wxClassInfo *EventSinkClassInfo ,
- const wxHandlerInfo* handlerInfo ,
- int EventSinkObjectID ) = 0;
-};
-
-/*
-wxRuntimeDepersister implements the callbacks that will depersist
-an object into a running memory image, as opposed to writing
-C++ initialization code to bring the object to life.
-*/
-class wxRuntimeDepersister : public wxDepersister
-{
- struct wxRuntimeDepersisterInternal ;
- wxRuntimeDepersisterInternal * m_data ;
-public :
- wxRuntimeDepersister() ;
- ~wxRuntimeDepersister() ;
-
- // returns the object having the corresponding ID fully constructed
- wxObject *GetObject(int objectID) ;
-
- // allocate the new object on the heap, that object will have the passed in ID
- virtual void AllocateObject(int objectID, wxClassInfo *classInfo) ;