Started on file system.

This commit is contained in:
2016-06-09 20:16:31 -05:00
parent 867060b147
commit 0a88618345
5 changed files with 50 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 2.8.8)
add_library(
WFS
filestore.cpp
filesystem.cpp
_memops.cpp
_strops.cpp
)
+14
View File
@@ -0,0 +1,14 @@
/*
* Copyright 2015 - 2016 gtalent2@gmail.com
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "filesystem.hpp"
namespace wombat {
namespace fs {
}
}
+33
View File
@@ -0,0 +1,33 @@
/*
* Copyright 2015 - 2016 gtalent2@gmail.com
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef WOMBAT_FS_FILESYSTEM_HPP
#define WOMBAT_FS_FILESYSTEM_HPP
#include "_memops.hpp"
#include "_strops.hpp"
#include "_types.hpp"
#include "filestore.hpp"
namespace wombat {
namespace fs {
template<typename FileStore>
class FileSystem {
private:
FileStore *store = nullptr;
};
typedef FileSystem<FileStore16> FileSystem16;
typedef FileSystem<FileStore32> FileSystem32;
typedef FileSystem<FileStore64> FileSystem64;
}
}
#endif