/* Assignment 3- Classes radio_orz.h Tom Orzechowski orzecht1@lasalle.edu This is the header file for the radio class */ #include //#include "radio_orz.cpp" using namespace std; class Radio { public: //constructors Radio (); Radio (bool onstart, double stationstart=101.1, int volumestart=2); void TogglePower(); //toggles between the power being on off bool TuneUp(); //goes up a radio station by .4 //and reports whether not it was successfull bool TuneDown(); //goes down a radio station by .4 //and reports whether not it was successfull bool VolumeUp(); // increases volume by 1 (max 10) //and reports whether not it was successfull bool VolumeDown(); // decreases volume by 1 (min 0) //and reports whether not it was successfull bool Preset(int number); //presets current station (buttons 1-6) //and reports if it was successfull bool GoPreset(int number); //goes to preset station and reports whether or not it //was successfull double GetStation(); //returns the current station int GetVolume(); //returns the current volume bool GetStatus(); //returns whether or not the radio is on private: double station; int volume; bool on; double preset[6]; }; //allows output for Radio object ostream& operator << (ostream & strOut, Radio & myRadio);