blob: 19025029f51c588bada9fe60eea59c5932b04890 (
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
|
#ifndef __SYNCMANAGER_H__
#define __SYNCMANAGER_H__
#include <gtk/gtk.h>
typedef struct _SyncEntry SyncEntry;
typedef enum {
SYNC_RECEIVE,
SYNC_SEND,
SYNC_BOTH
} SyncDirection;
struct _SyncEntry {
gchar *name;
gchar *save_to;
SyncDirection direction;
gchar *(*get_data)(void);
};
void sync_manager_add_entry(SyncEntry *entry);
void sync_manager_show(void);
#endif /* __SYNCMANAGER_H__ */
|