DEADSOFTWARE

Completely convert .odc to .txt using Visitor
[odcread.git] / store.h
diff --git a/store.h b/store.h
index da8434060bf2af7999e2440fb45e85fb33efaef6..4e7360e782170315dafd917c53816b6ae5d141c4 100644 (file)
--- a/store.h
+++ b/store.h
@@ -4,6 +4,7 @@
 #include <oberon.h>
 #include <domain.h>
 #include <typeregister.h>
+#include <visitor.h>
 
 #include <string>
 #include <vector>
@@ -131,6 +132,11 @@ namespace odc {
 
                virtual std::string toString();
 
+               /**
+                * Receiving end of the Visitor pattern.
+                */
+               virtual void accept(Visitor &visitor) const;
+
                private:
                void calcTypePath(TypePath * out, const std::string &name) const;
        };