Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef STAGOD_H_INCLUDED
- #define STAGOD_H_INCLUDED
- #include <iostream>
- using namespace std;
- enum StanjeTelevizora {UKLJUCEN, ISKLJUCEN, POKVAREN};
- class Televizor
- {
- private:
- int zvuk;
- int kanal;
- StanjeTelevizora stanje;
- public:
- Televizor();
- bool ukljuci();
- bool iskljuci();
- bool pokvari();
- bool popravi();
- bool pojacajZvuk();
- bool smanjiZvuk();
- bool SledeciKanal();
- bool prethodniKanal();
- string getStanje()const;
- int getZvuk()const;
- int getKanal() const;
- };
- #endif // STAGOD_HPP_INCLUDED
Add Comment
Please, Sign In to add comment