#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