diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-05-12 20:45:21 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-05-12 20:45:21 -0500 |
commit | e897e7aa9fb18fc83d177acab1dd18e0284429a6 (patch) | |
tree | 3d35968e29c56d934748cf6cdf18844bd66e484e /src/timezone.h | |
parent | a2c380c8f271486eb6dfeb82a46ca7a95aca85c5 (diff) | |
download | ayatana-indicator-datetime-e897e7aa9fb18fc83d177acab1dd18e0284429a6.tar.gz ayatana-indicator-datetime-e897e7aa9fb18fc83d177acab1dd18e0284429a6.tar.bz2 ayatana-indicator-datetime-e897e7aa9fb18fc83d177acab1dd18e0284429a6.zip |
minor documentation & #include cleanups to the timezone classes
Diffstat (limited to 'src/timezone.h')
-rw-r--r-- | src/timezone.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/timezone.h b/src/timezone.h index ac48e6e..cadeb6f 100644 --- a/src/timezone.h +++ b/src/timezone.h @@ -21,7 +21,7 @@ #define __INDICATOR_DATETIME_TIMEZONE__H__ #include <glib.h> -#include <glib-object.h> +#include <glib-object.h> /* parent class */ G_BEGIN_DECLS @@ -36,8 +36,17 @@ typedef struct _IndicatorDatetimeTimezoneClass IndicatorDatetimeTimezoneClass; GType indicator_datetime_timezone_get_type (void); +#define INDICATOR_DATETIME_TIMEZONE_PROPERTY_TIMEZONE "timezone" + /** - * Abstract Base Class for the mechanisms that determine timezone by location + * Abstract Base Class for objects that provide a timezone. + * + * This is used in datetime to determine the user's current timezone + * so that it can be displayed more prominently in the locations + * section of the indicator's menu. + * + * This class has a 'timezone' property that clients can watch + * for change notifications. */ struct _IndicatorDatetimeTimezone { @@ -57,8 +66,6 @@ struct _IndicatorDatetimeTimezoneClass **** ***/ -#define INDICATOR_DATETIME_TIMEZONE_PROPERTY_TIMEZONE "timezone" - const char * indicator_datetime_timezone_get_timezone (IndicatorDatetimeTimezone *); void indicator_datetime_timezone_notify_timezone (IndicatorDatetimeTimezone *); |