#include "TestMod2.hpp" #include "Common.hpp" #include using namespace std; void Derived::hello( ) { Common::instance( ).print( "hello from module" ); } REGISTER_MODULE( "testmod2", 0, 0, Base, Derived )