00001 00032 #ifndef LL_LLAPPVIEWERWIN32_H 00033 #define LL_LLAPPVIEWERWIN32_H 00034 00035 #ifndef LL_LLAPPVIEWER_H 00036 #include "llappviewer.h" 00037 #endif 00038 00039 class LLAppViewerWin32 : public LLAppViewer 00040 { 00041 public: 00042 LLAppViewerWin32(const char* cmd_line); 00043 virtual ~LLAppViewerWin32(); 00044 00045 // 00046 // Main application logic 00047 // 00048 virtual bool init(); // Override to do application initialization 00049 virtual bool cleanup(); 00050 00051 protected: 00052 virtual void initConsole(); // Initialize OS level debugging console. 00053 virtual bool initHardwareTest(); // Win32 uses DX9 to test hardware. 00054 virtual bool initParseCommandLine(LLCommandLineParser& clp); 00055 00056 virtual void handleCrashReporting(); 00057 virtual void handleSyncCrashTrace(); 00058 00059 std::string generateSerialNumber(); 00060 00061 private: 00062 void disableWinErrorReporting(); 00063 00064 std::string mCmdLine; 00065 }; 00066 00067 #endif // LL_LLAPPVIEWERWIN32_H