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 00019 #if !defined(AFX_OP_H__FA98B70B_D0B7_11D3_BC39_00C04F602FEE__INCLUDED_) 00020 #define AFX_OP_H__FA98B70B_D0B7_11D3_BC39_00C04F602FEE__INCLUDED_ 00021 00026 #if _MSC_VER > 1000 00027 #pragma once 00028 #endif // _MSC_VER > 1000 00029 00030 #ifndef __AFXWIN_H__ 00031 #error include 'stdafx.h' before including this file for PCH 00032 #endif 00033 00034 #include "resource.h" // main symbols 00035 00036 00040 class COutlookPluginApp : public CWinApp 00041 { 00042 public: 00043 COutlookPluginApp(); 00044 CSingleDocTemplate* docSettings; 00045 CSingleDocTemplate* docMain; 00046 HINSTANCE hInst; 00047 HINSTANCE hLib; 00048 00049 HANDLE hScheduleSyncThread; 00050 DWORD dwScheduleThreadId; 00051 00052 BOOL registerFunClass(); 00053 00054 // Overrides 00055 // ClassWizard generated virtual function overrides 00056 //{{AFX_VIRTUAL(COutlookPluginApp) 00057 public: 00058 virtual BOOL InitInstance(); 00059 virtual int ExitInstance(); 00060 //}}AFX_VIRTUAL 00061 00062 // Implementation 00063 //{{AFX_MSG(COutlookPluginApp) 00064 afx_msg void OnAppAbout(); 00065 afx_msg void OnViewGuide(); 00066 // NOTE - the ClassWizard will add and remove member functions here. 00067 // DO NOT EDIT what you see in these blocks of generated code ! 00068 //}}AFX_MSG 00069 DECLARE_MESSAGE_MAP() 00070 }; 00071 00072 00074 00075 //{{AFX_INSERT_LOCATION}} 00076 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00077 00080 #endif