#ifndef __Machine_H #define __Machine_H class Motor; class Mone; class Mtwo; class Machine { private: Motor* m1; Motor* m2; public: virtual ~Machine(){}; virtual Motor* motor1() = 0; virtual Motor* motor2() = 0; virtual void run() = 0; virtual void halt() = 0; }; #endif