From 0fdb6ccc5652f2aa856a155a9b042fdb291425d5 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 10 Nov 2008 11:14:51 -0600 Subject: Indicator prototypes --- libindicate/indicator.c | 7 +++++++ libindicate/indicator.h | 21 +++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 libindicate/indicator.c create mode 100644 libindicate/indicator.h (limited to 'libindicate') 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__ */ + -- cgit v1.2.3