2016-08-09 04:17:41 +00:00
|
|
|
#ifndef CSV_WORLD_GLOBALCREATOR_H
|
|
|
|
#define CSV_WORLD_GLOBALCREATOR_H
|
|
|
|
|
|
|
|
#include "genericcreator.hpp"
|
|
|
|
|
2022-10-19 17:02:00 +00:00
|
|
|
class QObject;
|
|
|
|
class QUndoStack;
|
|
|
|
|
|
|
|
#include <apps/opencs/model/world/universalid.hpp>
|
|
|
|
|
|
|
|
namespace CSMWorld
|
|
|
|
{
|
|
|
|
class CreateCommand;
|
|
|
|
class Data;
|
|
|
|
}
|
|
|
|
|
2016-08-09 04:17:41 +00:00
|
|
|
namespace CSVWorld
|
|
|
|
{
|
|
|
|
class GlobalCreator : public GenericCreator
|
|
|
|
{
|
2016-08-09 08:21:37 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
2016-08-09 04:17:41 +00:00
|
|
|
public:
|
|
|
|
GlobalCreator(CSMWorld::Data& data, QUndoStack& undoStack, const CSMWorld::UniversalId& id);
|
|
|
|
|
|
|
|
protected:
|
2020-10-16 18:18:54 +00:00
|
|
|
void configureCreateCommand(CSMWorld::CreateCommand& command) const override;
|
2016-08-09 04:17:41 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|