2015-05-28 23:08:29 +05:30
|
|
|
// Licensed under the Apache-2.0 license. See README.md for details.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Exception.h"
|
|
|
|
|
2015-09-05 22:16:57 +05:30
|
|
|
#include "multimc_logic_export.h"
|
|
|
|
|
2015-05-28 23:08:29 +05:30
|
|
|
namespace FS
|
|
|
|
{
|
|
|
|
|
2015-09-05 22:16:57 +05:30
|
|
|
class MULTIMC_LOGIC_EXPORT FileSystemException : public ::Exception
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
FileSystemException(const QString &message) : Exception(message) {}
|
|
|
|
};
|
|
|
|
|
|
|
|
void MULTIMC_LOGIC_EXPORT write(const QString &filename, const QByteArray &data);
|
|
|
|
QByteArray MULTIMC_LOGIC_EXPORT read(const QString &filename);
|
2015-05-28 23:08:29 +05:30
|
|
|
}
|