00001 /* Copyright (C) 2008 AbiSource Corporation B.V. 00002 * 00003 * This program is free software; you can redistribute it and/or 00004 * modify it under the terms of the GNU General Public License 00005 * as published by the Free Software Foundation; either version 2 00006 * of the License, or (at your option) any later version. 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 or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 * 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., 51 Franklin Street, Fifth Floor, Boston, MA 00016 * 02110-1301 USA. 00017 */ 00018 00019 #ifndef __SERVICEWIN32ACCOUNTHANDLER__ 00020 #define __SERVICEWIN32ACCOUNTHANDLER__ 00021 00022 #include <backends/service/xp/ServiceAccountHandler.h> 00023 00024 class XAP_Frame; 00025 00026 class ServiceWin32AccountHandler : public ServiceAccountHandler 00027 { 00028 public: 00029 ServiceWin32AccountHandler(); 00030 00031 static AccountHandler* static_constructor(); 00032 00033 // dialog management 00034 virtual void embedDialogWidgets(void* pEmbeddingParent); 00035 virtual void removeDialogWidgets(void* pEmbeddingParent); 00036 virtual void loadProperties(); 00037 virtual void storeProperties(); 00038 virtual BOOL _onCommand(HWND hWnd, WPARAM wParam, LPARAM lParam); 00039 virtual bool shouldProcessFocus(); 00040 00041 private: 00042 // handles 00043 HINSTANCE m_hInstance; 00044 HWND m_hEmailEntry; 00045 HWND m_hEmailLabel; 00046 HWND m_hPasswordEntry; 00047 HWND m_hPasswordLabel; 00048 HWND m_hUrlButton; 00049 }; 00050 00051 #endif /* __SERVICEWIN32ACCOUNTHANDLER__ */