|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Auxiliary class to serialize/deserialize the dvd state (into/from XML) More...
#include <DVDStateSerializer.h>
Public Member Functions | |
| CDVDStateSerializer ()=default | |
| Default constructor. | |
| ~CDVDStateSerializer ()=default | |
| Default destructor. | |
| bool | XMLToDVDState (DVDState &state, const std::string &xmlstate) |
| Provided the state in xml format, fills a DVDState struct representing the DVD state and returns the success status of the operation. | |
| bool | DVDStateToXML (std::string &xmlstate, const DVDState &state) |
| Provided the DVDState struct of the current playing dvd, serializes the struct to XML. | |
Auxiliary class to serialize/deserialize the dvd state (into/from XML)
|
default |
Default constructor.
|
default |
Default destructor.
Provided the DVDState struct of the current playing dvd, serializes the struct to XML.
| [in,out] | xmlstate | a string describing the dvd state (XML) |
| state | the DVD state struct |
Provided the state in xml format, fills a DVDState struct representing the DVD state and returns the success status of the operation.
| [in,out] | state | the DVD state struct to be filled |
| xmlstate | a string describing the dvd state (XML) |