~tristan957/harvest-almanac

ref: f48b10b7c275e961a2d5a64bc9346898e8121d4a harvest-almanac/harvest-almanac/hal-context.h -rw-r--r-- 472 bytes
f48b10b7Tristan Partin harvest-alamnac: spacing 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