diff options
Diffstat (limited to 'oop2w6/ShowVisitor.h')
-rw-r--r-- | oop2w6/ShowVisitor.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/oop2w6/ShowVisitor.h b/oop2w6/ShowVisitor.h new file mode 100644 index 0000000..a77d199 --- /dev/null +++ b/oop2w6/ShowVisitor.h @@ -0,0 +1,10 @@ +#pragma once + +#include "Visitor.h" + +class ShowVisitor : public Visitor { +public: + virtual void visit(Resistor&); + virtual void visit(Capacitor&); + virtual void visit(Inductor&); +}; |