TimerMainWindow.h 877 B

12345678910111213141516171819202122232425
  1. #ifndef INCLUDED_TIMER_MAIN_WINDOW_H
  2. #define INCLUDED_TIMER_MAIN_WINDOW_H
  3. #include <gtk/gtk.h>
  4. #include "TimerApplication.h"
  5. #include "TimerTaskTree.h"
  6. G_BEGIN_DECLS
  7. #define TIMER_TYPE_MAIN_WINDOW timer_main_window_get_type()
  8. G_DECLARE_FINAL_TYPE(TimerMainWindow, timer_main_window, TIMER, MAIN_WINDOW, GtkApplicationWindow)
  9. TimerMainWindow *timer_main_window_new(TimerApplication *app);
  10. char *timer_main_window_get_task_csv(TimerMainWindow *self);
  11. TimerDataPoint *timer_main_window_get_task_data(TimerMainWindow *self, gsize *len);
  12. TimerDataPoint *timer_main_window_get_day_data(TimerMainWindow *self, gsize *len);
  13. gboolean timer_main_window_is_always_on_top(TimerMainWindow *self);
  14. GDateTime *timer_main_window_get_last_task_end(TimerMainWindow *self);
  15. void timer_main_window_show_for_mode(TimerMainWindow *self);
  16. G_END_DECLS
  17. #endif /* INCLUDED_TIMER_MAIN_WINDOW_H */