D:/develop/v65/clients/outlook/install/output/export/funambol/clients/outlook/mainclientDll/src/include/HwndFunctions.h

00001  /*
00002  * Copyright (C) 2006-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 
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 //#define ID_MYMSG_SYNC_TOTALSOURCES    (WM_APP+7)      not used
00034 #define ID_MYMSG_STARTSYNC_ENDED      (WM_APP+8)
00035 #define ID_MYMSG_REFRESH_STATUSBAR    (WM_APP+9)
00036 //#define ID_MYMSG_MODAL                (WM_APP+10)     not used
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

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