aboutsummaryrefslogtreecommitdiff
path: root/week12/Exercise3/Pager.h
diff options
context:
space:
mode:
Diffstat (limited to 'week12/Exercise3/Pager.h')
-rw-r--r--week12/Exercise3/Pager.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/week12/Exercise3/Pager.h b/week12/Exercise3/Pager.h
new file mode 100644
index 0000000..451112e
--- /dev/null
+++ b/week12/Exercise3/Pager.h
@@ -0,0 +1,19 @@
+#pragma once
+#include "MobileDevice.h"
+
+class Pager : public MobileDevice {
+ char* fileName;
+
+ void free();
+ void copyFrom(const Pager& other);
+
+public:
+ Pager();
+ ~Pager();
+ Pager(const Pager& other);
+ Pager& operator=(const Pager& other);
+ Pager(Pager&& other);
+ Pager& operator=(Pager&& other);
+
+ virtual void Show() override;
+};