summaryrefslogtreecommitdiffstats
path: root/2022-2/L10/mitsuo/Generico.h
diff options
context:
space:
mode:
Diffstat (limited to '2022-2/L10/mitsuo/Generico.h')
-rw-r--r--2022-2/L10/mitsuo/Generico.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/2022-2/L10/mitsuo/Generico.h b/2022-2/L10/mitsuo/Generico.h
new file mode 100644
index 0000000..034aa52
--- /dev/null
+++ b/2022-2/L10/mitsuo/Generico.h
@@ -0,0 +1,26 @@
+/*
+ * File: Generico.h
+ * Author: mitsuo
+ *
+ * Created on 02 December 2022, 12:35
+ */
+
+#ifndef GENERICO_H
+#define GENERICO_H
+
+#include "Medicamento.h"
+
+class Generico : public Medicamento {
+public:
+ Generico();
+ Generico(const Generico& orig);
+ virtual ~Generico();
+
+ int lee(std::istream &input);
+ void imprime(std::ostream &output);
+private:
+ char * pais;
+};
+
+#endif /* GENERICO_H */
+