Changeset 10817 for code/branches/cpp11_v2/src/modules/notifications
- Timestamp:
- Nov 19, 2015, 11:40:28 AM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/modules/notifications
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/notifications/NotificationDispatcher.h
r9667 r10817 79 79 virtual ~NotificationDispatcher(); //!< Destructor. 80 80 81 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) ; //!< Method for creating a NotificationDispatcher object through XML.82 virtual void XMLEventPort(Element& xmlelement, XMLPort::Mode mode) ;81 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; //!< Method for creating a NotificationDispatcher object through XML. 82 virtual void XMLEventPort(Element& xmlelement, XMLPort::Mode mode) override; 83 83 84 84 /** -
code/branches/cpp11_v2/src/modules/notifications/NotificationManager.h
r9667 r10817 120 120 virtual ~NotificationManager(); 121 121 122 virtual void preDestroy(void) ; // Is called before the object is destroyed.122 virtual void preDestroy(void) override; // Is called before the object is destroyed. 123 123 124 124 /** … … 128 128 static NotificationManager& getInstance() { return Singleton<NotificationManager>::getInstance(); } // tolua_export 129 129 130 virtual bool registerNotification(const std::string& message, const std::string& sender, notificationMessageType::Value type) ;131 virtual bool executeCommand(notificationCommand::Value command, const std::string& sender) ;130 virtual bool registerNotification(const std::string& message, const std::string& sender, notificationMessageType::Value type) override; 131 virtual bool executeCommand(notificationCommand::Value command, const std::string& sender) override; 132 132 133 133 bool registerNotification(Notification* notification); // Registers a Notification within the NotificationManager. -
code/branches/cpp11_v2/src/modules/notifications/NotificationQueue.h
r9667 r10817 97 97 virtual ~NotificationQueue(); 98 98 99 virtual void tick(float dt) ; // To update from time to time.100 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) ;101 102 virtual void changedName(void) ;99 virtual void tick(float dt) override; // To update from time to time. 100 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; 101 102 virtual void changedName(void) override; 103 103 104 104 void update(void); // Updates the NotificationQueue. -
code/branches/cpp11_v2/src/modules/notifications/NotificationQueueCEGUI.h
r9667 r10817 73 73 virtual ~NotificationQueueCEGUI(); 74 74 75 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) ;75 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; 76 76 77 virtual void changedName(void) ;77 virtual void changedName(void) override; 78 78 79 79 void destroy(bool noGraphics = false); // Destroys the NotificationQueue. … … 136 136 void registerVariables(); 137 137 138 virtual void create(void) ; // Creates the NotificationQueue in lua.138 virtual void create(void) override; // Creates the NotificationQueue in lua. 139 139 140 virtual void notificationPushed(Notification* notification) ; // Is called by the NotificationQueue when a Notification was pushed141 virtual void notificationPopped(void) ; // Is called by the NotificationQueue when a Notification was popped.142 virtual void notificationRemoved(unsigned int index) ; // Is called when a Notification was removed.140 virtual void notificationPushed(Notification* notification) override; // Is called by the NotificationQueue when a Notification was pushed 141 virtual void notificationPopped(void) override; // Is called by the NotificationQueue when a Notification was popped. 142 virtual void notificationRemoved(unsigned int index) override; // Is called when a Notification was removed. 143 143 144 virtual void clear(bool noGraphics = false) ; // Clears the NotificationQueue by removing all NotificationContainers.144 virtual void clear(bool noGraphics = false) override; // Clears the NotificationQueue by removing all NotificationContainers. 145 145 146 146 protected:
Note: See TracChangeset
for help on using the changeset viewer.