You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
518 B
C++
31 lines
518 B
C++
#ifndef CSM_DOC_SAVING_H
|
|
#define CSM_DOC_SAVING_H
|
|
|
|
#include <boost/filesystem/path.hpp>
|
|
|
|
#include <components/to_utf8/to_utf8.hpp>
|
|
|
|
#include "operation.hpp"
|
|
#include "savingstate.hpp"
|
|
|
|
namespace CSMDoc
|
|
{
|
|
class Document;
|
|
|
|
class Saving : public Operation
|
|
{
|
|
Q_OBJECT
|
|
|
|
Document& mDocument;
|
|
SavingState mState;
|
|
|
|
public:
|
|
|
|
Saving (Document& document, const boost::filesystem::path& projectPath,
|
|
ToUTF8::FromType encoding);
|
|
|
|
};
|
|
}
|
|
|
|
#endif
|