Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef AP_WIN32DIALOG_COLLABORATIONACCOUNTS_H
00023 #define AP_WIN32DIALOG_COLLABORATIONACCOUNTS_H
00024
00025 #include <map>
00026 #include <ut_string.h>
00027 #include "ap_Win32Dialog_CollaborationAddAccount.h"
00028
00029 #include <dialogs/xp/ap_Dialog_CollaborationAccounts.h>
00030 #include "ap_Win32Res_DlgCollaborationAccounts.rc2"
00031
00032 class XAP_Frame;
00033
00034 class AP_Win32Dialog_CollaborationAccounts : public AP_Dialog_CollaborationAccounts
00035 {
00036 public:
00037 AP_Win32Dialog_CollaborationAccounts(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
00038
00039 static XAP_Dialog * static_constructor(XAP_DialogFactory * pFactory, XAP_Dialog_Id id);
00040 void runModal(XAP_Frame * pFrame);
00041 static BOOL CALLBACK s_dlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
00042 BOOL _onInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam);
00043 BOOL _onCommand(HWND hWnd, WPARAM wParam, LPARAM lParam);
00044 BOOL _onNotify(HWND hWnd, WPARAM wParam, LPARAM lParam);
00045
00046 virtual void signal(const Event& event, BuddyPtr pSource);
00047
00048 private:
00049 void _populateWindowData();
00050 void _updateSelection();
00051 void _setOnline(AccountHandler* pHandler, bool online);
00052
00053 XAP_Win32DialogHelper * m_pWin32Dialog;
00054 HINSTANCE m_hInstance;
00055 HWND m_hAccountList;
00056 bool m_bPopulating;
00057 };
00058
00059 #endif