Tuner - double CurrentFrequency(); // return current tuner...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
// TUNER.H // Tuner class definition / #ifndef _TUNER_H #define _TUNER_H # #include "on_off.h" // defines the constants ON and OFF # class Tuner { public: Tuner(); // constructor void On(); // turn tuner on void Off(); // turn tuner off void Frequency(double NewFrequency); // set tuner frequency
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: double CurrentFrequency(); // return current tuner frequency private: int power; // power status (on or off) double frequency; // stores tuner frequency }; } #endif...
View Full Document

Ask a homework question - tutors are online