diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-12-14 18:44:50 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-12-14 18:44:50 +0100 |
commit | 114fb12ed445b0d7472655fc26da052a2a2aa167 (patch) | |
tree | 0c019f744470f11f76f3eea3a6c33a6fb7bdf3be /oop2w6/ShowVisitor.h | |
parent | 083b0f690ce69371473433cce7f238360188238d (diff) |
week 6 klaar
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&); +}; |