blob: b961a623f0c96bc8e2dbed317ae501d713661a46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
* Copyright (C) 2018 Purism SPC
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#error "Only <handy.h> can be included directly."
#endif
#include "hdy-version.h"
#include <gio/gio.h>
#include <glib-object.h>
G_BEGIN_DECLS
#define HDY_TYPE_ENUM_VALUE_OBJECT (hdy_enum_value_object_get_type())
HDY_AVAILABLE_IN_ALL
G_DECLARE_FINAL_TYPE (HdyEnumValueObject, hdy_enum_value_object, HDY, ENUM_VALUE_OBJECT, GObject)
HDY_AVAILABLE_IN_ALL
HdyEnumValueObject *hdy_enum_value_object_new (GEnumValue *enum_value);
HDY_AVAILABLE_IN_ALL
gint hdy_enum_value_object_get_value (HdyEnumValueObject *self);
HDY_AVAILABLE_IN_ALL
const gchar *hdy_enum_value_object_get_name (HdyEnumValueObject *self);
HDY_AVAILABLE_IN_ALL
const gchar *hdy_enum_value_object_get_nick (HdyEnumValueObject *self);
G_END_DECLS
|