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