blob: 972ccb012e8be47dca7cae664f21496d64e3d508 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "TestMod2.hpp"
#include "Common.hpp"
#include <iostream>
using namespace std;
void Derived::hello( )
{
Common::instance( ).print( "hello from module" );
}
REGISTER_MODULE( "testmod2", Base, Derived )
|