aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/platform/web/WebFileStream.h
blob: 66ee0903569752b1a8e30cd735a173d80a3a980c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "../../PreConfig.h"

#ifdef CRU_PLATFORM_EMSCRIPTEN

#include "../../io/Stream.h"

namespace cru::platform::web {
/**
 *  \remark Web just hates filesystems. But luckily emscripten just creates a
 * good simulation of it. All we need to do is to use the C api and let
 * emscripten take care of it for us.
 */
class WebFileStream : public io::Stream {
 public:
 // TODO: go on this!
};
}  // namespace cru::platform::web

#endif