AsDistroDetails

AsDistroDetails — Get details about the AppStream settings for the current distribution

Synopsis

#define             AS_TYPE_DISTRO_DETAILS
gchar **            as_distro_details_get_icon_repository_paths
                                                        (AsDistroDetails *self);
gchar *             as_distro_details_config_distro_get_str
                                                        (AsDistroDetails *self,
                                                         const gchar *key);
gboolean            as_distro_details_config_distro_get_bool
                                                        (AsDistroDetails *self,
                                                         const gchar *key);
AsDistroDetails *   as_distro_details_new               (void);
const gchar *       as_distro_details_get_distro_id     (AsDistroDetails *self);
const gchar *       as_distro_details_get_distro_name   (AsDistroDetails *self);
const gchar *       as_distro_details_get_distro_version
                                                        (AsDistroDetails *self);
struct              AsDistroDetails;
struct              AsDistroDetailsClass;

Description

Details

AS_TYPE_DISTRO_DETAILS

#define AS_TYPE_DISTRO_DETAILS (as_distro_details_get_type ())

The type for AsDistroDetails.


as_distro_details_get_icon_repository_paths ()

gchar **            as_distro_details_get_icon_repository_paths
                                                        (AsDistroDetails *self);

Returns list of icon-paths for software-center applications to use. Icons of software (even if it is not installed) are stored in these locations.

self :

the AsDistroDetails instance

Returns :

A NULL-terminated array of paths. [array length=result_length1]

as_distro_details_config_distro_get_str ()

gchar *             as_distro_details_config_distro_get_str
                                                        (AsDistroDetails *self,
                                                         const gchar *key);

self :

the AsDistroDetails instance

key :

 

as_distro_details_config_distro_get_bool ()

gboolean            as_distro_details_config_distro_get_bool
                                                        (AsDistroDetails *self,
                                                         const gchar *key);

self :

the AsDistroDetails instance

key :

 

as_distro_details_new ()

AsDistroDetails *   as_distro_details_new               (void);

as_distro_details_get_distro_id ()

const gchar *       as_distro_details_get_distro_id     (AsDistroDetails *self);

Get and return the current value of the "distro-id" property.

self :

the AsDistroDetails instance to query

Returns :

the value of the "distro-id" property

as_distro_details_get_distro_name ()

const gchar *       as_distro_details_get_distro_name   (AsDistroDetails *self);

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

self :

the AsDistroDetails instance to query

Returns :

the value of the "distro-name" property

as_distro_details_get_distro_version ()

const gchar *       as_distro_details_get_distro_version
                                                        (AsDistroDetails *self);

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

self :

the AsDistroDetails instance to query

Returns :

the value of the "distro-version" property

struct AsDistroDetails

struct AsDistroDetails {
	GObject parent_instance;
	AsDistroDetailsPrivate * priv;
};

Get details about the AppStream settings for the current distribution


struct AsDistroDetailsClass

struct AsDistroDetailsClass {
	GObjectClass parent_class;
};

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

GObjectClass parent_class;

the parent class structure