waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

HelloWorld.cpp (288B)


      1 
      2 #include "HelloWorld.h"
      3 HelloWorld::HelloWorld():m_message("Hello World")
      4 {
      5 }
      6 
      7 HelloWorld::HelloWorld(const std::string & msg):m_message(msg)
      8 {}
      9 
     10 std::string HelloWorld::message() const
     11 {
     12   return m_message;
     13 }
     14 
     15 void HelloWorld::setMessage(const std::string & msg)
     16 {
     17   m_message = msg;
     18 }