summaryrefslogtreecommitdiffabout
path: root/libkcal/syncdefines.h
Unidiff
Diffstat (limited to 'libkcal/syncdefines.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/syncdefines.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libkcal/syncdefines.h b/libkcal/syncdefines.h
index 704a670..f3204a2 100644
--- a/libkcal/syncdefines.h
+++ b/libkcal/syncdefines.h
@@ -1,24 +1,30 @@
1 1
2#ifndef _KSYNC_DEFINES_H_ 2#ifndef _KSYNC_DEFINES_H_
3#define _KSYNC_DEFINES_H_ 3#define _KSYNC_DEFINES_H_
4 4
5 enum TargetApp {
6 KOPI = 0,
7 KAPI = 1,
8 PWMPI = 2 };
9
10
5#define SYNC_PREF_LOCAL 0 11#define SYNC_PREF_LOCAL 0
6#define SYNC_PREF_REMOTE 1 12#define SYNC_PREF_REMOTE 1
7#define SYNC_PREF_NEWEST 2 13#define SYNC_PREF_NEWEST 2
8#define SYNC_PREF_ASK 3 14#define SYNC_PREF_ASK 3
9#define SYNC_PREF_FORCE_LOCAL 4 15#define SYNC_PREF_FORCE_LOCAL 4
10#define SYNC_PREF_FORCE_REMOTE 5 16#define SYNC_PREF_FORCE_REMOTE 5
11#define SYNC_PREF_TAKE_BOTH 6 17#define SYNC_PREF_TAKE_BOTH 6
12 18
13#define SYNC_MODE_NORMAL 0 19#define SYNC_MODE_NORMAL 0
14#define SYNC_MODE_EXTERNAL 1 20#define SYNC_MODE_EXTERNAL 1
15 21
16#define SYNC_TEMPSTATE_INITIAL 0 22#define SYNC_TEMPSTATE_INITIAL 0
17#define SYNC_TEMPSTATE_ADDED_EXTERNAL -1 23#define SYNC_TEMPSTATE_ADDED_EXTERNAL -1
18#define SYNC_TEMPSTATE_NEW_EXTERNAL -2 24#define SYNC_TEMPSTATE_NEW_EXTERNAL -2
19#define SYNC_TEMPSTATE_DELETE -3 25#define SYNC_TEMPSTATE_DELETE -3
20#define SYNC_TEMPSTATE_NEW_ID -4 26#define SYNC_TEMPSTATE_NEW_ID -4
21#define SYNC_TEMPSTATE_NEW_CSUM -5 27#define SYNC_TEMPSTATE_NEW_CSUM -5
22 28
23 29
24#endif 30#endif