D:/develop/v65/clients/outlook/install/output/export/funambol/clients/outlook/UI/src/ClientUtil.h

00001  /*
00002  * Copyright (C) 2007 Funambol, Inc.
00003  *
00004  * This program is free software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License version 2 as
00006  * published by the Free Software Foundation.
00007  *
00008  * This program is distributed in the hope that it will be useful,
00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  * MERCHANTABILITY, TITLE, NONINFRINGEMENT or FITNESS FOR A PARTICULAR
00011  * PURPOSE.  See the GNU General Public License for more details.
00012  *
00013  * You should have received a copy of the GNU General Public License
00014  * along with this program; if not, write to the Free Software
00015  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00016  * 02111-1307  USA
00017 */
00018 
00024 #define SCHEDULER_DEFAULT_MINUTES 15
00025 
00026 
00027 #define SYNC_DEFAULT_TOTAL_ITEMS  20
00028 
00029 // Default dimensions of frames (in case of 96dpi)
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 //#define LAST_SYNC_TIME_FORMAT TEXT("%A %#d %b %Y %#I:%M%p")
00043 //#define LAST_SYNC_TIME_FORMAT TEXT("%#d %b %Y %#I:%M%p")
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 

Generated on Fri Nov 9 12:21:26 2007 for Funambol Outlook Plug-in Library by  doxygen 1.5.2