summaryrefslogtreecommitdiffstats
path: root/logic/FileSystem.h
blob: a66e7ead8f0b6a0eb5c98035b4c6010897f4567c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Licensed under the Apache-2.0 license. See README.md for details.

#pragma once

#include "Exception.h"

#include "multimc_logic_export.h"

namespace FS
{

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);
}