aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Asset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Asset.cpp')
-rw-r--r--src/crepe/api/Asset.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/crepe/api/Asset.cpp b/src/crepe/api/Asset.cpp
deleted file mode 100644
index 92ee50e..0000000
--- a/src/crepe/api/Asset.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <filesystem>
-
-#include "Asset.h"
-
-using namespace crepe::api;
-
-Asset::Asset(const std::string & src) {
- this->src = std::filesystem::canonical(src);
- this->file = std::ifstream(this->src, std::ios::in | std::ios::binary);
-}
-
-const std::istream & Asset::read() { return this->file; }
-
-const char * Asset::canonical() { return this->src.c_str(); }