00001
00002 #ifndef __J2K__HourlyWorker_HPP__
00003 #define __J2K__HourlyWorker_HPP__
00004
00005 #include <j2k/Fred/Job/Employee.hpp>
00006
00007 class HourlyWorker : public Employee {
00008 public:
00009
00010 inline HourlyWorker( const char* first, const char* last,
00011 double w, double h );
00012
00013 inline void setWage( double w );
00014 inline void setHours( double h );
00015
00016 inline double earnings() const;
00017 inline void printName() const;
00018 inline void printInfo() const;
00019
00020 private:
00021 double wage;
00022 double hours;
00023 };
00024
00025 #include <j2k/Fred/Job/HourlyWorker.inl>
00026
00027 #endif
00028