[2779] | 1 | /* |
---|
| 2 | * ORXONOX - the hottest 3D action shooter ever to exist |
---|
| 3 | * > www.orxonox.net < |
---|
| 4 | * |
---|
| 5 | * |
---|
| 6 | * License notice: |
---|
| 7 | * |
---|
| 8 | * This program is free software; you can redistribute it and/or |
---|
| 9 | * modify it under the terms of the GNU General Public License |
---|
| 10 | * as published by the Free Software Foundation; either version 2 |
---|
| 11 | * of the License, or (at your option) any later version. |
---|
| 12 | * |
---|
| 13 | * This program is distributed in the hope that it will be useful, |
---|
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See thes |
---|
| 16 | * GNU General Public License for more details. |
---|
| 17 | * |
---|
| 18 | * You should have received a copy of the GNU General Public License |
---|
| 19 | * along with this program; if not, write to the Free Software |
---|
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
---|
| 21 | * |
---|
| 22 | * Author: |
---|
| 23 | * Damian 'Mozork' Frick |
---|
| 24 | * Co-authors: |
---|
| 25 | * ... |
---|
| 26 | * |
---|
| 27 | */ |
---|
[5693] | 28 | |
---|
[2779] | 29 | #ifndef _QuestNotification_H__ |
---|
| 30 | #define _QuestNotification_H__ |
---|
| 31 | |
---|
[5722] | 32 | #include "questsystem/QuestsystemPrereqs.h" |
---|
[2779] | 33 | |
---|
| 34 | #include <string> |
---|
[5693] | 35 | #include "notifications/Notification.h" |
---|
[2779] | 36 | |
---|
| 37 | namespace orxonox { |
---|
| 38 | |
---|
| 39 | /** |
---|
| 40 | @brief |
---|
[7163] | 41 | The QuestNotification is a special Notification that has the single property that it is only sent by the questsystem. |
---|
[2779] | 42 | @author |
---|
| 43 | Damian 'Mozork' Frick |
---|
| 44 | */ |
---|
[5722] | 45 | class _QuestsystemExport QuestNotification : public Notification |
---|
[2779] | 46 | { |
---|
| 47 | public: |
---|
[7163] | 48 | QuestNotification(BaseObject* creator); //!< Default Constructor. |
---|
| 49 | QuestNotification(BaseObject* creator, const std::string & message); //!< Constructor. |
---|
| 50 | virtual ~QuestNotification(); //!< Destructor. |
---|
[5693] | 51 | |
---|
[7163] | 52 | bool send(void); //!< Send the QuestNotification. |
---|
[5693] | 53 | |
---|
[2779] | 54 | private: |
---|
[7163] | 55 | static const std::string SENDER; //!< A string identifying the questsystem as the sender. |
---|
[5693] | 56 | |
---|
[2779] | 57 | }; |
---|
| 58 | |
---|
| 59 | } |
---|
| 60 | |
---|
| 61 | #endif /* _QuestNotification_H__ */ |
---|