Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 31, 2016, 4:11:28 PM (7 years ago)
Author:
dmoritz
Message:

Updated Dialogue Class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Dialog_HS16/src/modules/notifications/dispatchers/Dialogue.h

    r11247 r11261  
    33#define _Dialogue_H__
    44#include <string>       
    5 #include "core/BaseObject.h"
     5//#include "core/BaseObject.h"
     6
     7#include "notifications/NotificationsPrereqs.h"
     8
     9#include "notifications/NotificationDispatcher.h"
    610
    711namespace orxonox{
    812
    9 class Dialogue: public BaseObject{
     13class _NotificationsExport Dialogue: public NotificationDispatcher{
    1014
    1115        public:
     
    1721            const std::string& getMessage(void)
    1822                { return this->message_; }
    19 
    20             void setMessage(const std::string& message)
    21                 { this->message_ = message; }
     23         //   const std::string& getSpeaker(void)
     24            //  {return this->speaker_;}
    2225
    2326    protected:
    2427        virtual const std::string& createNotificationMessage(void)
    2528                { return this->message_; }
     29       // virtual const std::string& createNotificationSpeaker(void)
     30        //              { return this->speaker_; }
    2631    private:
    2732                std::string message_;
     33        //      std::string speaker_;
     34
     35                void setMessage(const std::string& message)
     36                { this->message_ = message; }
     37           // void setSpeaker(const std::string& speaker)
     38            //  { this->speaker_ = speaker;}
    2839        } ;       
    2940
Note: See TracChangeset for help on using the changeset viewer.