Top | ![]() |
![]() |
![]() |
![]() |
AsDistroDetails * | as_distro_details_new () |
const gchar * | as_distro_details_get_id () |
const gchar * | as_distro_details_get_cid () |
const gchar * | as_distro_details_get_name () |
const gchar * | as_distro_details_get_version () |
const gchar * | as_distro_details_get_homepage () |
gchar * | as_distro_details_get_str () |
gboolean | as_distro_details_get_bool () |
gchar * | as_get_current_distro_component_id () |
This object abstracts various distribution-specific settings and provides information about the (Linux) distribution which is currently in use. It is used internalls to get information about the icon-store or the 3rd-party screenshot service distributors may want to provide.
See also: AsPool
AsDistroDetails *
as_distro_details_new (void
);
Creates a new instance of AsDistroDetails.
const gchar *
as_distro_details_get_version (AsDistroDetails *distro
);
const gchar *
as_distro_details_get_homepage (AsDistroDetails *distro
);
gchar * as_distro_details_get_str (AsDistroDetails *distro
,const gchar *key
);
gboolean as_distro_details_get_bool (AsDistroDetails *distro
,const gchar *key
,gboolean default_val
);
gchar *
as_get_current_distro_component_id (void
);
Returns the component-ID of the current distribution based on contents
of the /etc/os-release
file.
This function is a shorthand for as_distro_details_get_cid