summaryrefslogtreecommitdiff
path: root/tests/modules/libcommon/Common.cpp
blob: 82a4ae1838707e15a8c4b762ba9f7f880dbbb24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "Common.hpp"

#include <iostream>
#include <string>

using namespace std;

Common::Common( )
	: m_name( "noname" )
{
	cout << "Created common object" << endl;
}

Common::~Common( )
{
	cout << "Destroyed common object" << endl;
}

void Common::setName( string name )
{
	m_name = name;
}

void Common::print( string s )
{
	cout << m_name << ": " << s << endl;
}