Top |
RygelUpdatableObjectRygelUpdatableObject — This interface should be implemented by 'updatable' objects - ones that allow modifying their own metadata in some persistent storage. |
Functions
rygel_updatable_object_commit ()
void rygel_updatable_object_commit (RygelUpdatableObject *self
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
Commit changes in MediaObject to persistent storage.
This is called after properties are changed. This happens when e.g. UpdateObject was called on this object.
See also: rygel_updatable_object_commit_finish()
Parameters
self |
the RygelUpdatableObject instance |
|
_callback_ |
callback to call when the request is satisfied. |
[scope async] |
_user_data_ |
the data to pass to |
[closure] |
rygel_updatable_object_commit_finish ()
void rygel_updatable_object_commit_finish (RygelUpdatableObject *self
,GAsyncResult *_res_
,GError **error
);
Commit changes in MediaObject to persistent storage.
This is called after properties are changed. This happens when e.g. UpdateObject was called on this object.
See also: rygel_updatable_object_commit()
Parameters
self |
the RygelUpdatableObject instance |
|
_res_ |
||
error |
location to store the error occuring, or |
Types and Values
RygelUpdatableObject
typedef struct _RygelUpdatableObject RygelUpdatableObject;
This interface should be implemented by 'updatable' objects - ones that allow modifying their own metadata in some persistent storage.
struct RygelUpdatableObjectIface
struct RygelUpdatableObjectIface { GTypeInterface parent_iface; void (*commit) (RygelUpdatableObject* self, GAsyncReadyCallback _callback_, gpointer _user_data_); void (*commit_finish) (RygelUpdatableObject* self, GAsyncResult* _res_, GError** error); };
Interface for creating RygelUpdatableObject implementations.
Members
GTypeInterface |
the parent interface structure |
|
virtual method called by |
||
asynchronous finish function for |