Ag.ServiceType – libaccounts-glib Reference Manual
Packages
libaccounts-glib
Ag
ServiceType
list_free
@ref
get_description
get_display_name
get_file_contents
get_i18n_domain
get_icon_name
get_name
get_tags
has_tag
unref
ServiceType
Object Hierarchy:
Description:
[
CCode
( ref_function =
"ag_service_type_ref"
, type_id =
"ag_service_type_get_type ()"
, unref_function =
"ag_service_type_unref"
) ]
[
Compact
]
public
class
ServiceType
Opaque structure.
Use related accessor functions.
Namespace:
Ag
Package:
libaccounts-glib
Content:
Static methods:
public
static
void
list_free
(
List
<
ServiceType
> list)
Methods:
public
ServiceType
@ref
()
Adds a reference to
this
.
public
unowned
string
get_description
()
Get the description of the
ServiceType
.
public
unowned
string
get_display_name
()
Get the display name of the
ServiceType
.
public
void
get_file_contents
(
string
contents,
size_t
len)
Gets the contents of the XML service type file.
public
unowned
string
get_i18n_domain
()
Get the translation domain of the
ServiceType
.
public
unowned
string
get_icon_name
()
Get the icon name of the
ServiceType
.
public
unowned
string
get_name
()
Get the name of the
ServiceType
.
public
List
<
unowned
string
>
get_tags
()
Get list of tags specified for the
ServiceType
.
public
bool
has_tag
(
string
tag)
Check if the
ServiceType
has the requested tag.
public
void
unref
()
Used to unreference the
ServiceType
structure.