summaryrefslogtreecommitdiffstats
path: root/Bachelor/Prog2/Prakt2/SmartHouse/Heating.h
diff options
context:
space:
mode:
Diffstat (limited to 'Bachelor/Prog2/Prakt2/SmartHouse/Heating.h')
-rw-r--r--Bachelor/Prog2/Prakt2/SmartHouse/Heating.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/Bachelor/Prog2/Prakt2/SmartHouse/Heating.h b/Bachelor/Prog2/Prakt2/SmartHouse/Heating.h
new file mode 100644
index 0000000..d1e5d3c
--- /dev/null
+++ b/Bachelor/Prog2/Prakt2/SmartHouse/Heating.h
@@ -0,0 +1,26 @@
+#ifndef _HEATING_H_
+#define _HEATING_H_
+
+#include "GeneralDevice.h"
+#include <iostream>
+
+//using std::istream;
+using std::ostream;
+
+class Heating : public GeneralDevice
+{
+ //friend ostream &operator<<( ostream&, const Heating& );
+
+public:
+ Heating();
+ Heating(char *);
+ virtual ~Heating();
+ virtual void operator++(int);
+ virtual void operator--(int);
+ virtual void print();
+
+private:
+ float temperature;
+};
+
+#endif //_HEATING_H_