/* CSE 333 Su12 lecture 13 demo: alltogether/Salaried.h */ /* Gribble/Perkins */ // Class representing a salaried employee #ifndef _SALARIED_H_ #define _SALARIED_H_ #include class Salaried { public: Salaried(uint32_t salary) : salary_(salary) { } // Return the total earnings. virtual uint32_t get_salary() const; // Get the total earnings. virtual uint32_t Earnings() const; // Print the total earnings. virtual void PrintEarnings() const; private: uint32_t salary_; }; #endif // _SALARIED_H_