diff options
author | Ted Gould <ted@canonical.com> | 2009-04-15 09:04:57 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-04-15 09:04:57 -0500 |
commit | ab032f25b52b507873dcaf7779013be048bb2a31 (patch) | |
tree | 3359aed04d2d2fc30bebe7a945efdcf13aed150e /libdbusmenu-glib/client.h | |
parent | 0fd3f0a9812693dc73c67a5de6e4ce101f736acf (diff) | |
download | libdbusmenu-ab032f25b52b507873dcaf7779013be048bb2a31.tar.gz libdbusmenu-ab032f25b52b507873dcaf7779013be048bb2a31.tar.bz2 libdbusmenu-ab032f25b52b507873dcaf7779013be048bb2a31.zip |
Adding basic client and server objects.
Diffstat (limited to 'libdbusmenu-glib/client.h')
-rw-r--r-- | libdbusmenu-glib/client.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libdbusmenu-glib/client.h b/libdbusmenu-glib/client.h new file mode 100644 index 0000000..861e3b5 --- /dev/null +++ b/libdbusmenu-glib/client.h @@ -0,0 +1,31 @@ +#ifndef __DBUSMENU_CLIENT_H__ +#define __DBUSMENU_CLIENT_H__ + +#include <glib.h> +#include <glib-object.h> + +G_BEGIN_DECLS + +#define DBUSMENU_CLIENT_TYPE (dbusmenu_client_get_type ()) +#define DBUSMENU_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DBUSMENU_CLIENT_TYPE, DbusmenuClient)) +#define DBUSMENU_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DBUSMENU_CLIENT_TYPE, DbusmenuClientClass)) +#define DBUSMENU_IS_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DBUSMENU_CLIENT_TYPE)) +#define DBUSMENU_IS_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DBUSMENU_CLIENT_TYPE)) +#define DBUSMENU_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DBUSMENU_CLIENT_TYPE, DbusmenuClientClass)) + +typedef struct _DbusmenuClient DbusmenuClient; +typedef struct _DbusmenuClientClass DbusmenuClientClass; + +struct _DbusmenuClientClass { + GObjectClass parent_class; +}; + +struct _DbusmenuClient { + GObject parent; +}; + +GType dbusmenu_client_get_type (void); + +G_END_DECLS + +#endif |