Mercurial > projects > doodle
comparison doodle/import/new.d @ 28:1754cb773d41
Part-way through getting to compile with configure/builder.
author | Graham St Jack <graham.stjack@internode.on.net> |
---|---|
date | Sun, 02 Aug 2009 16:27:21 +0930 |
parents | import/new.d@e907d2c54ec3 |
children | 960b408d3ac5 |
comparison
equal
deleted
inserted
replaced
27:f3d91579bb28 | 28:1754cb773d41 |
---|---|
1 import types; | |
2 import tango.util.collection.ArraySeq; | |
3 | |
4 interface IProperty { | |
5 } | |
6 | |
7 interface ISemanticModelBridge { | |
8 char[] presentation(); | |
9 } | |
10 | |
11 interface ISimpleSemanticModelElement : ISemanticModelBridge { | |
12 char[] type_info(); | |
13 } | |
14 | |
15 interface IDiagramElement { | |
16 bool is_visible(); | |
17 IProperty[] get_properties(); | |
18 | |
19 void accept(in IVisitor visitor); | |
20 } | |
21 | |
22 interface IVisitor { | |
23 void visit(in IGraphNode node); | |
24 void visit(in IGraphEdge edge); | |
25 } | |
26 | |
27 interface IGraphElement : IDiagramElement { | |
28 } | |
29 | |
30 interface IGraphNode : IGraphElement { | |
31 } | |
32 | |
33 interface IGraphEdge : IGraphElement { | |
34 } | |
35 | |
36 interface IGraphConnector { | |
37 Point point(); | |
38 IGraphElement element(); | |
39 IGraphEdge[] edges(); | |
40 } |