// elevatorButton.h // Definition for class ElevatorButton. #ifndef ELEVATORBUTTON_H #define ELEVATORBUTTON_H #include "button.h" class Elevator; // forward declaration class ElevatorButton : public Button { public: ElevatorButton( Elevator & ); // constructor ~ElevatorButton(); // destructor void pressButton(); // press the button }; #endif // ELEVATORBUTTON_H