Revision 2e526a15 server/include/MiddlewareROS.h

View differences:

server/include/MiddlewareROS.h
58 58
    void init(){};
59 59
    void tick(){};
60 60

  
61
    Utterance tts_call(std::string text){
62
        return Utterance();
61
    boost::shared_ptr<Utterance> tts_call(std::string text){
62
        return boost::shared_ptr<Utterance>(new Utterance());
63 63
    }
64 64

  
65 65
#else
......
68 68
    ~MiddlewareROS();
69 69
    void init();
70 70
    void tick();
71
    Utterance tts_call(std::string text);
71
    boost::shared_ptr<Utterance> tts_call(std::string text);
72 72

  
73 73
private:
74 74
    //boost::shared_ptr<ros::NodeHandle> node_handle;

Also available in: Unified diff