1 /*
2 A library to communicate a menu object set accross DBus and
3 track updates and maintain consistency.
4 
5 Copyright 2011 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_CLIENT_PRIVATE_H__
30 #define __DBUSMENU_CLIENT_PRIVATE_H__
31 
32 #include "client.h"
33 
34 G_BEGIN_DECLS
35 
36 void                 dbusmenu_client_send_event        (DbusmenuClient * client,
37                                                         gint id,
38                                                         const gchar * name,
39                                                         GVariant * variant,
40                                                         guint timestamp,
41                                                         DbusmenuMenuitem * mi);
42 void                 dbusmenu_client_send_about_to_show(DbusmenuClient * client,
43                                                         gint id,
44                                                         void (*cb) (gpointer user_data),
45                                                         gpointer cb_data);
46 
47 G_END_DECLS
48 
49 #endif
50