mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-29 12:20:41 +00:00
30 lines
482 B
C++
30 lines
482 B
C++
#ifndef CSM_DOC_SAVING_H
|
|
#define CSM_DOC_SAVING_H
|
|
|
|
#include <QObject>
|
|
|
|
#include <components/to_utf8/to_utf8.hpp>
|
|
|
|
#include "operation.hpp"
|
|
#include "savingstate.hpp"
|
|
|
|
#include <filesystem>
|
|
|
|
namespace CSMDoc
|
|
{
|
|
class Document;
|
|
|
|
class Saving : public Operation
|
|
{
|
|
Q_OBJECT
|
|
|
|
Document& mDocument;
|
|
SavingState mState;
|
|
|
|
public:
|
|
Saving(Document& document, const std::filesystem::path& projectPath, ToUTF8::FromType encoding);
|
|
};
|
|
}
|
|
|
|
#endif
|