mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-26 12:44:36 +00:00
* Remove stdafx.h and some <unordered_set> includes * Update Minecraft Server Defines and remove more unused folders/files * Unbloat stdafx.h from Minecraft.World
10 lines
237 B
C++
10 lines
237 B
C++
#include "File.h"
|
|
#include "InputOutputStream.h"
|
|
#include "InputStream.h"
|
|
|
|
InputStream *InputStream::getResourceAsStream(const wstring &fileName)
|
|
{
|
|
File file( fileName );
|
|
|
|
return file.exists() ? new FileInputStream( file ) : nullptr;
|
|
} |