![]() |
![]() |
![]() |
Libmatecomponent Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
struct MateComponentPersist; MateComponentPersistClass; MateComponent_Persist_ContentTypeList * matecomponent_persist_generate_content_types (int num
,...
); MateComponentPersist * matecomponent_persist_construct (MateComponentPersist *persist
,const gchar *iid
); void matecomponent_persist_set_dirty (MateComponentPersist *persist
,gboolean dirty
);
GObject +----MateComponentObject +----MateComponentPersist +----MateComponentPersistStream +----MateComponentPersistFile
MateComponentPersist is an abstract base class that is useless by itself. It implements some methods to handle content type querying for use by the derived MateComponentPersistStream interface.
typedef struct { MateComponentObjectClass parent_class; POA_MateComponent_Persist__epv epv; MateComponent_Persist_ContentTypeList * (*get_content_types) (MateComponentPersist *persist, CORBA_Environment *ev); } MateComponentPersistClass;
MateComponent_Persist_ContentTypeList * matecomponent_persist_generate_content_types (int num
,...
);
|
the number of content types specified |
|
the content types (as strings) |
Returns : |
a ContentTypeList containing the given ContentTypes |
MateComponentPersist * matecomponent_persist_construct (MateComponentPersist *persist
,const gchar *iid
);
Initializes the MateComponentPersist object. You should only use this method in derived implementations, because a MateComponentPersist instance doesn't make a lot of sense, but the iid private field has to be set at construction time.
|
A MateComponentPersist |
|
OAF IID of the object this interface is aggregated to |
Returns : |
the MateComponentPersist. |
void matecomponent_persist_set_dirty (MateComponentPersist *persist
,gboolean dirty
);
Sets the dirty status of the interface which is reported via the isDirty method.
|
A MateComponentPersist |
|
A flag indicating the dirty status of this object. |