mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02:00
2016-07-11 Fred Gleason <fredg@paravelsystems.com>
* Added rdxml_parse_test(1) in 'tests/'. * Added a RDCart::readXml()' method in 'lib/rdcart.cpp' and 'lib/rdcart.h'. * Fixed a typo in the 'averageSegueLength' field in the 'RDCart::xml()' method in 'lib/rdcart.cpp'. * Removed the 'validity' field from the output of the 'RDCart::xml()' method in 'lib/rdcart.cpp'. * Removed the 'validity' and 'localCounter' fields from the output of the 'RDCut::xml()' method in 'lib/rdcut.cpp'.
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <qdatetime.h>
|
||||
#include <qstringlist.h>
|
||||
#include <qvariant.h>
|
||||
|
||||
#include <rdconfig.h>
|
||||
#include <rdwavedata.h>
|
||||
@@ -158,8 +159,10 @@ class RDCart
|
||||
static bool removeCutAudio(RDStation *station,RDUser *user,unsigned cart_num,
|
||||
const QString &cutname,RDConfig *config);
|
||||
static void removePending(RDStation *station,RDUser *user,RDConfig *config);
|
||||
static unsigned readXml(std::vector<RDWaveData> *data,const QString &xml);
|
||||
|
||||
private:
|
||||
static QVariant GetXmlValue(const QString &tag,const QString &line);
|
||||
QString GetNextCut(RDSqlQuery *q) const;
|
||||
int GetNextFreeCut() const;
|
||||
RDCut::Validity ValidateCut(RDSqlQuery *q,bool enforce_length,
|
||||
|
Reference in New Issue
Block a user