diff options
author | Ted Gould <ted@canonical.com> | 2008-11-10 11:14:51 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2008-11-10 11:14:51 -0600 |
commit | 0fdb6ccc5652f2aa856a155a9b042fdb291425d5 (patch) | |
tree | 19013047840e206e7118c11c167f79faee29a993 | |
parent | 236c9a24d6a18d5e0a51898feb6c14fe1204d76f (diff) | |
download | libayatana-indicator-0fdb6ccc5652f2aa856a155a9b042fdb291425d5.tar.gz libayatana-indicator-0fdb6ccc5652f2aa856a155a9b042fdb291425d5.tar.bz2 libayatana-indicator-0fdb6ccc5652f2aa856a155a9b042fdb291425d5.zip |
Indicator prototypes
-rw-r--r-- | libindicate/indicator.c | 7 | ||||
-rw-r--r-- | libindicate/indicator.h | 21 |
2 files changed, 28 insertions, 0 deletions
diff --git a/libindicate/indicator.c b/libindicate/indicator.c new file mode 100644 index 0000000..f98c368 --- /dev/null +++ b/libindicate/indicator.c @@ -0,0 +1,7 @@ + +#include "glib.h" +#include "indicator.h" +#include "indicate.h" + + + diff --git a/libindicate/indicator.h b/libindicate/indicator.h new file mode 100644 index 0000000..b2ef02e --- /dev/null +++ b/libindicate/indicator.h @@ -0,0 +1,21 @@ + +#ifndef INDICATE_INDICATOR_H_INCLUDED__ +#define INDICATE_INDICATOR_H_INCLUDED__ 1 + +#define INDICATE_TYPE_INDICATOR (indicator_get_type ()) +#define INDICATE_INDICATOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), INDICATE_TYPE_INDICATOR, IndicateIndicator)) +#define INDICATE_IS_INDICATOR(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), INDICATE_TYPE_INDICATOR)) + +#define INDICATE_INDICATOR_SIGNAL_DISPLAY "user-display" + +typedef struct _IndicateIndicator IndicateIndicator; + +IndicateIndicator * indicate_indicator_new (void); +void indicate_indicator_set_property (IndicateIndicator * indicator, const gchar * property_name, const gchar * property_value); +void indicate_indicator_show (IndicateIndicator * indicator); + +guint indicate_indicator_get_id (IndicateIndicator * indicator); + + +#endif /* INDICATE_INDICATOR_H_INCLUDED__ */ + |