22 #ifndef COMMON_WINEXE_NE_H 23 #define COMMON_WINEXE_NE_H 25 #include "common/list.h" 26 #include "common/str.h" 27 #include "common/formats/winexe.h" 40 template<
class T>
class Array;
41 class SeekableReadStream;
91 DisposeAfterUse::Flag _disposeFileHandle;
101 uint32 getResourceTableOffset();
103 bool readResourceTable(uint32 offset);
106 bool readNameTable(uint32 offset, uint32 size);
SeekableReadStream * getResource(const WinResourceID &type, const WinResourceID &id)
virtual bool loadFromEXE(const Path &fileName)
const Array< WinResourceID > getIDList(const WinResourceID &type) const
Definition: winexe_ne.h:49
String loadString(uint32 stringID)
Definition: algorithm.h:29
bool loadFromEXE(SeekableReadStream *stream, DisposeAfterUse::Flag disposeFileHandle=DisposeAfterUse::YES)