Oxygine  1
2g game engine
STDFileSystem.h
1 #pragma once
2 #include "oxygine-include.h"
3 #include "FileSystem.h"
4 namespace oxygine
5 {
6  namespace file
7  {
8  class STDFileSystem: public FileSystem
9  {
10  public:
11  STDFileSystem(bool readonly);
12 
13  std::string getFullPath(const char* path);
14  void setPath(const char* folder);
15 
16  protected:
17  std::string _path;
18  char* _getFullPath(const char* path, char buff[512]);
19 
20  status _read(const char* file, file::buffer&, error_policy ep);
21  status _open(const char* file_, const char* mode, error_policy ep, fileHandle*& fh);
22  status _deleteFile(const char* file);
23  status _renameFile(const char* src, const char* dest);
24  status _makeDirectory(const char* path);
25  status _deleteDirectory(const char* path);
26 
27  bool _isExists(const char* file);
28  };
29  }
30 }
Definition: FileSystem.h:12
–oxgl-end–!
Definition: Actor.h:14
Definition: file.h:18
Definition: STDFileSystem.h:8
Definition: FileSystem.h:27