1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00
OpenMW/apps/opencs/editor.hpp

37 lines
716 B
C++
Raw Normal View History

2012-11-22 13:30:02 +01:00
#ifndef CS_EDITOR_H
#define CS_EDITOR_H
2012-11-23 14:05:49 +01:00
#include <QObject>
2012-11-22 13:30:02 +01:00
#include "model/doc/documentmanager.hpp"
#include "view/doc/viewmanager.hpp"
namespace CS
{
2012-11-23 14:05:49 +01:00
class Editor : public QObject
2012-11-22 13:30:02 +01:00
{
2012-11-23 14:05:49 +01:00
Q_OBJECT
int mNewDocumentIndex; ///< \todo remove when the proper new document dialogue is implemented.
2012-11-22 13:30:02 +01:00
CSMDoc::DocumentManager mDocumentManager;
CSVDoc::ViewManager mViewManager;
// not implemented
Editor (const Editor&);
Editor& operator= (const Editor&);
public:
Editor();
int run();
///< \return error status
2012-11-23 14:05:49 +01:00
public slots:
void createDocument();
2012-11-22 13:30:02 +01:00
};
}
#endif