MyGUI 3.4.3
MyGUI_DataFileStream.h
Go to the documentation of this file.
1/*
2 * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3 * Distributed under the MIT License
4 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5 */
6
7#ifndef MYGUI_DATA_FILE_STREAM_H_
8#define MYGUI_DATA_FILE_STREAM_H_
9
10#include "MyGUI_Prerequest.h"
11#include "MyGUI_DataStream.h"
12#include <memory>
13
14namespace MyGUI
15{
16
18 {
19 public:
20 DataFileStream() = default;
21 DataFileStream(std::unique_ptr<std::ifstream>&& _stream);
22 ~DataFileStream() override;
23
24 private:
25 std::unique_ptr<std::ifstream> mFileStream;
26 };
27
28} // namespace MyGUI
29
30#endif // MYGUI_DATA_STREAM_H_
#define MYGUI_EXPORT