Changeset 539 for branches/eraser6/Installer/Bootstrapper/Bootstrapper.h
- Timestamp:
- 11/13/2008 11:26:52 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/Installer/Bootstrapper/Bootstrapper.h
r538 r539 27 27 #include "resource.h" 28 28 #undef Yield 29 30 class Application31 {32 public:33 /// Gets the Singleton instance of the Application object.34 static Application& Get();35 36 /// Processes messages in the message queue.37 void Yield();38 39 /// Retrieves the MainWindow object representing the Application's top window.40 class MainWindow& GetTopWindow();41 42 private:43 Application();44 };45 29 46 30 class MainWindow … … 86 70 }; 87 71 72 class Application 73 { 74 public: 75 /// Gets the Singleton instance of the Application object. 76 static Application& Get(); 77 78 /// Retrieves the path to the executable file. 79 std::wstring GetPath(); 80 81 /// Processes messages in the message queue. 82 void Yield(); 83 84 /// Retrieves the MainWindow object representing the Application's top window. 85 MainWindow& GetTopWindow(); 86 87 private: 88 /// Constructor. 89 Application(); 90 91 private: 92 /// The Application main window. 93 MainWindow MainWin; 94 }; 95 88 96 /// Formats the system error code using FormatMessage, returning the message as 89 97 /// a std::wstring. 90 98 std::wstring GetErrorMessage(DWORD lastError); 91 92 /// Retrieves the path to the executable file.93 std::wstring GetApplicationPath();94 99 95 100 /// Extracts the setup files to the users' temporary folder.
Note: See TracChangeset
for help on using the changeset viewer.
