DEADSOFTWARE

Completely convert .odc to .txt using Visitor
[odcread.git] / fold.h
diff --git a/fold.h b/fold.h
index e53e06d08ce1ee65d41128610b8101d6126f21cf..589b76b28783fa740cb718e700231fbb09a9d0d8 100644 (file)
--- a/fold.h
+++ b/fold.h
@@ -1,5 +1,5 @@
-#ifndef _TEXTMODEL_H_
-#define _TEXTMODEL_H_
+#ifndef _FOLD_H_
+#define _FOLD_H_
 
 #include <oberon.h>
 #include <typeregister.h>
@@ -27,6 +27,7 @@ namespace odc {
 
                Store *d_hidden;
                SHORTCHAR *d_label;
+               bool d_collapsed;
 
                public:
                Fold(INTEGER id);
@@ -36,9 +37,9 @@ namespace odc {
                virtual void internalize(Reader &reader);
 
                virtual std::string toString();
-               virtual std::string toPlainText();
+               virtual void accept(Visitor &visitor) const;
        };
 
 }
 
-#endif
+#endif // _FOLD_H_