00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00024 #define SCHEDULER_DEFAULT_MINUTES 15
00025
00026
00027 #define SYNC_DEFAULT_TOTAL_ITEMS 20
00028
00029
00030 #define FRAME_CONFIG_X 440
00031 #define FRAME_CONFIG_Y 382
00032 #define FRAME_MAIN_X 350
00033 #define FRAME_MAIN_Y 350
00034
00035 #define MAIN_PROGRESSBAR_COLOR RGB(255,255,255)
00036
00037 #define EDIT_TEXT_MAXLENGTH 255
00038 #define EDIT_TEXT_SCHEDULER_MAXLENGTH 6
00039
00040 #define SYNCTYPE_NONE "none"
00041
00042
00043
00044 #define LAST_SYNC_TIME_FORMAT TEXT("%A, %#I:%M%p")
00045
00046
00047 int getSyncTypeIndex(const char* syncType);
00048
00049 const char* getSyncTypeName (int index);
00050 const char* getFullSyncTypeName(int index);
00051
00052 int getSyncModeCode(const char* syncMode);
00053
00054 void manageSyncErrorMsg(long code);
00055
00056 CPoint getRelativePosition(CWnd* wnd, CWnd* parentWnd);
00057