42 class RoomListDialog {
46 RoomListDialog(
const std::string &url);
47 virtual ~RoomListDialog();
50 const std::string &GetUrl()
const {
return url; }
51 const std::string &GetErrorMessage()
const {
return errMsg; }
52 RoomListPtr GetRoomList()
const {
return roomList; }
61 void DisplayError(HWND parent)
const;
62 virtual void HandleLoadFinished(HWND hwnd, result_t result) = 0;
65 void ThreadProc(HWND dlgHwnd);
68 virtual BOOL DlgProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) = 0;
69 static BOOL CALLBACK DlgFunc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
73 boost::thread loadThread;
78 static const int WM_APP_LOAD_COMPLETE = WM_APP + 20;
std::shared_ptr< RoomList > RoomListPtr
Definition: RoomList.h:96
Definition: Announcement.h:24