2015-05-28 18:38:29 +01:00
|
|
|
// Licensed under the Apache-2.0 license. See README.md for details.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Exception.h"
|
|
|
|
|
2015-09-05 17:46:57 +01:00
|
|
|
#include "multimc_logic_export.h"
|
|
|
|
|
2015-05-28 18:38:29 +01:00
|
|
|
namespace FS
|
|
|
|
{
|
|
|
|
|
2015-09-05 17:46:57 +01:00
|
|
|
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 18:38:29 +01:00
|
|
|
}
|