/* * File: manager.h * Author: Robert I. Pitts * Last Modified: April 21, 2000 * Topic: Introduction to Polymorphism in C++ * ---------------------------------------------------------------- * * Manager class definition. */ #ifndef _MANAGER_H #define _MANAGER_H #include "employee.h" class Manager : public Employee { public: Manager(string theName, float thePayRate, bool isSalaried); bool getSalaried() const; virtual float pay(float hoursWorked) const; protected: bool salaried; }; #endif /* not defined _MANAGER_H */