mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 07:56:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			57 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUIPLATFORM_H
 | |
| #define OPENMW_COMPONENTS_MYGUIPLATFORM_MYGUIPLATFORM_H
 | |
| 
 | |
| #include <string>
 | |
| 
 | |
| namespace osgViewer
 | |
| {
 | |
|     class Viewer;
 | |
| }
 | |
| namespace osg
 | |
| {
 | |
|     class Group;
 | |
| }
 | |
| namespace Resource
 | |
| {
 | |
|     class ImageManager;
 | |
| }
 | |
| namespace MyGUI
 | |
| {
 | |
|     class LogManager;
 | |
| }
 | |
| 
 | |
| namespace osgMyGUI
 | |
| {
 | |
| 
 | |
|     class RenderManager;
 | |
|     class DataManager;
 | |
|     class LogFacility;
 | |
| 
 | |
|     class Platform
 | |
|     {
 | |
|     public:
 | |
|         Platform(osgViewer::Viewer* viewer, osg::Group* guiRoot, Resource::ImageManager* imageManager, float uiScalingFactor);
 | |
| 
 | |
|         ~Platform();
 | |
| 
 | |
|         void initialise(const std::string& resourcePath, const std::string& _logName = "MyGUI.log");
 | |
| 
 | |
|         void shutdown();
 | |
| 
 | |
|         RenderManager* getRenderManagerPtr();
 | |
| 
 | |
|         DataManager* getDataManagerPtr();
 | |
| 
 | |
|     private:
 | |
|         RenderManager* mRenderManager;
 | |
|         DataManager* mDataManager;
 | |
|         MyGUI::LogManager* mLogManager;
 | |
|         LogFacility* mLogFacility;
 | |
| 
 | |
|         void operator=(const Platform&);
 | |
|         Platform(const Platform&);
 | |
|     };
 | |
| 
 | |
| }
 | |
| 
 | |
| #endif
 |