2015-09-29 00:46:03 +00:00
|
|
|
#ifndef STARTSCRIPTCREATOR_HPP
|
|
|
|
#define STARTSCRIPTCREATOR_HPP
|
|
|
|
|
|
|
|
#include "genericcreator.hpp"
|
|
|
|
|
2015-09-29 12:43:20 +00:00
|
|
|
namespace CSVWorld {
|
2015-09-29 00:46:03 +00:00
|
|
|
|
|
|
|
class StartScriptCreator : public GenericCreator
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
StartScriptCreator(CSMWorld::Data& data, QUndoStack& undoStack,
|
|
|
|
const CSMWorld::UniversalId& id, bool relaxedIdRules = false);
|
|
|
|
|
|
|
|
virtual std::string getErrors() const;
|
|
|
|
///< Return formatted error descriptions for the current state of the creator. if an empty
|
|
|
|
/// string is returned, there is no error.
|
2015-09-29 12:43:20 +00:00
|
|
|
};
|
2015-09-29 00:46:03 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // STARTSCRIPTCREATOR_HPP
|