mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-18 15:09:40 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53593 954022d7-b5bf-4e40-9824-e11837661b57
31 lines
797 B
C++
31 lines
797 B
C++
#pragma once
|
|
#ifndef OOX_FILE_INCLUDE_H_
|
|
#define OOX_FILE_INCLUDE_H_
|
|
|
|
#include "NamespaceOwn.h"
|
|
#include <string>
|
|
#include <boost/filesystem.hpp>
|
|
#include "ContentTypes/File.h"
|
|
#include "FileType.h"
|
|
|
|
|
|
namespace OOX
|
|
{
|
|
class File : public NamespaceOwn
|
|
{
|
|
public:
|
|
File();
|
|
virtual ~File();
|
|
|
|
public:
|
|
virtual void read(const boost::filesystem::wpath& filename) = 0;
|
|
virtual void write(const boost::filesystem::wpath& filename, const boost::filesystem::wpath& directory, ContentTypes::File& content) const = 0;
|
|
|
|
public:
|
|
virtual const OOX::FileType type() const = 0;
|
|
virtual const boost::filesystem::wpath DefaultDirectory() const = 0;
|
|
virtual const boost::filesystem::wpath DefaultFileName() const = 0;
|
|
};
|
|
} // namespace OOX
|
|
|
|
#endif // OOX_FILE_INCLUDE_H_
|