diff options
Diffstat (limited to 'src/service.h')
-rw-r--r-- | src/service.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/service.h b/src/service.h index b142882..d38db72 100644 --- a/src/service.h +++ b/src/service.h @@ -23,6 +23,9 @@ #include <glib.h> #include <glib-object.h> +#include "clock.h" +#include "planner.h" + G_BEGIN_DECLS /* standard GObject macros */ @@ -62,13 +65,19 @@ struct _IndicatorDatetimeServiceClass GType indicator_datetime_service_get_type (void); -IndicatorDatetimeService * indicator_datetime_service_new (void); - -GDateTime * indicator_datetime_service_get_localtime (IndicatorDatetimeService * service); +IndicatorDatetimeService * indicator_datetime_service_new (IndicatorDatetimeClock * clock, + IndicatorDatetimePlanner * planner); void indicator_datetime_service_set_calendar_date (IndicatorDatetimeService * self, GDateTime * date); +void indicator_datetime_service_set_planner (IndicatorDatetimeService * self, + IndicatorDatetimePlanner * planner); + + +void indicator_datetime_service_set_clock (IndicatorDatetimeService * self, + IndicatorDatetimeClock * clock); + G_END_DECLS |