mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2016-03-23 Fred Gleason <fredg@paravelsystems.com>
* Added a 'CART.USE_WEIGHTING' field to the database. * Added a 'CUTS.PLAY_ORDER' field to the database. * Incremented the database version to 254. * Added a 'Schedule Cuts By' control to the Edit Cart dialog in 'rdlibrary/edit_cart.cpp' and 'rdlibrary/edit_cart.h'. * Added 'RDCart::useWeighting()' and 'RDCart::setUseWeighting()' methods in 'lib/rdcart.cpp' and 'lib/rdcart.h'. * Added 'RDCut::playOrder()' and 'RDCut::setPlayOrder()' methods in 'lib/rdcut.cpp' and 'lib/rdcut.h'.
This commit is contained in:
@@ -397,6 +397,19 @@ void RDCut::setWeight(int value) const
|
||||
}
|
||||
|
||||
|
||||
int RDCut::playOrder() const
|
||||
{
|
||||
return RDGetSqlValue("CUTS","CUT_NAME",cut_name,"PLAY_ORDER",cut_db).
|
||||
toInt();
|
||||
}
|
||||
|
||||
|
||||
void RDCut::setPlayOrder(int order) const
|
||||
{
|
||||
SetRow("PLAY_ORDER",order);
|
||||
}
|
||||
|
||||
|
||||
QDateTime RDCut::lastPlayDatetime(bool *valid) const
|
||||
{
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user