HoverRace  2.0
FolderViewer.h
Go to the documentation of this file.
1 #ifdef HR_LEGACY_BUILD
2 // FolderViewer.h
3 // Header for the folder viewer.
4 //
5 // Copyright (c) 2012 Michael Imamura.
6 //
7 // Licensed under GrokkSoft HoverRace SourceCode License v1.0(the "License");
8 // you may not use this file except in compliance with the License.
9 //
10 // A copy of the license should have been attached to the package from which
11 // you have taken this file. If you can not find the license you can not use
12 // this file.
13 //
14 //
15 // The author makes no representations about the suitability of
16 // this software for any purpose. It is provided "as is" "AS IS",
17 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
18 // implied.
19 //
20 // See the License for the specific language governing permissions
21 // and limitations under the License.
22 //
23 
24 #pragma once
25 
26 #include "../../engine/Util/OS.h"
27 
28 namespace HoverRace {
29 namespace Client {
30 
38 class FolderViewer
39 {
40  public:
41  FolderViewer(const Util::OS::path_t &path);
42  ~FolderViewer() { }
43 
44  public:
45  void Show(Util::OS::wnd_t parentWnd);
46 
47  private:
48  bool VerifyDirectory(Util::OS::wnd_t parentWnd);
49 
50  private:
51  const Util::OS::path_t path;
52 };
53 
54 } // namespace Client
55 } // namespace HoverRace
56 #endif
boost::filesystem::path path_t
Definition: OS.h:57
Definition: Announcement.h:24