• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ap_Win32Dialog_GenericInput.h

Go to the documentation of this file.
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 AP_WIN32DIALOG_GENERICINPUT_H
00020 #define AP_WIN32DIALOG_GENERICINPUT_H
00021 
00022 #include <backends/service/xp/ap_Dialog_GenericInput.h>
00023 
00024 class XAP_Frame;
00025 
00026 class AP_Win32Dialog_GenericInput : public AP_Dialog_GenericInput
00027 {
00028 public:
00029     AP_Win32Dialog_GenericInput(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
00030     static XAP_Dialog *         static_constructor(XAP_DialogFactory * pFactory, XAP_Dialog_Id id);
00031     void                        runModal(XAP_Frame * pFrame);
00032     static BOOL CALLBACK        s_dlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
00033     BOOL                        _onInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam);
00034     BOOL                        _onCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
00035 
00036 private:
00037     void                        _eventTextChanged();
00038     UT_UTF8String               _getText(HWND hWnd, int nID);
00039     
00040     XAP_Win32DialogHelper *     m_pWin32Dialog;
00041     HINSTANCE                   m_hInstance;
00042     HWND                        m_hWnd;
00043     HWND                        m_hOk;
00044 };
00045 
00046 #endif /* AP_WIN32DIALOG_GENERICINPUT_H */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1