1 /* dzl-path-element.h
2  *
3  * Copyright (C) 2016-2017 Christian Hergert <chergert@redhat.com>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef DZL_PATH_ELEMENT_H
20 #define DZL_PATH_ELEMENT_H
21 
22 #include <glib-object.h>
23 
24 #include "dzl-version-macros.h"
25 
26 G_BEGIN_DECLS
27 
28 #define DZL_TYPE_PATH_ELEMENT (dzl_path_element_get_type())
29 
30 DZL_AVAILABLE_IN_ALL
31 G_DECLARE_FINAL_TYPE (DzlPathElement, dzl_path_element, DZL, PATH_ELEMENT, GObject)
32 
33 DZL_AVAILABLE_IN_ALL
34 DzlPathElement *dzl_path_element_new           (const gchar    *id,
35                                                 const gchar    *icon_name,
36                                                 const gchar    *title);
37 DZL_AVAILABLE_IN_ALL
38 const gchar    *dzl_path_element_get_title     (DzlPathElement *self);
39 DZL_AVAILABLE_IN_ALL
40 const gchar    *dzl_path_element_get_id        (DzlPathElement *self);
41 DZL_AVAILABLE_IN_ALL
42 const gchar    *dzl_path_element_get_icon_name (DzlPathElement *self);
43 
44 G_END_DECLS
45 
46 #endif /* DZL_PATH_ELEMENT_H */
47 
48