#include "Action_free.h" Action_free::Action_free(void (*funk)()):funk(funk){ } void Action_free::perform(){ funk(); } Ptr mk_action(void (*funk)()){ return Ptr(new Action_free(funk)); }