mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 02:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			37 lines
		
	
	
		
			No EOL
		
	
	
		
			716 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			No EOL
		
	
	
		
			716 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef CS_EDITOR_H
 | 
						|
#define CS_EDITOR_H
 | 
						|
 | 
						|
#include <QObject>
 | 
						|
 | 
						|
#include "model/doc/documentmanager.hpp"
 | 
						|
#include "view/doc/viewmanager.hpp"
 | 
						|
 | 
						|
namespace CS
 | 
						|
{
 | 
						|
    class Editor : public QObject
 | 
						|
    {
 | 
						|
            Q_OBJECT
 | 
						|
 | 
						|
            int mNewDocumentIndex; ///< \todo remove when the proper new document dialogue is implemented.
 | 
						|
 | 
						|
            CSMDoc::DocumentManager mDocumentManager;
 | 
						|
            CSVDoc::ViewManager mViewManager;
 | 
						|
 | 
						|
            // not implemented
 | 
						|
            Editor (const Editor&);
 | 
						|
            Editor& operator= (const Editor&);
 | 
						|
 | 
						|
        public:
 | 
						|
 | 
						|
            Editor();
 | 
						|
 | 
						|
            int run();
 | 
						|
            ///< \return error status
 | 
						|
 | 
						|
        public slots:
 | 
						|
 | 
						|
            void createDocument();
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
#endif |