Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2011, 10:11:23 PM (13 years ago)
Author:
scheusso
Message:

first attempt to make notifications synchronisable
not yet succeeded though (some callbacks missing)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/modules/notifications/NotificationQueue.h

    r8637 r8651  
    4747#include "core/BaseObject.h"
    4848#include "tools/interfaces/Tickable.h"
     49#include "network/synchronisable/Synchronisable.h"
    4950
    5051namespace orxonox
     
    8990    @ingroup Notifications
    9091    */
    91     class _NotificationsExport NotificationQueue : public BaseObject, public Tickable
     92    class _NotificationsExport NotificationQueue : public BaseObject, public Tickable, public Synchronisable
    9293    {
    9394
     
    99100            virtual void tick(float dt); // To update from time to time.
    100101            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    101 
     102            void registerVariables();
     103           
    102104            void update(void); // Updates the NotificationQueue.
    103105            void update(Notification* notification, const std::time_t & time); // Updates the NotificationQueue by adding an new Notification.
Note: See TracChangeset for help on using the changeset viewer.