DEADSOFTWARE

Completely convert .odc to .txt using Visitor
[odcread.git] / fold.h
diff --git a/fold.h b/fold.h
index ad566426064087187b09af61640a33f812b72d5a..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>
@@ -25,14 +25,21 @@ namespace odc {
                static const std::string TYPENAME;
                static const TypeProxy<Fold> PROXY;
 
+               Store *d_hidden;
+               SHORTCHAR *d_label;
+               bool d_collapsed;
+
                public:
                Fold(INTEGER id);
                static const std::string &getType();
                static const std::string *getSuper();
                virtual const std::string &getTypeName() const;
                virtual void internalize(Reader &reader);
+
+               virtual std::string toString();
+               virtual void accept(Visitor &visitor) const;
        };
 
 }
 
-#endif
+#endif // _FOLD_H_