TDME2 1.9.121
FileSystem.h
Go to the documentation of this file.
1#pragma once
2
3#include <tdme/tdme.h>
5
7
8/**
9 * File system singleton class
10 * @author Andreas Drewke
11 * @version $Id$
12 */
14{
15private:
18
19public:
20
21 /**
22 * Singleton instance to retrieve file system
23 * will use standard file system by default if not set up different explicitly
24 * @return file system
25 */
27
28 /**
29 * Retrieve standard file system
30 * @return standard file system
31 */
33
34 /**
35 * Set up file system
36 * @param fileSystem file system
37 */
39
40 /**
41 * Unset file system, which means disposing the old one and unset internal file system to use
42 */
43 static void unsetFileSystem();
44
45};
File system singleton class.
Definition: FileSystem.h:14
static FileSystemInterface * getInstance()
Singleton instance to retrieve file system will use standard file system by default if not set up dif...
Definition: FileSystem.cpp:14
static STATIC_DLL_IMPEXT FileSystemInterface * standardFileSystem
Definition: FileSystem.h:16
static STATIC_DLL_IMPEXT FileSystemInterface * fileSystem
Definition: FileSystem.h:17
static void setupFileSystem(FileSystemInterface *fileSystem)
Set up file system.
Definition: FileSystem.cpp:31
static FileSystemInterface * getStandardFileSystem()
Retrieve standard file system.
Definition: FileSystem.cpp:23
static void unsetFileSystem()
Unset file system, which means disposing the old one and unset internal file system to use.
Definition: FileSystem.cpp:36
#define STATIC_DLL_IMPEXT
Definition: tdme.h:11