00001 /* AbiCollab - Code to enable the modification of remote documents. 00002 * Copyright (C) 2007 by Ryan Pavlik <abiryan@ryand.net> 00003 * Copyright (C) 2006 by Marc Maurer <uwog@uwog.net> 00004 * 00005 * This program is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU General Public License 00007 * as published by the Free Software Foundation; either version 2 00008 * of the License, or (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00018 * 02110-1301 USA. 00019 */ 00020 00021 #ifndef AP_WIN32DIALOG_COLLABORATIONADDBUDDY_H 00022 #define AP_WIN32DIALOG_COLLABORATIONADDBUDDY_H 00023 00024 #include <dialogs/xp/ap_Dialog_CollaborationAddBuddy.h> 00025 00026 #include "ap_Win32Res_DlgCollaborationAddBuddy.rc2" 00027 00028 class XAP_Frame; 00029 00030 class AP_Win32Dialog_CollaborationAddBuddy : public AP_Dialog_CollaborationAddBuddy 00031 { 00032 public: 00033 AP_Win32Dialog_CollaborationAddBuddy(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id); 00034 static XAP_Dialog * static_constructor(XAP_DialogFactory * pFactory, XAP_Dialog_Id id); 00035 void runModal(XAP_Frame * pFrame); 00036 00037 // void event_Ok(); 00038 00039 virtual AccountHandler* _getActiveAccount() 00040 { return m_pAccount; } 00041 00042 private: 00043 //GtkWidget* _constructWindow(void); 00044 //void _populateWindowData(void); 00045 /* 00046 GtkWidget* m_wWindowMain; 00047 GtkWidget* m_wOk; 00048 GtkWidget* m_wName; 00049 GtkWidget* m_wAccount; 00050 GtkTreeModel* m_model; 00051 */ 00052 HINSTANCE m_hInstance; 00053 HWND m_hOK; 00054 HWND m_hCancel; 00055 00056 AccountHandler* m_pAccount; 00057 00058 }; 00059 00060 #endif /* AP_Win32DIALOG_COLLABORATIONADDBUDDY_H */