mirror of
https://github.com/Patoke/LCERenewed.git
synced 2026-08-03 12:46:54 +00:00
feat: init
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user