![]() |
![]() |
![]() |
Listaller Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#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;
"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
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.
#define LISTALLER_IPK_TYPE_DEPENDENCY (listaller_ipk_dependency_get_type ())
The type for ListallerIPKDependency.
GeeHashSet * listaller_ipk_dependency_get_installdata
(ListallerIPKDependency *self
);
|
the ListallerIPKDependency instance |
gchar * listaller_ipk_dependency_get_installdata_as_string
(ListallerIPKDependency *self
);
|
the ListallerIPKDependency instance |
gboolean listaller_ipk_dependency_has_installdata
(ListallerIPKDependency *self
);
|
the ListallerIPKDependency instance |
void listaller_ipk_dependency_regenerate_depid
(ListallerIPKDependency *self
);
|
the ListallerIPKDependency instance |
void listaller_ipk_dependency_add_component (ListallerIPKDependency *self
,const gchar *cname
,ListallerDepComponentType tp
);
|
the ListallerIPKDependency instance |
void listaller_ipk_dependency_add_component_list (ListallerIPKDependency *self
,ListallerDepComponentType ty
,const gchar *list
);
|
the ListallerIPKDependency instance |
gboolean listaller_ipk_dependency_has_component (ListallerIPKDependency *self
,const gchar *cname
,ListallerDepComponentType tp
);
|
the ListallerIPKDependency instance |
gboolean listaller_ipk_dependency_has_components
(ListallerIPKDependency *self
);
|
the ListallerIPKDependency instance |
gboolean listaller_ipk_dependency_has_feed (ListallerIPKDependency *self
);
|
the ListallerIPKDependency instance |
gchar * listaller_ipk_dependency_get_install_dir_for_setting (ListallerIPKDependency *self
,ListallerSetupSettings *setup_setting
);
|
the ListallerIPKDependency instance |
gchar * listaller_ipk_dependency_build_pk_package_id
(ListallerIPKDependency *self
);
Generate a PackageKit package-id for this dependency.metainfo.mation
|
the ListallerIPKDependency instance |
const gchar * listaller_ipk_dependency_get_full_name
(ListallerIPKDependency *self
);
Get and return the current value of the "full-name" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "full-name" property |
const gchar * listaller_ipk_dependency_get_summary
(ListallerIPKDependency *self
);
Get and return the current value of the "summary" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "summary" property |
const gchar * listaller_ipk_dependency_get_description
(ListallerIPKDependency *self
);
Get and return the current value of the "description" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "description" property |
const gchar * listaller_ipk_dependency_get_homepage
(ListallerIPKDependency *self
);
Get and return the current value of the "homepage" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "homepage" property |
const gchar * listaller_ipk_dependency_get_author (ListallerIPKDependency *self
);
Get and return the current value of the "author" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "author" property |
const gchar * listaller_ipk_dependency_get_version
(ListallerIPKDependency *self
);
Get and return the current value of the "version" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "version" property |
const gchar * listaller_ipk_dependency_get_origin (ListallerIPKDependency *self
);
Get and return the current value of the "origin" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "origin" property |
gboolean listaller_ipk_dependency_get_satisfied
(ListallerIPKDependency *self
);
Get and return the current value of the "satisfied" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "satisfied" property |
void listaller_ipk_dependency_set_satisfied (ListallerIPKDependency *self
,gboolean value
);
Set the value of the "satisfied" property to value
.
|
the ListallerIPKDependency instance to modify |
|
the new value of the "satisfied" property |
const gchar * listaller_ipk_dependency_get_architecture
(ListallerIPKDependency *self
);
Get and return the current value of the "architecture" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "architecture" property |
gboolean listaller_ipk_dependency_get_is_standardlib
(ListallerIPKDependency *self
);
Get and return the current value of the "is-standardlib" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "is-standardlib" property |
const gchar * listaller_ipk_dependency_get_feed_url
(ListallerIPKDependency *self
);
Get and return the current value of the "feed-url" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "feed-url" property |
gint64 listaller_ipk_dependency_get_install_time
(ListallerIPKDependency *self
);
Get and return the current value of the "install-time" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "install-time" property |
const gchar * listaller_ipk_dependency_get_environment
(ListallerIPKDependency *self
);
Get and return the current value of the "environment" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "environment" property |
const gchar * listaller_ipk_dependency_get_idname (ListallerIPKDependency *self
);
Get and return the current value of the "idname" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "idname" property |
void listaller_ipk_dependency_set_idname (ListallerIPKDependency *self
,const gchar *value
);
Set the value of the "idname" property to value
.
|
the ListallerIPKDependency instance to modify |
|
the new value of the "idname" property |
GeeHashSet * listaller_ipk_dependency_get_raw_complist
(ListallerIPKDependency *self
);
Get and return the current value of the "raw-complist" property.
|
the ListallerIPKDependency instance to query |
Returns : |
the value of the "raw-complist" property |
gchar * listaller_ipk_dependency_component_get_name
(const gchar *cidname
);
ListallerDepComponentType listaller_ipk_dependency_component_get_type
(const gchar *cidname
);
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 { 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 |
the parent class structure |
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;
"is-standardlib"
property"is-standardlib" gboolean : Read / Write
Whether this dependency is always satisfied (by default), set by distribution maintainers
Default value: FALSE