NCL Composer  0.1.5
 All Classes Functions Variables Pages
qnst.h
1 #ifndef QNST_H
2 #define QNST_H
3 
4 #define DEFAULT_BODY_WIDTH 750
5 #define DEFAULT_BODY_HEIGHT 500
6 
7 #define DEFAULT_CONTEXT_WIDTH 250
8 #define DEFAULT_CONTEXT_HEIGHT 200
9 
10 #define DEFAULT_MEDIA_WIDTH 48
11 #define DEFAULT_MEDIA_HEIGHT 64
12 
13 #define DEFAULT_INTERFACE_WIDTH 18
14 #define DEFAULT_INTERFACE_HEIGHT 18
15 
16 #define DEFAULT_AGGREGATOR_WIDTH 14
17 #define DEFAULT_AGGREGATOR_HEIGHT 14
18 
19 class Qnst
20 {
21 public:
22  enum EntityType
23  {
24  Node = 0,
25 
26  /* MEDIAS */
27  Media,
28  Image,
29  Audio,
30  Video,
31  Html,
32  NCL,
33  Text,
34  NCLua,
35  Settings,
36  /* END MEDIAS */
37 
38 
39  Aggregator, // \fixme this is here only for compatibility with versions
40  // prior to 0.1.3
41 
42  Compostion,
43  Body,
44  Context,
45  Switch,
46 
47  Interface,
48  Port,
49  Area,
50  SwitchPort,
51  Property,
52 
53  Edge,
54  Reference,
55  Link,
56  Mapping,
57  Condition,
58  Action,
59  Bind,
60  BindParam, /* Warning: This is not an Entity */
61 
62  NoType
63  };
64 
65  enum BindType
66  {
67  /* Conditions */
68  onBegin,
69  onEnd,
70  onSelection,
71  onResume,
72  onPause,
73  onBeginAttribution,
74  onEndAttribution,
75  onPauseAttribution,
76  onResumeAttribution,
77 
78  /* Actions */
79  Start,
80  Stop,
81  Resume,
82  Pause,
83  Set,
84 
85  NoBindType
86  };
87 };
88 
89 #endif // QNST_H