UGDK
0.5.0
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
manager.h
Go to the documentation of this file.
1
#ifndef UGDK_FILESYSTEM_MANAGER_H_
2
#define UGDK_FILESYSTEM_MANAGER_H_
3
4
#include <
ugdk/filesystem.h
>
5
6
#include <string>
7
#include <memory>
8
#include <list>
9
10
namespace
ugdk
{
11
namespace
filesystem {
12
13
class
Manager
{
14
public
:
15
Manager
();
16
~Manager
();
17
18
bool
Initialize
();
19
void
Release
();
20
21
void
AddSearchPath
(
const
std::string&);
22
23
std::unique_ptr<File>
OpenFile
(
const
std::string& path,
const
char
* mode =
"rb"
)
const
;
24
25
private
:
26
std::list<std::string> search_paths_;
27
};
28
29
}
// namespace filesystem
30
}
// namespace ugdk
31
32
#endif // UGDK_FILESYSTEM_MANAGER_H_
ugdk::filesystem::Manager::Release
void Release()
ugdk::filesystem::Manager::~Manager
~Manager()
ugdk::filesystem::Manager::Initialize
bool Initialize()
ugdk
Definition:
animation.h:11
filesystem.h
ugdk::filesystem::Manager
Definition:
manager.h:13
ugdk::filesystem::Manager::Manager
Manager()
ugdk::filesystem::Manager::OpenFile
std::unique_ptr< File > OpenFile(const std::string &path, const char *mode="rb") const
ugdk::filesystem::Manager::AddSearchPath
void AddSearchPath(const std::string &)
modules
ugdk-core
include
ugdk
filesystem
manager.h
Generated on Sun Dec 6 2015 00:40:24 for UGDK by
1.8.8