1 /* 2 * testuhr.h 3 * 4 * Autor: H.Drachenfels 5 * Erstellt am: 18.11.2019 6 */
7
8 #ifndef TESTUHR_H
9 #define TESTUHR_H
10
11 class testuhr final
12 {
13 public:
14 testuhr();
15 void stellen(int s, int m);
16 void ablesen(int& s, int& m) const;
17 // entity: kein copy und move
18 testuhr(const testuhr&) = delete;
19 testuhr& operator=(const testuhr&) = delete;
20 testuhr(testuhr&&) = delete;
21 testuhr& operator=(testuhr&&) = delete;
22 private:
23 int stunde;
24 int minute;
25 };
26
27 #endif
28