Platform_OS.h
Go to the documentation of this file.00001 00014 #ifndef __Platform_OS_H__ 00015 #define __Platform_OS_H__ 00016 00017 // Includes 00018 #include "Platform.h" 00019 00020 // Forward declares 00021 00022 // Platform_OS 00023 class Platform_OS 00024 { 00025 public: 00029 virtual ~Platform_OS() { }; 00030 00031 00038 virtual void SetApplicationName( 00039 const char* applicationName 00040 ) = 0; 00041 00042 00055 virtual const char* GetCommandLineString() = 0; 00056 00057 00067 virtual const char* GetExecutablePath() = 0; 00068 00069 00078 virtual bool HasFocus() = 0; 00079 00080 00091 virtual void OsYield() = 0; 00092 00093 00101 virtual void DisplayAssertMessage( 00102 const char* expression, 00103 const char* message, 00104 const char* file, 00105 int line 00106 ) = 0; 00107 00108 00116 virtual void OutputDebugText( 00117 const char* formatstr, ... 00118 ) = 0; 00119 00120 00127 virtual void ReportFatalError( 00128 const char* message, 00129 const char* file, 00130 int line 00131 ) = 0; 00132 00133 00143 virtual bool ExitRequested() = 0; 00144 00145 }; 00146 00147 #endif /* __Platform_OS_H__ */
Reproduction/republishing of any material on this site without permission is strictly prohibited.
