MidgardContentManager

MidgardContentManager

Synopsis

                    MidgardContentManager;
MidgardConnection * midgard_content_manager_get_connection
                                                        (MidgardContentManager *self,
                                                         GError **error);
MidgardContentManagerJob * midgard_content_manager_create_job
                                                        (MidgardContentManager *self,
                                                         MidgardContentManagerJobType type,
                                                         GObject *content,
                                                         MidgardObjectReference *reference,
                                                         MidgardModel *model,
                                                         GError **error);

Object Hierarchy

  GInterface
   +----MidgardContentManager

Prerequisites

MidgardContentManager requires GObject.

Description

Details

MidgardContentManager

typedef struct _MidgardContentManager MidgardContentManager;


midgard_content_manager_get_connection ()

MidgardConnection * midgard_content_manager_get_connection
                                                        (MidgardContentManager *self,
                                                         GError **error);

self :

MidgardContentManager instance

error :

pointer to store returned error

Returns :

MidgardConnection or NULL. [transfer full]

Since 12.09


midgard_content_manager_create_job ()

MidgardContentManagerJob * midgard_content_manager_create_job
                                                        (MidgardContentManager *self,
                                                         MidgardContentManagerJobType type,
                                                         GObject *content,
                                                         MidgardObjectReference *reference,
                                                         MidgardModel *model,
                                                         GError **error);

self :

MidgardContentManager instance

type :

MidgardContentManagerJobType

content :

GObject object which holds content data

reference :

MidgardObjectReference instance

model :

MidgardModel instance. [allow-none]

error :

pointer to store returned error

Returns :

MidgardContentManagerJob job or NULL on failure. [transfer full]

Since 12.09