diff options
author | Ted Gould <ted@canonical.com> | 2009-01-21 17:15:34 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-01-21 17:15:34 -0600 |
commit | 8199742023930c8702aa213c859c01f15f77f673 (patch) | |
tree | deac86394e68a42450ff80873112d10bcef10428 /libindicate/indicator-message.h | |
parent | ea69948a6faec897f74cc2323f291e1e0139db9a (diff) | |
parent | 0fc106dd6a5081d3769668249556766e15c07c71 (diff) | |
download | libayatana-indicator-8199742023930c8702aa213c859c01f15f77f673.tar.gz libayatana-indicator-8199742023930c8702aa213c859c01f15f77f673.tar.bz2 libayatana-indicator-8199742023930c8702aa213c859c01f15f77f673.zip |
Adding in a message indicator and a small test to use it.
Diffstat (limited to 'libindicate/indicator-message.h')
-rw-r--r-- | libindicate/indicator-message.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libindicate/indicator-message.h b/libindicate/indicator-message.h new file mode 100644 index 0000000..ade584e --- /dev/null +++ b/libindicate/indicator-message.h @@ -0,0 +1,36 @@ +#ifndef __INDICATE_INDICATOR_MESSAGE_H__ +#define __INDICATE_INDICATOR_MESSAGE_H__ + +#include <glib.h> +#include <glib-object.h> + +#include "indicator.h" + +G_BEGIN_DECLS + +#define INDICATE_TYPE_INDICATOR_MESSAGE (indicate_indicator_message_get_type ()) +#define INDICATE_INDICATOR_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATE_TYPE_INDICATOR_MESSAGE, IndicateIndicatorMessage)) +#define INDICATE_INDICATOR_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), INDICATE_TYPE_INDICATOR_MESSAGE, IndicateIndicatorMessageClass)) +#define INDICATE_IS_INDICATOR_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), INDICATE_TYPE_INDICATOR_MESSAGE)) +#define INDICATE_IS_INDICATOR_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), INDICATE_TYPE_INDICATOR_MESSAGE)) +#define INDICATE_INDICATOR_MESSAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), INDICATE_TYPE_INDICATOR_MESSAGE, IndicateIndicatorMessageClass)) + +typedef struct _IndicateIndicatorMessage IndicateIndicatorMessage; +typedef struct _IndicateIndicatorMessageClass IndicateIndicatorMessageClass; + +struct _IndicateIndicatorMessageClass +{ +IndicateIndicatorClass parent_class; +}; + +struct _IndicateIndicatorMessage +{ +IndicateIndicator parent; +}; + +GType indicate_indicator_message_get_type (void); +IndicateIndicatorMessage * indicate_indicator_message_new (void); + +G_END_DECLS + +#endif |