diff options
author | Ted Gould <ted@canonical.com> | 2008-12-20 00:02:36 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2008-12-20 00:02:36 -0600 |
commit | 8e913de4c33af10f9d37a0994bbe0f13e93528b4 (patch) | |
tree | 77859af3d9e9307f1dc2a861ce5a60ab09333f53 /libindicate/indicator.h | |
parent | 0d28e608426f3ce161eddb619ae5dbf7198e3e5e (diff) | |
download | libayatana-indicator-8e913de4c33af10f9d37a0994bbe0f13e93528b4.tar.gz libayatana-indicator-8e913de4c33af10f9d37a0994bbe0f13e93528b4.tar.bz2 libayatana-indicator-8e913de4c33af10f9d37a0994bbe0f13e93528b4.zip |
Stopping point
Diffstat (limited to 'libindicate/indicator.h')
-rw-r--r-- | libindicate/indicator.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/libindicate/indicator.h b/libindicate/indicator.h index b2ef02e..d9b8075 100644 --- a/libindicate/indicator.h +++ b/libindicate/indicator.h @@ -2,20 +2,34 @@ #ifndef INDICATE_INDICATOR_H_INCLUDED__ #define INDICATE_INDICATOR_H_INCLUDED__ 1 -#define INDICATE_TYPE_INDICATOR (indicator_get_type ()) +/* Boilerplate */ +#define INDICATE_TYPE_INDICATOR (indicate_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)) +/* This is a signal that signals to the indicator that the user + * has done an action where they'd like this indicator to be + * displayed. */ #define INDICATE_INDICATOR_SIGNAL_DISPLAY "user-display" typedef struct _IndicateIndicator IndicateIndicator; IndicateIndicator * indicate_indicator_new (void); + +/* Should these just be GObject properties? */ void indicate_indicator_set_property (IndicateIndicator * indicator, const gchar * property_name, const gchar * property_value); + +/* Show and hide this indicator */ void indicate_indicator_show (IndicateIndicator * indicator); +void indicate_indicator_hide (IndicateIndicator * indicator); +/* Every entry has an ID, here's how to get it */ guint indicate_indicator_get_id (IndicateIndicator * indicator); +/* Every entry has a type. This should be created by the + * subclass and exported through this pretty function */ +const gchar * indicate_indicator_get_type (IndicateIndicator * indicator); + #endif /* INDICATE_INDICATOR_H_INCLUDED__ */ |