54 class XspfXmlFormatter;
57 class XspfWriterPrivate;
79 XspfWriterPrivate *
const d;
112 XML_Char
const * baseUri,
bool embedBase =
false,
113 int * errorCode = NULL);
147 XML_Char
const * prefixSuggestion);
210 int writeFile(XML_Char
const * filename);
235 XML_Char
const * baseUri,
bool embedBase =
false);
241 void onBeforeWrite();
255 #endif // XSPF_WRITER_H
bool addTrack(XspfTrack const *track)
int writeMemory(char *&memory, int &numBytes)
File could not be opened.
XspfWriter & operator=(XspfWriter const &source)
static XspfWriter * makeWriter(XspfXmlFormatter &formatter, XML_Char const *baseUri, bool embedBase=false, int *errorCode=NULL)
Given base URI is not a valid absolute URI.
void reset(XspfXmlFormatter &formatter, XML_Char const *baseUri, bool embedBase=false)
bool setProps(XspfProps const *props)
static bool const EMBED_AS_XML_BASE
Base URI is embedded into the document.
bool registerNamespace(XML_Char const *uri, XML_Char const *prefixSuggestion)
int writeFile(XML_Char const *filename)
static bool const NO_XML_BASE
Base URI is not embedded into the document.