aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/client.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-10-13 12:41:16 -0500
committerTed Gould <ted@gould.cx>2010-10-13 12:41:16 -0500
commitde67e00eb07dbd06b6c53798653a690bb9b5fe85 (patch)
treea09dae9ff2abd717c6900534120dfbe8b9ae9630 /libdbusmenu-glib/client.h
parentba03e53fb680f3efb84156fa35926fef2ea3b36d (diff)
parentf8d472db4415096f7a5e99e14aa3b1af290d2098 (diff)
downloadlibdbusmenu-de67e00eb07dbd06b6c53798653a690bb9b5fe85.tar.gz
libdbusmenu-de67e00eb07dbd06b6c53798653a690bb9b5fe85.tar.bz2
libdbusmenu-de67e00eb07dbd06b6c53798653a690bb9b5fe85.zip
Breaking ABI. Getting back privates and pointers to private area.
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);