DEADSOFTWARE

Completely convert .odc to .txt using Visitor
[odcread.git] / store.h
diff --git a/store.h b/store.h
index 66e58b0cae59d4dd6d0d093c5cccbcf1d3d74b71..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>
@@ -130,7 +131,11 @@ namespace odc {
                // FIXME
 
                virtual std::string toString();
-               virtual std::string toPlainText();
+
+               /**
+                * Receiving end of the Visitor pattern.
+                */
+               virtual void accept(Visitor &visitor) const;
 
                private:
                void calcTypePath(TypePath * out, const std::string &name) const;