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) {
|
||||
[[A rectangle shape object]]
|
||||
eo_prefix: example_rectangle;
|
||||
methods {
|
||||
@property width {
|
||||
[[The width of this rectangle]]
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
interface Example.Shape {
|
||||
[[A generic shape object]]
|
||||
eo_prefix: example_shape;
|
||||
methods {
|
||||
@property color {
|
||||
[[The colour that our shape should be filled with]]
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
class Example.Square (Example.Rectangle) {
|
||||
[[A square shape object]]
|
||||
eo_prefix: example_square;
|
||||
methods {
|
||||
@property side {
|
||||
[[The length of both sides of this square]]
|
||||
|
|
Loading…
Reference in New Issue