#include <XspfExtensionReaderFactory.h>
Manages creation of XspfExtensionReader instances. XspfExtensionReaders can be registered/unregistered dynamically.
Definition at line 66 of file XspfExtensionReaderFactory.h.
◆ XspfExtensionReaderFactory() [1/2]
◆ XspfExtensionReaderFactory() [2/2]
Copy constructor.
- Parameters
-
source | Source to copy from |
◆ ~XspfExtensionReaderFactory()
◆ newPlaylistExtensionReader()
Creates a new XspfExtensionReader whose type was registered for this application URI.
- Parameters
-
applicationUri | Application URI |
reader | XspfReader for the extension reader |
- Returns
- New playlist extension reader
◆ newTrackExtensionReader()
Creates a new XspfExtensionReader whose type was registered for this application URI.
- Parameters
-
applicationUri | Application URI |
reader | XspfReader for the extension reader |
- Returns
- New track extension reader
◆ operator=()
Assignment operator.
- Parameters
-
source | Source to copy from |
◆ registerPlaylistExtensionReader()
void registerPlaylistExtensionReader |
( |
XspfExtensionReader const * |
example, |
|
|
XML_Char const * |
triggerUri |
|
) |
| |
Overwrites the registered reader for the given application URI. Pass NULL for the URI to make this the catch-all reader. The reader will be cloned internally so can safely delete the instance passed for registration.
- Parameters
-
example | Representative for the extension reader cleass |
triggerUri | Application URI associate, must not be NULL |
◆ registerTrackExtensionReader()
void registerTrackExtensionReader |
( |
XspfExtensionReader const * |
example, |
|
|
XML_Char const * |
triggerUri |
|
) |
| |
Overwrites the registered reader for the given application URI. Pass NULL for the URI to make this the catch-all reader. The reader will be cloned internally so can safely delete the instance passed for registration.
- Parameters
-
example | Representative for the extension reader cleass |
triggerUri | Application URI associate, must not be NULL |
◆ unregisterPlaylistExtensionReader()
void unregisterPlaylistExtensionReader |
( |
XML_Char const * |
triggerUri | ) |
|
Unregisteres the given application URI. NOTE: This URI will still be handled if a catch-all handler has been set.
- Parameters
-
triggerUri | Application URI to unregister |
◆ unregisterTrackExtensionReader()
void unregisterTrackExtensionReader |
( |
XML_Char const * |
triggerUri | ) |
|
Unregisteres the given application URI. NOTE: This URI will still be handled if a catch-all handler has been set.
- Parameters
-
triggerUri | Application URI to unregister |
The documentation for this class was generated from the following file: