diff options
| author | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
|---|---|---|
| committer | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
| commit | 33613a85afc4b1481367fbe92a17ee59c240250b (patch) | |
| tree | 670b842326116b376b505ec2263878912fca97e2 /Bachelor/Prog1/Prakt6/prg1p6_1/microwave.h | |
| download | Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2 | |
Diffstat (limited to 'Bachelor/Prog1/Prakt6/prg1p6_1/microwave.h')
| -rw-r--r-- | Bachelor/Prog1/Prakt6/prg1p6_1/microwave.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Bachelor/Prog1/Prakt6/prg1p6_1/microwave.h b/Bachelor/Prog1/Prakt6/prg1p6_1/microwave.h new file mode 100644 index 0000000..48d0654 --- /dev/null +++ b/Bachelor/Prog1/Prakt6/prg1p6_1/microwave.h @@ -0,0 +1,30 @@ +// Programmieren 1, Praktikum 6, Aufgabe 1
+// Author: Sven Eisenhauer
+// Date: 13.01.2005
+// File: mircowave.h
+// Description: class microwave
+
+#ifndef MICROW_1
+#define MICROW_1
+
+#include "frozenm.h"
+
+class Microwave {
+
+public:
+ Microwave(int = 20000);
+ ~Microwave();
+ void morePower();
+ void lessPower();
+ void setPeriod(double per) { period=per; }
+ void heatMeal(FrozenMeal &);
+ int getPower() { return power;}
+ double getPeriod() { return period; };
+
+private:
+ int power;
+ int volume;
+ double period;
+};
+
+#endif
\ No newline at end of file |
