// appliance.h - header file for class Appliance (Nagler, p. 326 - // the "grandparent" class for multi-inheritance example) // cmc, 8/13/03 #ifndef APPLIANCE_H #define APPLIANCE_H class Appliance { public: // implicit inline functions Appliance() { } Appliance(double cost) : cost(cost) { } double getCost() const { return cost; } protected: double cost; }; #endif