summaryrefslogtreecommitdiffstats
path: root/Bachelor/Prog2/Prakt2/SmartHouse/Coffeemachine.h
blob: d5d2ac5decce33079b90aeea8ebe7b52108fb9b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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_