Top | ![]() |
![]() |
![]() |
![]() |
gchar * | architecture | Read / Write |
gint | dbid | Read / Write |
gchar * | environment | Read / Write |
gchar * | feed-url | Read / Write |
gint64 | install-time | Read / Write |
gboolean | installed | Read / Write |
GeeHashSet * | installed-items | Read |
AsComponent * | metainfo | Read / Write |
gchar * | origin | Read / Write |
gchar * | unique-name | Read / Write |
struct | ListallerDependency |
struct | ListallerDependencyClass |
enum | ListallerDepComponentError |
Contains a AsComponent which holds the actual information about the referenced component-dependency.
#define LISTALLER_TYPE_DEPENDENCY (listaller_dependency_get_type ())
The type for ListallerDependency.
gboolean listaller_dependency_load_xml_data (ListallerDependency *self
,const gchar *xmld
,GError **error
);
self |
the ListallerDependency instance |
|
xmld |
|
|
error |
location to store the error occuring, or |
gboolean listaller_dependency_load_from_file (ListallerDependency *self
,const gchar *fname
,gboolean include_optional
);
gboolean listaller_dependency_contains_directive (ListallerDependency *self
,const gchar *str
);
gchar * listaller_dependency_process_directives (ListallerDependency *self
,const gchar *directive_str
,GError **error
);
self |
the ListallerDependency instance |
|
directive_str |
|
|
error |
location to store the error occuring, or |
[error-domains ListallerDepComponentError] |
gchar * listaller_dependency_get_version (ListallerDependency *self
,GError **error
);
self |
the ListallerDependency instance |
|
error |
location to store the error occuring, or |
[error-domains ListallerDepComponentError] |
void listaller_dependency_set_version (ListallerDependency *self
,const gchar *new_version
);
gboolean listaller_dependency_has_item (ListallerDependency *self
,AsProvidesKind kind
,const gchar *val
);
gboolean listaller_dependency_has_matching_item (ListallerDependency *self
,AsProvidesKind kind
,const gchar *val
);
gboolean
listaller_dependency_has_items (ListallerDependency *self
);
gchar *
listaller_dependency_get_installed_items_as_string
(ListallerDependency *self
);
gboolean
listaller_dependency_has_installed_items
(ListallerDependency *self
);
gboolean
listaller_dependency_has_feed (ListallerDependency *self
);
gchar * listaller_dependency_get_install_dir_for_setting (ListallerDependency *self
,ListallerSetupSettings *setup_setting
);
Get installation directory for this module, using the SettupSettings taken as argument
gchar *
listaller_dependency_get_metadata_xml (ListallerDependency *self
);
gchar *
listaller_dependency_build_pk_package_id
(ListallerDependency *self
);
Generate a PackageKit package-id for this dependency information
gboolean
listaller_dependency_is_valid (ListallerDependency *self
);
AsComponent *
listaller_dependency_get_metainfo (ListallerDependency *self
);
Get and return the current value of the "metainfo" property.
const gchar *
listaller_dependency_get_unique_name (ListallerDependency *self
);
Get and return the current value of the "unique-name" property.
const gchar *
listaller_dependency_get_architecture (ListallerDependency *self
);
Get and return the current value of the "architecture" property.
gboolean
listaller_dependency_get_installed (ListallerDependency *self
);
Get and return the current value of the "installed" property.
void listaller_dependency_set_installed (ListallerDependency *self
,gboolean value
);
Set the value of the "installed" property to value
.
self |
the ListallerDependency instance to modify |
|
value |
the new value of the "installed" property |
const gchar *
listaller_dependency_get_origin (ListallerDependency *self
);
Get and return the current value of the "origin" property.
gint64
listaller_dependency_get_install_time (ListallerDependency *self
);
Get and return the current value of the "install-time" property.
const gchar *
listaller_dependency_get_environment (ListallerDependency *self
);
Get and return the current value of the "environment" property.
const gchar *
listaller_dependency_get_feed_url (ListallerDependency *self
);
Get and return the current value of the "feed-url" property.
GeeHashSet *
listaller_dependency_get_installed_items
(ListallerDependency *self
);
Get and return the current value of the "installed-items" property.
struct ListallerDependency;
Definition of a dependency of an application
Contains a AsComponent which holds the actual information about the referenced component-dependency.
struct ListallerDependencyClass { GObjectClass parent_class; };
The class structure for LISTALLER_TYPE_DEPENDENCY
. All the fields in this structure are private and should never be accessed directly.
“architecture”
property“architecture” gchar *
architecture.
Flags: Read / Write
Default value: NULL
“environment”
property“environment” gchar *
environment.
Flags: Read / Write
Default value: NULL
“install-time”
property “install-time” gint64
install-time.
Flags: Read / Write
Default value: 0
“unique-name”
property“unique-name” gchar *
unique-name.
Flags: Read / Write
Default value: NULL