summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-01-23 11:18:45 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-01-23 11:18:45 +0100
commitaf8036ab172b71bc6a1816f7772761cc62db5e2f (patch)
tree31c50483828cbe9e4cea28cccd099251d692c500
parent9751e2ed828c24807b73272efdbf576cf0c3c2d1 (diff)
Adapt EO tutorials to latest Eolian inheritance syntax
Rectangle(Efl.Object, ...) -> Rectangle extends Efl.Object implements ...
-rw-r--r--tutorial/c/eo-classes/src/example_rectangle.eo2
-rw-r--r--tutorial/c/eo-inherit/src/example_rectangle.eo2
-rw-r--r--tutorial/c/eo-inherit/src/example_square.eo2
-rw-r--r--tutorial/c/eo-multiinherit/src/example_circle.eo2
-rw-r--r--tutorial/c/eo-multiinherit/src/example_rectangle.eo2
-rw-r--r--tutorial/c/eo-multiinherit/src/example_square.eo2
6 files changed, 6 insertions, 6 deletions
diff --git a/tutorial/c/eo-classes/src/example_rectangle.eo b/tutorial/c/eo-classes/src/example_rectangle.eo
index df4387b..06d6751 100644
--- a/tutorial/c/eo-classes/src/example_rectangle.eo
+++ b/tutorial/c/eo-classes/src/example_rectangle.eo
@@ -1,4 +1,4 @@
1class Example.Rectangle (Efl.Object) { 1class Example.Rectangle extends Efl.Object {
2 methods { 2 methods {
3 @property width { 3 @property width {
4 set { 4 set {
diff --git a/tutorial/c/eo-inherit/src/example_rectangle.eo b/tutorial/c/eo-inherit/src/example_rectangle.eo
index 5d53f52..6df6081 100644
--- a/tutorial/c/eo-inherit/src/example_rectangle.eo
+++ b/tutorial/c/eo-inherit/src/example_rectangle.eo
@@ -1,4 +1,4 @@
1class Example.Rectangle (Efl.Object) { 1class Example.Rectangle extends Efl.Object {
2 [[A rectangle shape object]] 2 [[A rectangle shape object]]
3 methods { 3 methods {
4 @property width { 4 @property width {
diff --git a/tutorial/c/eo-inherit/src/example_square.eo b/tutorial/c/eo-inherit/src/example_square.eo
index ea1ea94..c0e8cb6 100644
--- a/tutorial/c/eo-inherit/src/example_square.eo
+++ b/tutorial/c/eo-inherit/src/example_square.eo
@@ -1,4 +1,4 @@
1class Example.Square (Example.Rectangle) { 1class Example.Square extends Example.Rectangle {
2 [[A square shape object]] 2 [[A square shape object]]
3 implements { 3 implements {
4 Example.Rectangle.width {set;} 4 Example.Rectangle.width {set;}
diff --git a/tutorial/c/eo-multiinherit/src/example_circle.eo b/tutorial/c/eo-multiinherit/src/example_circle.eo
index 6a91fac..ace5acc 100644
--- a/tutorial/c/eo-multiinherit/src/example_circle.eo
+++ b/tutorial/c/eo-multiinherit/src/example_circle.eo
@@ -1,4 +1,4 @@
1class Example.Circle (Efl.Object, Example.Shape) { 1class Example.Circle extends Efl.Object implements Example.Shape {
2 [[A circle shape object]] 2 [[A circle shape object]]
3 methods { 3 methods {
4 @property radius { 4 @property radius {
diff --git a/tutorial/c/eo-multiinherit/src/example_rectangle.eo b/tutorial/c/eo-multiinherit/src/example_rectangle.eo
index 82cdc84..649fa3b 100644
--- a/tutorial/c/eo-multiinherit/src/example_rectangle.eo
+++ b/tutorial/c/eo-multiinherit/src/example_rectangle.eo
@@ -1,4 +1,4 @@
1class Example.Rectangle (Efl.Object, Example.Shape, Example.Colored) { 1class Example.Rectangle extends Efl.Object implements Example.Shape, Example.Colored {
2 [[A rectangle shape object]] 2 [[A rectangle shape object]]
3 methods { 3 methods {
4 @property width { 4 @property width {
diff --git a/tutorial/c/eo-multiinherit/src/example_square.eo b/tutorial/c/eo-multiinherit/src/example_square.eo
index ea1ea94..c0e8cb6 100644
--- a/tutorial/c/eo-multiinherit/src/example_square.eo
+++ b/tutorial/c/eo-multiinherit/src/example_square.eo
@@ -1,4 +1,4 @@
1class Example.Square (Example.Rectangle) { 1class Example.Square extends Example.Rectangle {
2 [[A square shape object]] 2 [[A square shape object]]
3 implements { 3 implements {
4 Example.Rectangle.width {set;} 4 Example.Rectangle.width {set;}