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

ap_Win32Dialog_CollaborationEditAccount.h

Go to the documentation of this file.
00001 /* Copyright (C) 2010 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_COLLABORATIONEDITACCOUNT_H
00020 #define AP_WIN32DIALOG_COLLABORATIONEDITACCOUNT_H
00021 
00022 #include <vector>
00023 
00024 #include "xap_Win32DialogHelper.h"
00025 #include "ut_assert.h"
00026 
00027 #include <dialogs/xp/ap_Dialog_CollaborationEditAccount.h>
00028 #include "ap_Win32Res_DlgCollaborationEditAccount.rc2"
00029 
00030 class XAP_Frame;
00031 
00032 class AP_Win32Dialog_CollaborationEditAccount : public AP_Dialog_CollaborationEditAccount
00033 {
00034 public:
00035     AP_Win32Dialog_CollaborationEditAccount(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
00036     static XAP_Dialog *         static_constructor(XAP_DialogFactory * pFactory, XAP_Dialog_Id id);
00037 
00038     void                        runModal(XAP_Frame * pFrame);
00039     static BOOL CALLBACK        s_dlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
00040     static BOOL CALLBACK        s_detailsProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
00041     BOOL                        _onInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam);
00042     BOOL                        _onCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
00043     BOOL                        _onDetailsCommand(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
00044     BOOL                        detailsProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
00045     static LRESULT              s_detailsGetMsgProc(int nCode, WPARAM wParam, LPARAM lParam);
00046     LRESULT                     detailsGetMsgProc(int nCode, WPARAM wParam, LPARAM lParam);
00047     void                        setBackendValidity(bool valid);
00048 
00049 protected:
00050     XAP_Win32DialogHelper *     m_pWin32Dialog;
00051 
00052     virtual void*               _getEmbeddingParent();
00053 
00054     // Handles
00055     HINSTANCE                   m_hInstance;
00056     HWND                        m_hOk;
00057     LONG_PTR                    m_pOldDetailsProc;
00058     HWND                        m_hWnd;
00059     HWND                        m_hDetails;
00060     HHOOK                       m_hDetailsHook;
00061 
00062 private:
00063 
00064     void                        _populateWindowData(void);
00065 };
00066 
00067 #endif /* AP_WIN32DIALOG_COLLABORATIONADDACCOUNT_H */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1