- Timestamp:
- May 23, 2009, 10:05:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/overlays/notifications/Notification.h
r2911 r3034 56 56 Notification(const std::string & message); 57 57 virtual ~Notification(); 58 58 59 59 bool send(void); //!< Sends the Notification to the Notificationmanager, with sender NotificationManager::NONE; 60 60 bool send(const std::string & sender); //!< Sends the Notification to the Notificationmanager. 61 61 62 62 /** 63 63 @brief Checks whether the Notification was sent. … … 72 72 inline const std::string & getMessage(void) const 73 73 { return this->message_; } 74 74 75 75 inline const std::string & getSender(void) const 76 76 { return this->sender_; } 77 77 78 78 bool setMessage(const std::string & message); //!< Sets the message of the notification. 79 79 80 80 private: 81 81 std::string message_; //!< The Notification message. 82 82 std::string sender_; //!< The sender of the notification. 83 83 bool sent_; //!< Whether Notification has been sent, if so it cannot be changed. 84 84 85 85 void initialize(void); 86 86 87 87 }; 88 88
Note: See TracChangeset
for help on using the changeset viewer.