diff options
author | Ted Gould <ted@canonical.com> | 2009-01-21 16:02:04 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-01-21 16:02:04 -0600 |
commit | 48697b95718bbfb3100cff9721baa26d6c504552 (patch) | |
tree | ecc00c100a45f1e93a7064c7c4cfb081b5d67e07 /libindicate/indicator-message.h | |
parent | 58a667b5863ee92c64629afc4014b24aeb6ff6d5 (diff) | |
download | libayatana-indicator-48697b95718bbfb3100cff9721baa26d6c504552.tar.gz libayatana-indicator-48697b95718bbfb3100cff9721baa26d6c504552.tar.bz2 libayatana-indicator-48697b95718bbfb3100cff9721baa26d6c504552.zip |
Adding in a type for indicators that are messages
Diffstat (limited to 'libindicate/indicator-message.h')
-rw-r--r-- | libindicate/indicator-message.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libindicate/indicator-message.h b/libindicate/indicator-message.h new file mode 100644 index 0000000..fb0c30d --- /dev/null +++ b/libindicate/indicator-message.h @@ -0,0 +1,35 @@ +#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 (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); + +G_END_DECLS + +#endif |