aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/InputStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/InputStream.cpp')
-rw-r--r--Minecraft.World/InputStream.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/Minecraft.World/InputStream.cpp b/Minecraft.World/InputStream.cpp
new file mode 100644
index 00000000..dbec82cc
--- /dev/null
+++ b/Minecraft.World/InputStream.cpp
@@ -0,0 +1,9 @@
+#include "stdafx.h"
+#include "File.h"
+#include "InputOutputStream.h"
+#include "InputStream.h"
+
+InputStream *InputStream::getResourceAsStream(const wstring &fileName)
+{
+ return new FileInputStream( File( fileName ) );
+} \ No newline at end of file