aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/client.h
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-11-17 15:35:34 -0500
committerKen VanDine <ken.vandine@canonical.com>2010-11-17 15:35:34 -0500
commitca1881e6cf5180215a3222f95b387c48f265184c (patch)
tree2075e0d9976ea51c39964137ef5dfca5c2e6e3d0 /libdbusmenu-glib/client.h
parentb353628b2659d06ad6e356cfbf017aa96cb4697e (diff)
parent395db9878504b28778b246ea658be5287e758e1f (diff)
downloadlibdbusmenu-ca1881e6cf5180215a3222f95b387c48f265184c.tar.gz
libdbusmenu-ca1881e6cf5180215a3222f95b387c48f265184c.tar.bz2
libdbusmenu-ca1881e6cf5180215a3222f95b387c48f265184c.zip
* New upstream release.
* Breaking ABI and getting reserved back * Adding build support for GTK2/3 builds * Only force a flush of top level items, allow others to be based on the count. * debian/control, debian/libdbusmenu-glib2.install, debian/libdbusmenu-gtk2.install: Switching package names to match .so bump.
Diffstat (limited to 'libdbusmenu-glib/client.h')
-rw-r--r--libdbusmenu-glib/client.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/libdbusmenu-glib/client.h b/libdbusmenu-glib/client.h
index 5d4b5c3..32813d9 100644
--- a/libdbusmenu-glib/client.h
+++ b/libdbusmenu-glib/client.h
@@ -56,6 +56,8 @@ G_BEGIN_DECLS
#define DBUSMENU_CLIENT_TYPES_SEPARATOR "separator"
#define DBUSMENU_CLIENT_TYPES_IMAGE "standard"
+typedef struct _DbusmenuClientPrivate DbusmenuClientPrivate;
+
/**
DbusmenuClientClass:
@parent_class: #GObjectClass
@@ -65,6 +67,10 @@ G_BEGIN_DECLS
@event_result: Slot for #DbusmenuClient::event-error.
@reserved1: Reserved for future use.
@reserved2: Reserved for future use.
+ @reserved3: Reserved for future use.
+ @reserved4: Reserved for future use.
+ @reserved5: Reserved for future use.
+ @reserved6: Reserved for future use.
A simple class that takes all of the information from a
#DbusmenuServer over DBus and makes the same set of
@@ -80,11 +86,13 @@ struct _DbusmenuClientClass {
void (*item_activate) (DbusmenuMenuitem * item, guint timestamp);
void (*event_result) (DbusmenuMenuitem * item, gchar * event, GValue * data, guint timestamp, GError * error);
- /* Reserved for future use */
+ /*< Private >*/
void (*reserved1) (void);
void (*reserved2) (void);
- /* void (*reserved3) (void); */
- /* void (*reserved4) (void); */
+ void (*reserved3) (void);
+ void (*reserved4) (void);
+ void (*reserved5) (void);
+ void (*reserved6) (void);
};
/**
@@ -97,6 +105,9 @@ struct _DbusmenuClientClass {
typedef struct _DbusmenuClient DbusmenuClient;
struct _DbusmenuClient {
GObject parent;
+
+ /*< Private >*/
+ DbusmenuClientPrivate * priv;
};
typedef gboolean (*DbusmenuClientTypeHandler) (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client);