~tristan957/harvest-almanac

ref: 0f0fa7109d3fb40354c03f4ba0fcda63df8280e4 harvest-almanac/harvest-almanac/hal-context.h -rw-r--r-- 472 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
16
17
#pragma once

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

G_BEGIN_DECLS

#define HAL_TYPE_CONTEXT (hal_context_get_type())
G_DECLARE_FINAL_TYPE(HalContext, hal_context, HAL, CONTEXT, GObject)

void hal_context_initialize(void);
void hal_context_set_user(HarvestUser *user);
HarvestUser *hal_context_get_user(void) G_GNUC_CONST;
void hal_context_set_company(HarvestCompany *company);
HarvestCompany *hal_context_get_company(void) G_GNUC_CONST;

G_END_DECLS