#include <DecoderInfo.h>
DecoderInfo is used to return static decoder information.
◆ canHandleEmbeddedResources()
virtual bool prt::DecoderInfo::canHandleEmbeddedResources |
( |
Status * |
status = 0 | ) |
const |
|
pure virtual |
Returns true if the corresponding decoder can handle embedded resources (and therefore has a matching ResolveMapProvider).
◆ getDescription()
virtual const wchar_t* prt::DecoderInfo::getDescription |
( |
Status * |
status = 0 | ) |
const |
|
pure virtual |
- Parameters
-
[out] | status | Optional pointer to return the status. |
- Returns
- the description of the corresponding decoder.
◆ getExtensions()
virtual const wchar_t* prt::DecoderInfo::getExtensions |
( |
Status * |
status = 0 | ) |
const |
|
pure virtual |
- Returns
- a ';' separated list of file extensions (with the leading '.') supported by this decoder.
◆ getIconsBase64()
virtual const char* const* prt::DecoderInfo::getIconsBase64 |
( |
size_t * |
iconsCount, |
|
|
Status * |
status = 0 |
|
) |
| const |
|
pure virtual |
- Parameters
-
| iconsCount | Number of returned icons |
[out] | status | Optional pointer to return the status. |
- Returns
- the decoder icon as base64-encoded PNG.
◆ getID()
virtual const wchar_t* prt::DecoderInfo::getID |
( |
Status * |
status = 0 | ) |
const |
|
pure virtual |
- Parameters
-
[out] | status | Optional pointer to return the status. |
- Returns
- the ID of the corresponding decoder.
◆ getMerit()
virtual double prt::DecoderInfo::getMerit |
( |
prt::Status * |
status = 0 | ) |
const |
|
pure virtual |
- Parameters
-
[out] | status | Optional pointer to return the status. |
- Returns
- the Merit of this encoder. Higher has precedence.
◆ getName()
virtual const wchar_t* prt::DecoderInfo::getName |
( |
Status * |
status = 0 | ) |
const |
|
pure virtual |
- Parameters
-
[out] | status | Optional pointer to return the status. |
- Returns
- the name of the corresponding decoder.
◆ getType()
- Parameters
-
[out] | status | Optional pointer to return the status. |
- Returns
- the content type this encoder can encode.
The documentation for this class was generated from the following file: