00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef INCL_HWND_FUNCTIONS
00020 #define INCL_HWND_FUNCTIONS
00021
00027 #define ID_MYMSG_SYNC_BEGIN (WM_APP+1)
00028 #define ID_MYMSG_SYNC_END (WM_APP+2)
00029 #define ID_MYMSG_SYNCSOURCE_BEGIN (WM_APP+3)
00030 #define ID_MYMSG_SYNCSOURCE_END (WM_APP+4)
00031 #define ID_MYMSG_SYNC_ITEM_SYNCED (WM_APP+5)
00032 #define ID_MYMSG_SYNC_TOTALITEMS (WM_APP+6)
00033
00034 #define ID_MYMSG_STARTSYNC_ENDED (WM_APP+8)
00035 #define ID_MYMSG_REFRESH_STATUSBAR (WM_APP+9)
00036
00037 #define ID_MYMSG_SOURCE_STATE (WM_APP+11)
00038 #define ID_MYMSG_SYNC_STARTSYNC_BEGIN (WM_APP+12)
00039 #define ID_MYMSG_UNLOCK_BUTTONS (WM_APP+13)
00040
00042 #define PLUGIN_UI_TITLE _T("Funambol Outlook Plug-in")
00043 #define CONFIG_WINDOW_TITLE _T("Funambol Outlook Plug-in Options")
00044 #define PLUGIN_UI_CLASSNAME _T("FunambolApp")
00045
00046 #include "windows.h"
00047
00052 class HwndFunctions
00053 {
00054 public:
00055 static HWND wnd;
00056
00058 static int findFunambolWindow();
00059 static void initHwnd();
00060 static HWND getWindowHandle();
00061 };
00062
00065 #endif