mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-13 06:03:37 +02:00
2018-03-11 Fred Gleason <fredg@paravelsystems.com>
* Converted ripcd(8) to use RDApplication. * Documented a 'Notification' message type in 'docs/apis/notification.xml'. * Added an 'RDMulticaster' class. * Added an 'mcast_recv_test' program in 'tests/'. * Added a 'SYSTEM.NOTIFICATION_ADDRESS' field to the database. * Incremented the database version to 276. * Added an 'Mcast Address for Notifications' control to the 'System-Wide Settings' dialog in rdadmin(1). * Implemented the 'Process Notification' ['ON'] command in ripcd(8). * Added an 'RDRipc::sendNotification()' method. * Added an 'RDRipc::notificationReceived()' signal.
This commit is contained in:
@@ -174,6 +174,18 @@ void RDSystem::setShowUserList(bool state) const
|
||||
}
|
||||
|
||||
|
||||
QHostAddress RDSystem::notificationAddress() const
|
||||
{
|
||||
return QHostAddress(GetValue("NOTIFICATION_ADDRESS").toString());
|
||||
}
|
||||
|
||||
|
||||
void RDSystem::setNotificationAddress(const QHostAddress &addr)
|
||||
{
|
||||
SetRow("NOTIFICATION_ADDRESS",addr.toString());
|
||||
}
|
||||
|
||||
|
||||
QString RDSystem::xml() const
|
||||
{
|
||||
QString xml="<systemSettings>\n";
|
||||
|
Reference in New Issue
Block a user