mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2018-05-17 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDAIRPLAY.VIRTUAL_EXIT_CODE' field to the database. * Incremented the database version to 281. * Added 'RDAirPlayConf::virtualExitCode()' and 'RDAirPlayConf::setVirtualExitCode()' methods. * Implemented Start/Stop settings for vlogs.
This commit is contained in:
@@ -759,6 +759,19 @@ void RDAirPlayConf::setExitCode(RDAirPlayConf::ExitCode code) const
|
||||
}
|
||||
|
||||
|
||||
RDAirPlayConf::ExitCode RDAirPlayConf::virtualExitCode() const
|
||||
{
|
||||
return (RDAirPlayConf::ExitCode)
|
||||
RDGetSqlValue(air_tablename,"ID",air_id,"VIRTUAL_EXIT_CODE").toInt();
|
||||
}
|
||||
|
||||
|
||||
void RDAirPlayConf::setVirtualExitCode(RDAirPlayConf::ExitCode code) const
|
||||
{
|
||||
SetRow("VIRTUAL_EXIT_CODE",(int)code);
|
||||
}
|
||||
|
||||
|
||||
bool RDAirPlayConf::exitPasswordValid(const QString &passwd) const
|
||||
{
|
||||
QString sql;
|
||||
|
||||
Reference in New Issue
Block a user