1 #ifndef _FOLD_H_
2 #define _FOLD_H_
4 #include <oberon.h>
5 #include <typeregister.h>
6 #include <store.h>
10 /**
11 * Supertype for views (in MVC framework).
12 * Included because a Fold is a View and not a Model, for some reason.
13 */
23 /**
24 * Just calls super and reads the version and checks that its in the allowed range.
25 */
27 };
29 /**
30 * Folds are collapsible components in a text document.
31 */
45 /**
46 * Calls super and reads the version and checks that its in the allowed range.
47 * Then reads the state of the Fold, including the hidden part.
48 */
53 };
55 }