mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-30 17:20:32 +01:00
2024-02-05 Fred Gleason <fredg@paravelsystems.com>
* Added a 'REPLICATORS.PROGRAM_CODE' field to the database. * Incremented the database version to 372. * Added 'RDReplicator::programCode()' and 'RDReplicator::setProgramCode()' methods. * Added a 'Program Code' control to the 'Rivendell Replicators' dialog in rdadmin(1). * Renamed the 'Citadel X-Digital Portal' replicator to 'X-Digital National ISCI Model'. * Added a 'X-Digital Cue Model' replicator. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -59,6 +59,18 @@ void RDReplicator::setStationName(const QString &str)
|
||||
}
|
||||
|
||||
|
||||
QString RDReplicator::programCode() const
|
||||
{
|
||||
return GetValue("PROGRAM_CODE").toString();
|
||||
}
|
||||
|
||||
|
||||
void RDReplicator::setProgramCode(const QString &str)
|
||||
{
|
||||
SetRow("PROGRAM_CODE",str);
|
||||
}
|
||||
|
||||
|
||||
QString RDReplicator::description() const
|
||||
{
|
||||
return GetValue("DESCRIPTION").toString();
|
||||
@@ -202,13 +214,17 @@ QString RDReplicator::typeString(RDReplicator::Type type)
|
||||
QString ret="Unknown type";
|
||||
switch(type) {
|
||||
case RDReplicator::TypeCitadelXds:
|
||||
ret="Citadel X-Digital Portal";
|
||||
ret="X-Digital National ISCI Model";
|
||||
break;
|
||||
|
||||
case RDReplicator::TypeWw1Ipump:
|
||||
ret="Westwood One Wegener Portal";
|
||||
break;
|
||||
|
||||
case RDReplicator::TypeXdsCue:
|
||||
ret="X-Digital Cue Model";
|
||||
break;
|
||||
|
||||
case RDReplicator::TypeLast:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user