HoverRace  2.0
CheckRoomListDialog.h
Go to the documentation of this file.
1 #ifdef HR_LEGACY_BUILD
2 
3 // CheckRoomListDialog.h
4 // Header for the room list URL checker.
5 //
6 // Copyright (c) 2009 Michael Imamura.
7 //
8 // Licensed under GrokkSoft HoverRace SourceCode License v1.0(the "License");
9 // you may not use this file except in compliance with the License.
10 //
11 // A copy of the license should have been attached to the package from which
12 // you have taken this file. If you can not find the license you can not use
13 // this file.
14 //
15 //
16 // The author makes no representations about the suitability of
17 // this software for any purpose. It is provided "as is" "AS IS",
18 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
19 // implied.
20 //
21 // See the License for the specific language governing permissions
22 // and limitations under the License.
23 
24 #pragma once
25 
26 #include "RoomListDialog.h"
27 
28 namespace HoverRace {
29 namespace Client {
30 
35 class CheckRoomListDialog : public RoomListDialog
36 {
37  typedef RoomListDialog SUPER;
38  private:
39  CheckRoomListDialog() : SUPER("") { }
40  public:
41  CheckRoomListDialog(const std::string &url);
42  virtual ~CheckRoomListDialog();
43 
44  public:
45  void ShowModal(HINSTANCE hinst, HWND parent);
46 
47  protected:
48  virtual void HandleLoadFinished(HWND hwnd, result_t result);
49 
50  protected:
51  virtual BOOL DlgProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
52 };
53 
54 } // namespace Client
55 } // namespace HoverRace
56 #endif
Definition: Announcement.h:24