ZifChangeset

ZifChangeset — ChangeLog data entry

Synopsis

#define             ZIF_CHANGESET_ERROR
struct              ZifChangeset;
struct              ZifChangesetClass;
ZifChangeset *      zif_changeset_new                   (void);
guint64             zif_changeset_get_date              (ZifChangeset *changeset);
const gchar *       zif_changeset_get_author            (ZifChangeset *changeset);
const gchar *       zif_changeset_get_description       (ZifChangeset *changeset);
const gchar *       zif_changeset_get_version           (ZifChangeset *changeset);

Object Hierarchy

  GObject
   +----ZifChangeset

Properties

  "author"                   gchar*                : Read
  "date"                     guint64               : Read
  "description"              gchar*                : Read
  "version"                  gchar*                : Read

Description

Details

ZIF_CHANGESET_ERROR

#define ZIF_CHANGESET_ERROR		(zif_changeset_error_quark ())


struct ZifChangeset

struct ZifChangeset;


struct ZifChangesetClass

struct ZifChangesetClass {
	GObjectClass		 parent_class;
	/* Padding for future expansion */
	void (*_zif_reserved1) (void);
	void (*_zif_reserved2) (void);
	void (*_zif_reserved3) (void);
	void (*_zif_reserved4) (void);
};


zif_changeset_new ()

ZifChangeset *      zif_changeset_new                   (void);

Returns :

A new ZifChangeset instance.

Since 0.1.0


zif_changeset_get_date ()

guint64             zif_changeset_get_date              (ZifChangeset *changeset);

Gets the date and date of the update.

changeset :

A ZifChangeset

Returns :

The date of the update, or 0 for unset.

Since 0.1.0


zif_changeset_get_author ()

const gchar *       zif_changeset_get_author            (ZifChangeset *changeset);

Gets the author for this changeset.

changeset :

A ZifChangeset

Returns :

A string value, or NULL.

Since 0.1.0


zif_changeset_get_description ()

const gchar *       zif_changeset_get_description       (ZifChangeset *changeset);

Gets the description for this changeset.

changeset :

A ZifChangeset

Returns :

A string value, or NULL.

Since 0.1.0


zif_changeset_get_version ()

const gchar *       zif_changeset_get_version           (ZifChangeset *changeset);

Gets the date this changeset was version.

changeset :

A ZifChangeset

Returns :

A string value, or NULL.

Since 0.1.0

Property Details

The "author" property

  "author"                   gchar*                : Read

Default value: NULL

Since 0.1.0


The "date" property

  "date"                     guint64               : Read

Default value: 0

Since 0.1.0


The "description" property

  "description"              gchar*                : Read

Default value: NULL

Since 0.1.0


The "version" property

  "version"                  gchar*                : Read

Default value: NULL

Since 0.1.0