2018-05-16 Fred Gleason <fredg@paravelsystems.com>

* Added virtual log entries to the 'RDAIRPLAY_CHANNELS' table.
	* Incremented the database version to 279.
	* Added 'RDAirPlayConf::virtualCard()', 'RDAirPlay::setVirtualCard()',
	'RDAirPlayConf::virtualPort()', 'RDAirPlay::setVirtualPort()',
	'RDAirPlayConf::virtualStartRml()',
	'RDAirPlayConf::setVirtualStartRml()',
	'RDAirPlayConf::virtualStopRml()',
	'RDAirPlayConf::setVirtualStopRml()' methods.
	* Added a 'Virtual Log Outputs' subsection to the
	'Channel Assignments' section of the 'Configure RDAirPlay' dialog
	in rdadmin(1).
This commit is contained in:
Fred Gleason
2018-05-16 21:46:02 +00:00
parent fd7b71f345
commit 4cd5d91b10
16 changed files with 333 additions and 25 deletions

View File

@@ -271,6 +271,10 @@ void MainObject::Revert(int schema) const
case 278:
Revert278();
break;
case 279:
Revert279();
break;
}
}
@@ -1005,6 +1009,19 @@ void MainObject::Revert278() const
}
void MainObject::Revert279() const
{
QString sql;
RDSqlQuery *q;
sql=QString("delete from RDAIRPLAY_CHANNELS where INSTANCE>=100");
q=new RDSqlQuery(sql,false);
delete q;
SetVersion(278);
}
int MainObject::GetVersion() const
{
QString sql;
@@ -1051,7 +1068,7 @@ int MainObject::MapSchema(const QString &ver)
version_map["2.17"]=268;
version_map["2.18"]=272;
version_map["2.19"]=275;
version_map["2.20"]=278;
version_map["2.20"]=279;
//
// Normalize String

View File

@@ -74,6 +74,7 @@ class MainObject : public QObject
void Revert276() const;
void Revert277() const;
void Revert278() const;
void Revert279() const;
int GetVersion() const;
void SetVersion(int schema) const;
int MapSchema(const QString &ver);