/*********************************************************** Copyright 2003 Rick Miller - Pulp Free Press This source code accompanies the text C++ For Artists and is provided for instructional purposes only. No warranty concerning the quality of the code is expressed or implied. You are free to use this code in your programs so long as this copyright notice is included in its entirety. **********************************************************/ #ifndef OIL_PUMP_H #define OIL_PUMP_H #include "aircraftutils.h" class OilPump { public: OilPump(PartStatus _status = Working, short engine_number = 0); ~OilPump(); PartStatus isWorkingProperly(); void setStatus(PartStatus _status); void registerWithEngineNumber(short _engine_number); short getRegisteredEngineNumber(); private: PartStatus status; short registered_engine_number; }; #endif