[Orxonox-commit 3991] r8665 - code/branches/presentation/src/modules/notifications
dafrick at orxonox.net
dafrick at orxonox.net
Sun May 29 17:39:19 CEST 2011
Author: dafrick
Date: 2011-05-29 17:39:19 +0200 (Sun, 29 May 2011)
New Revision: 8665
Modified:
code/branches/presentation/src/modules/notifications/NotificationQueue.cc
Log:
Notifications should now work over the network. Thanks for the help, Oli.
Modified: code/branches/presentation/src/modules/notifications/NotificationQueue.cc
===================================================================
--- code/branches/presentation/src/modules/notifications/NotificationQueue.cc 2011-05-29 15:25:02 UTC (rev 8664)
+++ code/branches/presentation/src/modules/notifications/NotificationQueue.cc 2011-05-29 15:39:19 UTC (rev 8665)
@@ -179,12 +179,12 @@
*/
void NotificationQueue::registerVariables()
{
+ registerVariable( this->name_, VariableDirection::ToClient, new NetworkCallback<NotificationQueue>(this, &NotificationQueue::changedName));
registerVariable( this->maxSize_, VariableDirection::ToClient, new NetworkCallback<NotificationQueue>(this, &NotificationQueue::maxSizeChanged));
registerVariable( this->targets_, VariableDirection::ToClient, new NetworkCallback<NotificationQueue>(this, &NotificationQueue::targetsChanged));
registerVariable( this->displayTime_, VariableDirection::ToClient, new NetworkCallback<NotificationQueue>(this, &NotificationQueue::displayTimeChanged));
}
-
/**
@brief
Updates the NotificationQueue.
More information about the Orxonox-commit
mailing list