aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/client-private.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-21 12:55:10 -0600
committerTed Gould <ted@gould.cx>2011-02-21 12:55:10 -0600
commitc780c27de91ff7b36c25e50f11ccb051c6e8ac1d (patch)
treee36bd7f6869fac79a8c56e6b39749bbf0979cc3a /libdbusmenu-glib/client-private.h
parent75b874cd7464fc706e640be3f7d985f1da77a91a (diff)
downloadlibdbusmenu-c780c27de91ff7b36c25e50f11ccb051c6e8ac1d.tar.gz
libdbusmenu-c780c27de91ff7b36c25e50f11ccb051c6e8ac1d.tar.bz2
libdbusmenu-c780c27de91ff7b36c25e50f11ccb051c6e8ac1d.zip
Fixup documentation and move the private functions to a private header file
Diffstat (limited to 'libdbusmenu-glib/client-private.h')
-rw-r--r--libdbusmenu-glib/client-private.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/libdbusmenu-glib/client-private.h b/libdbusmenu-glib/client-private.h
new file mode 100644
index 0000000..f6df372
--- /dev/null
+++ b/libdbusmenu-glib/client-private.h
@@ -0,0 +1,48 @@
+/*
+A library to communicate a menu object set accross DBus and
+track updates and maintain consistency.
+
+Copyright 2011 Canonical Ltd.
+
+Authors:
+ Ted Gould <ted@canonical.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of either or both of the following licenses:
+
+1) the GNU Lesser General Public License version 3, as published by the
+Free Software Foundation; and/or
+2) the GNU Lesser General Public License version 2.1, as published by
+the Free Software Foundation.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranties of
+MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the applicable version of the GNU Lesser General Public
+License for more details.
+
+You should have received a copy of both the GNU Lesser General Public
+License version 3 and version 2.1 along with this program. If not, see
+<http://www.gnu.org/licenses/>
+*/
+
+#ifndef __DBUSMENU_CLIENT_PRIVATE_H__
+#define __DBUSMENU_CLIENT_PRIVATE_H__
+
+#include "client.h"
+
+G_BEGIN_DECLS
+
+void dbusmenu_client_send_event (DbusmenuClient * client,
+ gint id,
+ const gchar * name,
+ GVariant * variant,
+ guint timestamp);
+void dbusmenu_client_send_about_to_show(DbusmenuClient * client,
+ gint id,
+ void (*cb) (gpointer user_data),
+ gpointer cb_data);
+
+G_END_DECLS
+
+#endif