#ifndef ACT_CONTROLLER #define ACT_CONTROLLER #include "code/return.h" class controller_t { public: enum error_t { none, unknown }; enum event_t { start, stop }; virtual void_t on_event(event_t event_p) = 0; }; #endif