2020-10-07 Fred Gleason <fredg@paravelsystems.com>

* Added a 'SERVICES.SUB_EVENT_INHERITANCE' field to the
	database.
	* Incremented the database version to 339.
	* Added 'RDSvc::subEventInheritance()' and
	'RDSvc::setSubEventInheritance()' methods.
	* Added an 'Inline Traffic Inheritance' control to the 'Edit Service'
	dialog in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-10-07 14:01:11 -04:00
parent 92a019aebb
commit 2e60ea8f0b
17 changed files with 185 additions and 37 deletions

View File

@@ -40,6 +40,7 @@ class RDSvc : public QObject
Title=6,StartHours=7,StartMinutes=8,StartSeconds=9,
LengthHours=10,LengthMinutes=11,LengthSeconds=12};
enum ShelflifeOrigin {OriginAirDate=0,OriginCreationDate=1};
enum SubEventInheritance {ParentEvent=0,SchedFile=1};
RDSvc(QString svcname,RDStation *station,RDConfig *config,QObject *parent=0);
QString name() const;
bool exists() const;
@@ -67,6 +68,8 @@ class RDSvc : public QObject
void setIncludeImportMarkers(bool state);
bool chainto() const;
void setChainto(bool state) const;
SubEventInheritance subEventInheritance() const;
void setSubEventInheritance(SubEventInheritance inherit) const;
QString importTemplate(ImportSource src) const;
void setImportTemplate(ImportSource src,const QString &str) const;
QString breakString() const;