blob: 40afacfe7625bc70a09d5b442eb13b0de9eb6b27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
#ifndef POKYSYNC_H
#define POKYSYNC_H
#include <gtk/gtk.h>
#include <glade/glade.h>
#include <opensync/opensync.h>
#define XML_FILE PKGDATADIR "/pokysync.glade"
#define BACKUP_GROUP "pokysync-backup"
#define BACKUP_PLUGIN "file-sync"
#define BACKUP_CONFIG "<config>" \
"<path>%s</path>" \
"<recursive>FALSE</recursive>" \
"</config>"
#define BACKUP_PATH "%s" G_DIR_SEPARATOR_S ".gnome2" G_DIR_SEPARATOR_S \
"poky" G_DIR_SEPARATOR_S "backup"
#define EVO2_PLUGIN "evo2-sync"
#define EVO2_CONFIG "<config>" \
"<adress_path>default</adress_path>" \
"<calendar_path>default</calendar_path>" \
"<tasks_path>default</tasks_path>" \
"</config>"
enum {
COL_ID,
COL_NAME,
COL_PIXBUF,
};
enum {
TAB_CHOOSE = 0,
TAB_SYNC,
TAB_CONFLICT,
TAB_ERROR,
TAB_SUCCESS
};
typedef struct {
GladeXML *xml;
GdkPixbuf *backup_icon;
GdkPixbuf *network_icon;
GtkListStore *model;
OSyncEnv *osync;
gboolean syncing;
guint animate_id;
} PokySyncData;
#endif
|