Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 21, 2010, 11:15:44 PM (14 years ago)
Author:
dafrick
Message:

Synchronizing Notifications.
In the course of that, notifications are not longer sent by creating a Notification and the calling notification.send() bur by letting the NotificationManager handle all this: NotificationManager::getInstance().sendNotification(message)
This made QuestNotification obsolete, thus it was removde.

Also did some work on synchronizing the Script class. It should work properly most of the time, but the current solution is unreliable and unsatisfactory. So this will change as soon as I know how.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/notifications/NotificationDispatcher.h

    r7456 r7474  
    4040#include <string>
    4141#include "core/BaseObject.h"
     42#include "network/synchronisable/Synchronisable.h"
    4243
    4344namespace orxonox
     
    5051        Damian 'Mozork' Frick
    5152    */
    52     class _NotificationsExport NotificationDispatcher : public BaseObject
     53    class _NotificationsExport NotificationDispatcher : public BaseObject, public Synchronisable
    5354    {
    5455        public:
     
    7273            std::string sender_; //!< The name of the sender of the Notification dispatched by this NotificationDispatcher.
    7374
     75           void registerVariables(void);
     76
    7477            /**
    7578            @brief Set the sender of the Notification dispatched by this NotificationDispatcher.
Note: See TracChangeset for help on using the changeset viewer.