aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Resource.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-22 11:35:47 +0200
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-22 11:35:47 +0200
commit176ac90fce318334f1377d94d6e637e1eff84c3c (patch)
tree104b86fc3537fd82c7b9dd731ee716c51441ca31 /src/crepe/api/Resource.h
parentedfcb27fe37fdcf08622863f331960325e3899ac (diff)
parent77555730e3ddb811b9ce8470659663e3f1573de2 (diff)
Merge branch 'master' into niels/rendering
Diffstat (limited to 'src/crepe/api/Resource.h')
-rw-r--r--src/crepe/api/Resource.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/crepe/api/Resource.h b/src/crepe/api/Resource.h
deleted file mode 100644
index f2b2a0e..0000000
--- a/src/crepe/api/Resource.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-
-#include <fstream>
-#include <iostream>
-#include <string>
-
-namespace crepe::api {
-
-class Resource {
-public:
- Resource(const std::string & src);
-
-public:
- //! Get an input stream to the contents of this resource
- const std::istream & read();
- //! Get the canonical path to this resource
- const char * canonical();
-
-private:
- std::string src;
- std::ifstream file;
-};
-
-} // namespace crepe::api