1 /*
2 A library to communicate a menu object set accross DBus and
3 track updates and maintain consistency.
4 
5 Copyright 2009 Canonical Ltd.
6 
7 Authors:
8     Ted Gould <ted@canonical.com>
9 
10 This program is free software: you can redistribute it and/or modify it
11 under the terms of either or both of the following licenses:
12 
13 1) the GNU Lesser General Public License version 3, as published by the
14 Free Software Foundation; and/or
15 2) the GNU Lesser General Public License version 2.1, as published by
16 the Free Software Foundation.
17 
18 This program is distributed in the hope that it will be useful, but
19 WITHOUT ANY WARRANTY; without even the implied warranties of
20 MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
21 PURPOSE.  See the applicable version of the GNU Lesser General Public
22 License for more details.
23 
24 You should have received a copy of both the GNU Lesser General Public
25 License version 3 and version 2.1 along with this program.  If not, see
26 <http://www.gnu.org/licenses/>
27 */
28 
29 #ifndef __DBUSMENU_MENUITEM_PRIVATE_H__
30 #define __DBUSMENU_MENUITEM_PRIVATE_H__
31 
32 #include "menuitem.h"
33 
34 G_BEGIN_DECLS
35 
36 GVariant * dbusmenu_menuitem_build_variant (DbusmenuMenuitem * mi, const gchar ** properties, gint recurse);
37 gboolean dbusmenu_menuitem_realized (DbusmenuMenuitem * mi);
38 void dbusmenu_menuitem_set_realized (DbusmenuMenuitem * mi);
39 GVariant * dbusmenu_menuitem_properties_variant (DbusmenuMenuitem * mi, const gchar ** properties);
40 gboolean dbusmenu_menuitem_property_is_default (DbusmenuMenuitem * mi, const gchar * property);
41 gboolean dbusmenu_menuitem_exposed (DbusmenuMenuitem * mi);
42 
43 G_END_DECLS
44 
45 #endif
46