DEADSOFTWARE

Fold toString()
[odcread.git] / fold.h
1 #ifndef _TEXTMODEL_H_
2 #define _TEXTMODEL_H_
4 #include <oberon.h>
5 #include <typeregister.h>
6 #include <store.h>
8 namespace odc {
10 class View : public Store {
11 private:
12 static const std::string TYPENAME;
13 static const TypeProxy<View> PROXY;
15 public:
16 View(INTEGER id);
17 static const std::string &getType();
18 static const std::string *getSuper();
19 virtual const std::string &getTypeName() const;
20 virtual void internalize(Reader &reader);
21 };
23 class Fold : public View {
24 private:
25 static const std::string TYPENAME;
26 static const TypeProxy<Fold> PROXY;
28 Store *d_hidden;
29 SHORTCHAR *d_label;
31 public:
32 Fold(INTEGER id);
33 static const std::string &getType();
34 static const std::string *getSuper();
35 virtual const std::string &getTypeName() const;
36 virtual void internalize(Reader &reader);
38 virtual std::string toString();
39 };
41 }
43 #endif