mirror of https://gitlab.com/ita1024/waf.git
19 lines
288 B
C++
19 lines
288 B
C++
|
|
||
|
#include "HelloWorld.h"
|
||
|
HelloWorld::HelloWorld():m_message("Hello World")
|
||
|
{
|
||
|
}
|
||
|
|
||
|
HelloWorld::HelloWorld(const std::string & msg):m_message(msg)
|
||
|
{}
|
||
|
|
||
|
std::string HelloWorld::message() const
|
||
|
{
|
||
|
return m_message;
|
||
|
}
|
||
|
|
||
|
void HelloWorld::setMessage(const std::string & msg)
|
||
|
{
|
||
|
m_message = msg;
|
||
|
}
|