aboutsummaryrefslogtreecommitdiff
path: root/oop2w6/IComponent.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-12-14 18:44:50 +0100
committerlonkaars <loek@pipeframe.xyz>2022-12-14 18:44:50 +0100
commit114fb12ed445b0d7472655fc26da052a2a2aa167 (patch)
tree0c019f744470f11f76f3eea3a6c33a6fb7bdf3be /oop2w6/IComponent.h
parent083b0f690ce69371473433cce7f238360188238d (diff)
week 6 klaar
Diffstat (limited to 'oop2w6/IComponent.h')
-rw-r--r--oop2w6/IComponent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/oop2w6/IComponent.h b/oop2w6/IComponent.h
index 9ec31ca..d48ad85 100644
--- a/oop2w6/IComponent.h
+++ b/oop2w6/IComponent.h
@@ -1,9 +1,12 @@
#pragma once
+#include "Visitor.h"
+
class IComponent {
public:
IComponent() {}
virtual ~IComponent() {}
virtual double getValue() = 0;
+ virtual void accept(Visitor&) = 0;
};