ListallerIPKDependency

ListallerIPKDependency — Information about a shared resource

Synopsis

#define             LISTALLER_IPK_TYPE_DEPENDENCY
GeeHashSet *        listaller_ipk_dependency_get_installdata
                                                        (ListallerIPKDependency *self);
gchar *             listaller_ipk_dependency_get_installdata_as_string
                                                        (ListallerIPKDependency *self);
gboolean            listaller_ipk_dependency_has_installdata
                                                        (ListallerIPKDependency *self);
void                listaller_ipk_dependency_regenerate_depid
                                                        (ListallerIPKDependency *self);
void                listaller_ipk_dependency_add_component
                                                        (ListallerIPKDependency *self,
                                                         const gchar *cname,
                                                         ListallerDepComponentType tp);
void                listaller_ipk_dependency_add_component_list
                                                        (ListallerIPKDependency *self,
                                                         ListallerDepComponentType ty,
                                                         const gchar *list);
gboolean            listaller_ipk_dependency_has_component
                                                        (ListallerIPKDependency *self,
                                                         const gchar *cname,
                                                         ListallerDepComponentType tp);
gboolean            listaller_ipk_dependency_has_components
                                                        (ListallerIPKDependency *self);
gboolean            listaller_ipk_dependency_has_feed   (ListallerIPKDependency *self);
gchar *             listaller_ipk_dependency_get_install_dir_for_setting
                                                        (ListallerIPKDependency *self,
                                                         ListallerSetupSettings *setup_setting);
gchar *             listaller_ipk_dependency_build_pk_package_id
                                                        (ListallerIPKDependency *self);
const gchar *       listaller_ipk_dependency_get_full_name
                                                        (ListallerIPKDependency *self);
const gchar *       listaller_ipk_dependency_get_summary
                                                        (ListallerIPKDependency *self);
const gchar *       listaller_ipk_dependency_get_description
                                                        (ListallerIPKDependency *self);
const gchar *       listaller_ipk_dependency_get_homepage
                                                        (ListallerIPKDependency *self);
const gchar *       listaller_ipk_dependency_get_author (ListallerIPKDependency *self);
const gchar *       listaller_ipk_dependency_get_version
                                                        (ListallerIPKDependency *self);
const gchar *       listaller_ipk_dependency_get_origin (ListallerIPKDependency *self);
gboolean            listaller_ipk_dependency_get_satisfied
                                                        (ListallerIPKDependency *self);
void                listaller_ipk_dependency_set_satisfied
                                                        (ListallerIPKDependency *self,
                                                         gboolean value);
const gchar *       listaller_ipk_dependency_get_architecture
                                                        (ListallerIPKDependency *self);
gboolean            listaller_ipk_dependency_get_is_standardlib
                                                        (ListallerIPKDependency *self);
const gchar *       listaller_ipk_dependency_get_feed_url
                                                        (ListallerIPKDependency *self);
gint64              listaller_ipk_dependency_get_install_time
                                                        (ListallerIPKDependency *self);
const gchar *       listaller_ipk_dependency_get_environment
                                                        (ListallerIPKDependency *self);
const gchar *       listaller_ipk_dependency_get_idname (ListallerIPKDependency *self);
void                listaller_ipk_dependency_set_idname (ListallerIPKDependency *self,
                                                         const gchar *value);
GeeHashSet *        listaller_ipk_dependency_get_raw_complist
                                                        (ListallerIPKDependency *self);
gchar *             listaller_ipk_dependency_component_get_name
                                                        (const gchar *cidname);
ListallerDepComponentType listaller_ipk_dependency_component_get_type
                                                        (const gchar *cidname);
struct              ListallerIPKDependency;
struct              ListallerIPKDependencyClass;
enum                ListallerDepComponentType;

Object Hierarchy

  GObject
   +----ListallerIPKDependency
  GEnum
   +----ListallerDepComponentType

Properties

  "architecture"             gchar*                : Read / Write
  "author"                   gchar*                : Read / Write
  "description"              gchar*                : Read / Write
  "environment"              gchar*                : Read / Write
  "feed-url"                 gchar*                : Read / Write
  "full-name"                gchar*                : Read / Write
  "homepage"                 gchar*                : Read / Write
  "idname"                   gchar*                : Read / Write
  "install-time"             gint64                : Read / Write
  "is-standardlib"           gboolean              : Read / Write
  "origin"                   gchar*                : Read / Write
  "raw-complist"             GeeHashSet*           : Read
  "satisfied"                gboolean              : Read / Write
  "summary"                  gchar*                : Read / Write
  "version"                  gchar*                : Read / Write

Description

Dependency objects carry.metainfo.mation about shared resources or external requirements which many applications might need. Dependencies can be satisfied using native distro packages (installed by PackageKit) or by using some other methods, for example installing a feed. A Dependency object carries all information which caracterizes a dependency and it's state.

Details

LISTALLER_IPK_TYPE_DEPENDENCY

#define LISTALLER_IPK_TYPE_DEPENDENCY (listaller_ipk_dependency_get_type ())

The type for ListallerIPKDependency.


listaller_ipk_dependency_get_installdata ()

GeeHashSet *        listaller_ipk_dependency_get_installdata
                                                        (ListallerIPKDependency *self);

self :

the ListallerIPKDependency instance

listaller_ipk_dependency_get_installdata_as_string ()

gchar *             listaller_ipk_dependency_get_installdata_as_string
                                                        (ListallerIPKDependency *self);

self :

the ListallerIPKDependency instance

listaller_ipk_dependency_has_installdata ()

gboolean            listaller_ipk_dependency_has_installdata
                                                        (ListallerIPKDependency *self);

self :

the ListallerIPKDependency instance

listaller_ipk_dependency_regenerate_depid ()

void                listaller_ipk_dependency_regenerate_depid
                                                        (ListallerIPKDependency *self);

self :

the ListallerIPKDependency instance

listaller_ipk_dependency_add_component ()

void                listaller_ipk_dependency_add_component
                                                        (ListallerIPKDependency *self,
                                                         const gchar *cname,
                                                         ListallerDepComponentType tp);

self :

the ListallerIPKDependency instance

listaller_ipk_dependency_add_component_list ()

void                listaller_ipk_dependency_add_component_list
                                                        (ListallerIPKDependency *self,
                                                         ListallerDepComponentType ty,
                                                         const gchar *list);

self :

the ListallerIPKDependency instance

listaller_ipk_dependency_has_component ()

gboolean            listaller_ipk_dependency_has_component
                                                        (ListallerIPKDependency *self,
                                                         const gchar *cname,
                                                         ListallerDepComponentType tp);

self :

the ListallerIPKDependency instance

listaller_ipk_dependency_has_components ()

gboolean            listaller_ipk_dependency_has_components
                                                        (ListallerIPKDependency *self);

self :

the ListallerIPKDependency instance

listaller_ipk_dependency_has_feed ()

gboolean            listaller_ipk_dependency_has_feed   (ListallerIPKDependency *self);

self :

the ListallerIPKDependency instance

listaller_ipk_dependency_get_install_dir_for_setting ()

gchar *             listaller_ipk_dependency_get_install_dir_for_setting
                                                        (ListallerIPKDependency *self,
                                                         ListallerSetupSettings *setup_setting);

self :

the ListallerIPKDependency instance

listaller_ipk_dependency_build_pk_package_id ()

gchar *             listaller_ipk_dependency_build_pk_package_id
                                                        (ListallerIPKDependency *self);

Generate a PackageKit package-id for this dependency.metainfo.mation

self :

the ListallerIPKDependency instance

listaller_ipk_dependency_get_full_name ()

const gchar *       listaller_ipk_dependency_get_full_name
                                                        (ListallerIPKDependency *self);

Get and return the current value of the "full-name" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "full-name" property

listaller_ipk_dependency_get_summary ()

const gchar *       listaller_ipk_dependency_get_summary
                                                        (ListallerIPKDependency *self);

Get and return the current value of the "summary" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "summary" property

listaller_ipk_dependency_get_description ()

const gchar *       listaller_ipk_dependency_get_description
                                                        (ListallerIPKDependency *self);

Get and return the current value of the "description" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "description" property

listaller_ipk_dependency_get_homepage ()

const gchar *       listaller_ipk_dependency_get_homepage
                                                        (ListallerIPKDependency *self);

Get and return the current value of the "homepage" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "homepage" property

listaller_ipk_dependency_get_author ()

const gchar *       listaller_ipk_dependency_get_author (ListallerIPKDependency *self);

Get and return the current value of the "author" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "author" property

listaller_ipk_dependency_get_version ()

const gchar *       listaller_ipk_dependency_get_version
                                                        (ListallerIPKDependency *self);

Get and return the current value of the "version" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "version" property

listaller_ipk_dependency_get_origin ()

const gchar *       listaller_ipk_dependency_get_origin (ListallerIPKDependency *self);

Get and return the current value of the "origin" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "origin" property

listaller_ipk_dependency_get_satisfied ()

gboolean            listaller_ipk_dependency_get_satisfied
                                                        (ListallerIPKDependency *self);

Get and return the current value of the "satisfied" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "satisfied" property

listaller_ipk_dependency_set_satisfied ()

void                listaller_ipk_dependency_set_satisfied
                                                        (ListallerIPKDependency *self,
                                                         gboolean value);

Set the value of the "satisfied" property to value.

self :

the ListallerIPKDependency instance to modify

value :

the new value of the "satisfied" property

listaller_ipk_dependency_get_architecture ()

const gchar *       listaller_ipk_dependency_get_architecture
                                                        (ListallerIPKDependency *self);

Get and return the current value of the "architecture" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "architecture" property

listaller_ipk_dependency_get_is_standardlib ()

gboolean            listaller_ipk_dependency_get_is_standardlib
                                                        (ListallerIPKDependency *self);

Get and return the current value of the "is-standardlib" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "is-standardlib" property

listaller_ipk_dependency_get_feed_url ()

const gchar *       listaller_ipk_dependency_get_feed_url
                                                        (ListallerIPKDependency *self);

Get and return the current value of the "feed-url" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "feed-url" property

listaller_ipk_dependency_get_install_time ()

gint64              listaller_ipk_dependency_get_install_time
                                                        (ListallerIPKDependency *self);

Get and return the current value of the "install-time" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "install-time" property

listaller_ipk_dependency_get_environment ()

const gchar *       listaller_ipk_dependency_get_environment
                                                        (ListallerIPKDependency *self);

Get and return the current value of the "environment" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "environment" property

listaller_ipk_dependency_get_idname ()

const gchar *       listaller_ipk_dependency_get_idname (ListallerIPKDependency *self);

Get and return the current value of the "idname" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "idname" property

listaller_ipk_dependency_set_idname ()

void                listaller_ipk_dependency_set_idname (ListallerIPKDependency *self,
                                                         const gchar *value);

Set the value of the "idname" property to value.

self :

the ListallerIPKDependency instance to modify

value :

the new value of the "idname" property

listaller_ipk_dependency_get_raw_complist ()

GeeHashSet *        listaller_ipk_dependency_get_raw_complist
                                                        (ListallerIPKDependency *self);

Get and return the current value of the "raw-complist" property.

self :

the ListallerIPKDependency instance to query

Returns :

the value of the "raw-complist" property

listaller_ipk_dependency_component_get_name ()

gchar *             listaller_ipk_dependency_component_get_name
                                                        (const gchar *cidname);

listaller_ipk_dependency_component_get_type ()

ListallerDepComponentType listaller_ipk_dependency_component_get_type
                                                        (const gchar *cidname);

struct ListallerIPKDependency

struct ListallerIPKDependency;

Information about a shared resource

Dependency objects carry.metainfo.mation about shared resources or external requirements which many applications might need. Dependencies can be satisfied using native distro packages (installed by PackageKit) or by using some other methods, for example installing a feed. A Dependency object carries all information which caracterizes a dependency and it's state.


struct ListallerIPKDependencyClass

struct ListallerIPKDependencyClass {
	GObjectClass parent_class;
};

The class structure for LISTALLER_IPK_TYPE_DEPENDENCY. All the fields in this structure are private and should never be accessed directly.

GObjectClass parent_class;

the parent class structure

enum ListallerDepComponentType

typedef enum {
	LISTALLER_DEP_COMPONENT_TYPE_SHARED_LIB,
	LISTALLER_DEP_COMPONENT_TYPE_BINARY,
	LISTALLER_DEP_COMPONENT_TYPE_PYTHON,
	LISTALLER_DEP_COMPONENT_TYPE_PYTHON_2,
	LISTALLER_DEP_COMPONENT_TYPE_FILE,
	LISTALLER_DEP_COMPONENT_TYPE_UNKNOWN
} ListallerDepComponentType;

Property Details

The "architecture" property

  "architecture"             gchar*                : Read / Write

architecture.

Default value: NULL


The "author" property

  "author"                   gchar*                : Read / Write

author.

Default value: NULL


The "description" property

  "description"              gchar*                : Read / Write

description.

Default value: NULL


The "environment" property

  "environment"              gchar*                : Read / Write

environment.

Default value: NULL


The "feed-url" property

  "feed-url"                 gchar*                : Read / Write

feed-url.

Default value: NULL


The "full-name" property

  "full-name"                gchar*                : Read / Write

full-name.

Default value: NULL


The "homepage" property

  "homepage"                 gchar*                : Read / Write

homepage.

Default value: NULL


The "idname" property

  "idname"                   gchar*                : Read / Write

idname.

Default value: NULL


The "install-time" property

  "install-time"             gint64                : Read / Write

install-time.

Default value: 0


The "is-standardlib" property

  "is-standardlib"           gboolean              : Read / Write

Whether this dependency is always satisfied (by default), set by distribution maintainers

Default value: FALSE


The "origin" property

  "origin"                   gchar*                : Read / Write

origin.

Default value: NULL


The "raw-complist" property

  "raw-complist"             GeeHashSet*           : Read

raw-complist.


The "satisfied" property

  "satisfied"                gboolean              : Read / Write

satisfied.

Default value: FALSE


The "summary" property

  "summary"                  gchar*                : Read / Write

summary.

Default value: NULL


The "version" property

  "version"                  gchar*                : Read / Write

version.

Default value: NULL