mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02:00
2017-10-19 Fred Gleason <fredg@paravelsystems.com>
* Removed 'RDStation::broadcastSecurity()' and 'RDStation::setBroadcastSecurity()' methods.
This commit is contained in:
@@ -232,21 +232,6 @@ void RDStation::setBackupLife(int days) const
|
||||
}
|
||||
|
||||
|
||||
void RDStation::setBroadcastSecurity(BroadcastSecurityMode mode)
|
||||
{
|
||||
SetRow("BROADCAST_SECURITY",mode);
|
||||
}
|
||||
|
||||
|
||||
RDStation::BroadcastSecurityMode RDStation::broadcastSecurity() const
|
||||
{
|
||||
return (RDStation::BroadcastSecurityMode)RDGetSqlValue("STATIONS","NAME",
|
||||
station_name,
|
||||
"BROADCAST_SECURITY").
|
||||
toUInt();
|
||||
}
|
||||
|
||||
|
||||
unsigned RDStation::heartbeatCart() const
|
||||
{
|
||||
return RDGetSqlValue("STATIONS","NAME",station_name,"HEARTBEAT_CART").
|
||||
|
@@ -30,15 +30,6 @@ class RDStation
|
||||
{
|
||||
public:
|
||||
enum AudioDriver {None=0,Hpi=1,Jack=2,Alsa=3};
|
||||
/**
|
||||
* Enum to track the state of the broadcast applications security model.
|
||||
* @see setBroadcastSecurity()
|
||||
* @see broadcastSecurity()
|
||||
*/
|
||||
enum BroadcastSecurityMode {
|
||||
HostSec=0, /**< HostSec - original host (or no) security. */
|
||||
UserSec=1 /**< UserSec - user based security. */
|
||||
};
|
||||
enum Capability {HaveOggenc=0,HaveOgg123=1,HaveFlac=2,
|
||||
HaveLame=3,HaveMpg321=4,HaveTwoLame=5,HaveMp4Decode=6};
|
||||
enum FilterMode {FilterSynchronous=0,FilterAsynchronous=1};
|
||||
@@ -69,21 +60,6 @@ class RDStation
|
||||
void setBackupPath(QString path) const;
|
||||
int backupLife() const;
|
||||
void setBackupLife(int days) const;
|
||||
|
||||
/**
|
||||
* Set the Broadcast applications (rdairplay, rdlogedit, rdlogmanager)
|
||||
* security mode.
|
||||
*
|
||||
* @param mode An enum with the desired mode.
|
||||
*/
|
||||
void setBroadcastSecurity(BroadcastSecurityMode mode);
|
||||
|
||||
/**
|
||||
* Get the Broadcast applicaitons security mode.
|
||||
*
|
||||
* @return An enum with the current mode.
|
||||
*/
|
||||
BroadcastSecurityMode broadcastSecurity() const;
|
||||
unsigned heartbeatCart() const;
|
||||
void setHeartbeatCart(unsigned cartnum) const;
|
||||
unsigned heartbeatInterval() const;
|
||||
|
Reference in New Issue
Block a user