2013-09-15 10:48:57 +00:00
|
|
|
#ifndef CSM_DOC_SAVING_H
|
|
|
|
#define CSM_DOC_SAVING_H
|
|
|
|
|
2022-10-19 17:02:00 +00:00
|
|
|
#include <QObject>
|
|
|
|
|
2014-05-12 08:32:57 +00:00
|
|
|
#include <components/to_utf8/to_utf8.hpp>
|
|
|
|
|
2013-09-15 10:48:57 +00:00
|
|
|
#include "operation.hpp"
|
|
|
|
#include "savingstate.hpp"
|
|
|
|
|
2022-10-19 17:02:00 +00:00
|
|
|
#include <filesystem>
|
|
|
|
|
2013-09-15 10:48:57 +00:00
|
|
|
namespace CSMDoc
|
|
|
|
{
|
|
|
|
class Document;
|
|
|
|
|
|
|
|
class Saving : public Operation
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
Document& mDocument;
|
|
|
|
SavingState mState;
|
|
|
|
|
2022-09-22 18:26:05 +00:00
|
|
|
public:
|
2022-06-08 21:25:50 +00:00
|
|
|
Saving(Document& document, const std::filesystem::path& projectPath, ToUTF8::FromType encoding);
|
2013-09-15 10:48:57 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|