| Top |
| AsAgreement * | as_agreement_new () |
| const gchar * | as_agreement_kind_to_string () |
| AsAgreementKind | as_agreement_kind_from_string () |
| AsAgreementKind | as_agreement_get_kind () |
| void | as_agreement_set_kind () |
| const gchar * | as_agreement_get_version_id () |
| void | as_agreement_set_version_id () |
| AsAgreementSection * | as_agreement_get_section_default () |
| GPtrArray * | as_agreement_get_sections () |
| void | as_agreement_add_section () |
Agreements can be used by components to specify GDPR, EULA or other warnings.
See also: AsAgreementSection
const gchar *
as_agreement_kind_to_string (AsAgreementKind value);
Converts the enumerated value to an text representation.
Since: 0.12.1
AsAgreementKind
as_agreement_kind_from_string (const gchar *value);
Converts the text representation to an enumerated value.
Since: 0.12.1
AsAgreementKind
as_agreement_get_kind (AsAgreement *agreement);
Gets the agreement kind.
Since: 0.12.1
void as_agreement_set_kind (AsAgreement *agreement,AsAgreementKind kind);
Sets the agreement kind.
Since: 0.12.1
const gchar *
as_agreement_get_version_id (AsAgreement *agreement);
Gets the agreement version_id.
Since: 0.12.1
void as_agreement_set_version_id (AsAgreement *agreement,const gchar *version_id);
Sets the agreement version identifier.
Since: 0.12.1
AsAgreementSection *
as_agreement_get_section_default (AsAgreement *agreement);
Gets the first section in the agreement.
Since: 0.12.1
GPtrArray *
as_agreement_get_sections (AsAgreement *agreement);
Gets all the sections in the agreement.
Since: 0.12.1
void as_agreement_add_section (AsAgreement *agreement,AsAgreementSection *agreement_section);