summaryrefslogtreecommitdiffstats
path: root/Bachelor/Prog2/Prakt2/SmartHouse/Radio.h
diff options
context:
space:
mode:
authorSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
committerSven Eisenhauer <sven@sven-eisenhauer.net>2023-11-10 15:11:48 +0100
commit33613a85afc4b1481367fbe92a17ee59c240250b (patch)
tree670b842326116b376b505ec2263878912fca97e2 /Bachelor/Prog2/Prakt2/SmartHouse/Radio.h
downloadStudium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz
Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2
add new repoHEADmaster
Diffstat (limited to 'Bachelor/Prog2/Prakt2/SmartHouse/Radio.h')
-rw-r--r--Bachelor/Prog2/Prakt2/SmartHouse/Radio.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/Bachelor/Prog2/Prakt2/SmartHouse/Radio.h b/Bachelor/Prog2/Prakt2/SmartHouse/Radio.h
new file mode 100644
index 0000000..4f839f7
--- /dev/null
+++ b/Bachelor/Prog2/Prakt2/SmartHouse/Radio.h
@@ -0,0 +1,25 @@
+#ifndef _RADIO_H_
+#define _RADIO_H_
+
+#include "GeneralDevice.h"
+#include <iostream>
+
+//using std::istream;
+using std::ostream;
+
+class Radio : public GeneralDevice
+{
+ //friend ostream &operator<<( ostream&, const Radio& );
+
+public:
+ Radio();
+ Radio(char *);
+ virtual ~Radio();
+ virtual void operator++(int);
+ virtual void operator--(int);
+ virtual void print();
+private:
+ double volume;
+};
+
+#endif //_RADIO_H_