~tristan957/harvest-almanac

ref: 0f0fa7109d3fb40354c03f4ba0fcda63df8280e4 harvest-almanac/harvest-almanac/hal-time-entry.h -rw-r--r-- 391 bytes
0f0fa710Tristan Partin harvest-glib: fix implicit fallthrough 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <glib-object.h>
#include <gtk/gtk.h>

#define HAL_TYPE_TIME_ENTRY (hal_time_entry_get_type())
G_DECLARE_FINAL_TYPE(HalTimeEntry, hal_time_entry, HAL, TIME_ENTRY, GtkGrid)

G_BEGIN_DECLS

HalTimeEntry *hal_time_entry_new(void) G_GNUC_WARN_UNUSED_RESULT;
gboolean hal_time_entry_is_running(HalTimeEntry *self);
void hal_time_entry_stop(HalTimeEntry *self);

G_END_DECLS