mirror of
https://git.neolegacy.dev/Elysium/Project-Elysium.git
synced 2026-08-09 15:41:22 +00:00
11 lines
264 B
C++
11 lines
264 B
C++
#include "stdafx.h"
|
|
#include "File.h"
|
|
#include "InputOutputStream.h"
|
|
#include "InputStream.h"
|
|
|
|
InputStream *InputStream::getResourceAsStream(const wstring &fileName)
|
|
{
|
|
File file( fileName );
|
|
|
|
return file.exists() ? new FileInputStream( file ) : NULL;
|
|
} |