mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +02:00
2021-09-16 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDAIRPLAY.LOGO_PATH' field to the database. * Incremented the database version to 355. * Added 'RDAirPlayConf::logoPath()' and 'RDAirPlayConf::setLogoPath()' methods. * Added a 'Logo Image' control to the 'Configure RDAirPlay' dialog in rdadmin(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
/*
|
||||
* Current Database Version
|
||||
*/
|
||||
#define RD_VERSION_DATABASE 354
|
||||
#define RD_VERSION_DATABASE 355
|
||||
|
||||
|
||||
#endif // DBVERSION_H
|
||||
|
@@ -736,6 +736,18 @@ void RDAirPlayConf::setSkinPath(const QString &path) const
|
||||
}
|
||||
|
||||
|
||||
QString RDAirPlayConf::logoPath() const
|
||||
{
|
||||
return RDGetSqlValue(air_tablename,"ID",air_id,"LOGO_PATH").toString();
|
||||
}
|
||||
|
||||
|
||||
void RDAirPlayConf::setLogoPath(const QString &path) const
|
||||
{
|
||||
SetRow("LOGO_PATH",path);
|
||||
}
|
||||
|
||||
|
||||
bool RDAirPlayConf::showCounters() const
|
||||
{
|
||||
return RDBool(RDGetSqlValue(air_tablename,"ID",air_id,"SHOW_COUNTERS").
|
||||
|
@@ -138,6 +138,8 @@ class RDAirPlayConf
|
||||
void setExitPassword(const QString &passwd) const;
|
||||
QString skinPath() const;
|
||||
void setSkinPath(const QString &path) const;
|
||||
QString logoPath() const;
|
||||
void setLogoPath(const QString &path) const;
|
||||
bool showCounters() const;
|
||||
void setShowCounters(bool state) const;
|
||||
int auditionPreroll() const;
|
||||
|
Reference in New Issue
Block a user