Remove eo_prefix
In this small example it is not necessary, so the tutorial is simpler.
This commit is contained in:
parent
bbad6e9923
commit
1f0b3626ba
|
@ -1,6 +1,5 @@
|
||||||
class Example.Rectangle (Efl.Object, Example.Shape) {
|
class Example.Rectangle (Efl.Object, Example.Shape) {
|
||||||
[[A rectangle shape object]]
|
[[A rectangle shape object]]
|
||||||
eo_prefix: example_rectangle;
|
|
||||||
methods {
|
methods {
|
||||||
@property width {
|
@property width {
|
||||||
[[The width of this rectangle]]
|
[[The width of this rectangle]]
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
interface Example.Shape {
|
interface Example.Shape {
|
||||||
[[A generic shape object]]
|
[[A generic shape object]]
|
||||||
eo_prefix: example_shape;
|
|
||||||
methods {
|
methods {
|
||||||
@property color {
|
@property color {
|
||||||
[[The colour that our shape should be filled with]]
|
[[The colour that our shape should be filled with]]
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
class Example.Square (Example.Rectangle) {
|
class Example.Square (Example.Rectangle) {
|
||||||
[[A square shape object]]
|
[[A square shape object]]
|
||||||
eo_prefix: example_square;
|
|
||||||
methods {
|
methods {
|
||||||
@property side {
|
@property side {
|
||||||
[[The length of both sides of this square]]
|
[[The length of both sides of this square]]
|
||||||
|
|
Loading…
Reference in New Issue