Initial commit, partially working
[wai] / src / app_data.h
1 #ifndef APP_DATA_H_
2 #define APP_DATA_H_
3
4 #include <hildon/hildon-program.h>
5 #include "interface.h"
6 #include <location/location-gps-device.h>
7 #include <location/location-gpsd-control.h>
8
9 typedef struct
10 {
11     HildonProgram *program;
12     gboolean       fullscreen;
13     gboolean       portrait;
14     UserInterface  *main_ui;
15     LocationGPSDControl *control;
16     LocationGPSDevice *device;
17 } AppData;
18
19 void app_data_init(void);
20 AppData* app_data_get(void);
21 void app_data_free(void);
22
23 #endif /*APP_DATA_H_*/