Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 23, 2009, 10:05:58 PM (15 years ago)
Author:
landauf
Message:

replaced tabs with spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/overlays/notifications/NotificationManager.h

    r2911 r3034  
    6060            NotificationManager();
    6161            virtual ~NotificationManager();
    62                
     62
    6363            static const std::string ALL;
    6464            static const std::string NONE;
    65          
     65
    6666            static NotificationManager & getInstance(); //! Returns a reference to the single instance of the NotificationManager.
    6767
    6868            bool registerNotification(Notification* notification); //!< Registers a Notification within the NotificationManager.
    6969            bool registerQueue(NotificationQueue* queue); //!< Registers a NotificationQueue within the NotificationManager.
    70            
     70
    7171            bool getNotifications(NotificationQueue* queue, std::multimap<std::time_t,Notification*>* map, const std::time_t & timeFrameStart, const std::time_t & timeFrameEnd); //!< Returns the Notifications for a specific NotificationQueue in a specified timeframe.
    72            
     72
    7373            /**
    7474            @brief Fetches the Notifications for a specific NotificationQueue starting at a specified time.
     
    8989            bool getNotifications(NotificationQueue* queue, std::multimap<std::time_t,Notification*>* map, int timeDelay)
    9090                { return this->getNotifications(queue, map, std::time(0)-timeDelay, std::time(0)); }
    91      
     91
    9292        private:
    9393            static NotificationManager* singletonRef_s;
    9494
    9595            int highestIndex_; //!< This variable holds the highest index (resp. key) in notificationLists_s, to secure that  no key appears twice.
    96        
     96
    9797            std::multimap<std::time_t,Notification*> allNotificationsList_; //!< Container where all notifications are stored (together with their respecive timestamps).
    9898            std::map<NotificationQueue*,int> queueList_; //!< Container where all NotificationQueues are stored with a number as identifier.
    9999            std::map<int,std::multimap<std::time_t,Notification*>*> notificationLists_; //!< Container where all Notifications, for each identifier (associated with a NotificationQueue), are stored.
    100            
     100
    101101
    102102    };
Note: See TracChangeset for help on using the changeset viewer.