mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 07:10:11 +01:00
2017-03-01 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDCart::xmlSql()' and second 'RDCart::xml()' methods. * Refactored the 'RDCart::xml()' method to use a SQL query. * Refactored the Cart and Cut web methods in 'web/rdxport/carts.cpp' to use SQL queries.
This commit is contained in:
@@ -151,6 +151,11 @@ class RDCart
|
||||
const QString &cutname,RDConfig *config);
|
||||
bool create(const QString &groupname,RDCart::Type type);
|
||||
bool remove(RDStation *station,RDUser *user,RDConfig *config) const;
|
||||
static QString xmlSql(bool include_cuts);
|
||||
static QString xml(RDSqlQuery *q,bool include_cuts,bool absolute,
|
||||
RDSettings *settings=NULL,int cutnum=-1);
|
||||
static QString cutXml(unsigned cartnum,int cutnum,bool absolute,
|
||||
RDSettings *settings=NULL);
|
||||
static bool exists(unsigned cartnum);
|
||||
static QString playOrderText(RDCart::PlayOrder order);
|
||||
static QString usageText(RDCart::UsageCode usage);
|
||||
|
||||
Reference in New Issue
Block a user