#include <winexe_ne.h>
Public Member Functions | |
void | clear () |
bool | loadFromEXE (SeekableReadStream *stream, DisposeAfterUse::Flag disposeFileHandle=DisposeAfterUse::YES) |
const Array< WinResourceID > | getIDList (const WinResourceID &type) const |
SeekableReadStream * | getResource (const WinResourceID &type, const WinResourceID &id) |
String | loadString (uint32 stringID) |
Public Member Functions inherited from Common::WinResources | |
virtual bool | loadFromEXE (const Path &fileName) |
virtual bool | loadFromCompressedEXE (const Path &fileName) |
virtual const Array< WinResourceID > | getLangList (const WinResourceID &type, const WinResourceID &id) const |
virtual SeekableReadStream * | getResource (const WinResourceID &type, const WinResourceID &id, const WinResourceID &lang) |
VersionInfo * | getVersionResource (const WinResourceID &id) |
Protected Member Functions | |
VersionInfo * | parseVersionInfo (SeekableReadStream *stream) |
Additional Inherited Members | |
Public Types inherited from Common::WinResources | |
typedef Common::HashMap< Common::String, Common::U32String, Common::IgnoreCase_Hash, Common::IgnoreCase_EqualTo > | VersionHash |
Static Public Member Functions inherited from Common::WinResources | |
static WinResources * | createFromEXE (const Path &fileName) |
static WinResources * | createFromEXE (SeekableReadStream *stream) |
A class able to load resources from a Windows New Executable, such as cursors, bitmaps, and sounds.
See http://en.wikipedia.org/wiki/New_Executable for more info.
|
virtual |
Clear all information.
Implements Common::WinResources.
|
virtual |
Load from a stream.
Implements Common::WinResources.
|
virtual |
Return a list of resources for a given type.
Implements Common::WinResources.
|
virtual |
Return a stream to the specified resource (or 0 if non-existent).
Implements Common::WinResources.
|
virtual |
Get a string from a string resource.
Implements Common::WinResources.