#include <winexe_pe.h>
Public Member Functions | |
| void | clear () override |
| bool | loadFromEXE (SeekableReadStream *stream, DisposeAfterUse::Flag disposeFileHandle=DisposeAfterUse::YES) override |
| const Array< WinResourceID > | getIDList (const WinResourceID &type) const override |
| const Array< WinResourceID > | getLangList (const WinResourceID &type, const WinResourceID &id) const override |
| SeekableReadStream * | getResource (const WinResourceID &type, const WinResourceID &id) override |
| SeekableReadStream * | getResource (const WinResourceID &type, const WinResourceID &id, const WinResourceID &lang) override |
| String | loadString (uint32 stringID) override |
| const Array< WinResourceID > | getTypeList () const |
Public Member Functions inherited from Common::WinResources | |
| virtual bool | loadFromEXE (const Path &fileName) |
| virtual bool | loadFromCompressedEXE (const Path &fileName) |
| VersionInfo * | getVersionResource (const WinResourceID &id) |
Protected Member Functions | |
| VersionInfo * | parseVersionInfo (SeekableReadStream *stream) override |
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 Portable Executable, such as cursors, bitmaps, and sounds.
|
overridevirtual |
Clear all information.
Implements Common::WinResources.
|
overridevirtual |
Load from a stream.
Implements Common::WinResources.
|
overridevirtual |
Return a list of IDs for a given type.
Implements Common::WinResources.
|
overridevirtual |
Return a list of languages for a given type and ID.
Reimplemented from Common::WinResources.
|
overridevirtual |
Return a stream to the specified resource, taking the first language found (or 0 if non-existent).
Implements Common::WinResources.
|
overridevirtual |
Return a stream to the specified resource (or 0 if non-existent).
Reimplemented from Common::WinResources.
|
overridevirtual |
Get a string from a string resource.
Implements Common::WinResources.
| const Array<WinResourceID> Common::PEResources::getTypeList | ( | ) | const |
Return a list of resource types.