summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx/ns_colourablesquare.eo
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-05-08 12:19:48 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-05-08 12:19:48 -0300
commit3e8db298f70932ce7b2f5296d44b262a615ea87c (patch)
treeb457c8f2e3f3ce61973101180762cfc05007377d /src/examples/eolian_cxx/ns_colourablesquare.eo
parent2c563e3f0ad01fe5915ec081a4feef69a6bc47e1 (diff)
eolian-cxx: Disable example and fix new naming standard
Fixed naming standard in some tests and disabled the callback test while Ecore Eo API is still rapidly changing
Diffstat (limited to 'src/examples/eolian_cxx/ns_colourablesquare.eo')
-rw-r--r--src/examples/eolian_cxx/ns_colourablesquare.eo28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/examples/eolian_cxx/ns_colourablesquare.eo b/src/examples/eolian_cxx/ns_colourablesquare.eo
new file mode 100644
index 0000000000..70fb471e1f
--- /dev/null
+++ b/src/examples/eolian_cxx/ns_colourablesquare.eo
@@ -0,0 +1,28 @@
1class Ns.ColourableSquare (Ns.Colourable)
2{
3 legacy_prefix: legacy;
4 data: ColourableSquare_Data;
5 methods {
6 @property size {
7 set {
8 [[Sets size.]]
9 }
10 get {
11 [[Gets size.]]
12 }
13 values {
14 size: int; [[The size.]]
15 }
16 }
17 size_constructor {
18 legacy: null;
19 params {
20 @in size: int;
21 }
22 }
23 size_print { [[Show the square.]] }
24 }
25 constructors {
26 .size_constructor;
27 }
28}