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/Notification.h

    r7456 r7474  
    5151        Damian 'Mozork' Frick
    5252    */
    53     class _NotificationsExport Notification : public BaseObject, public Synchronisable
     53    class _NotificationsExport Notification : public OrxonoxClass
    5454    {
    5555        public:
    56             Notification(BaseObject* creator);
    57             Notification(BaseObject* creator, const std::string & message);
     56            Notification();
     57            Notification(const std::string & message);
    5858            virtual ~Notification();
    5959
    60             bool send(unsigned int clientId, const std::string & sender); //!< Sends the Notification to the Notificationmanager.
    61             bool sendHelper(const std::string& sender);
     60            bool send(const std::string & sender); //!< Sends the Notification to the Notificationmanager.
    6261
    6362            /**
Note: See TracChangeset for help on using the changeset viewer.