Add the now-mandatory @since tags to example EO files

This commit is contained in:
Xavi Artigas 2020-02-07 09:11:59 +01:00
parent 4b6740b258
commit dfa678e9dc
7 changed files with 28 additions and 7 deletions

View File

@ -1,5 +1,8 @@
class Example.Rectangle extends Efl.Object {
[[A rectangle shape object]]
[[A rectangle shape object
@since 1.00
]]
methods {
@property width {
[[The width of this rectangle]]

View File

@ -1,5 +1,8 @@
class Example.Square extends Example.Rectangle {
[[A square shape object]]
[[A square shape object
@since 1.00
]]
implements {
Example.Rectangle.width {set;}
Example.Rectangle.height {set;}

View File

@ -1,5 +1,8 @@
class Example.Circle extends Efl.Object implements Example.Shape {
[[A circle shape object]]
[[A circle shape object
@since 1.00
]]
methods {
@property radius {
[[The radius of this circle]]

View File

@ -1,5 +1,8 @@
mixin Example.Colored {
[[A mixin for providing APIs for managing colour properties]]
[[A mixin for providing APIs for managing colour properties
@since 1.00
]]
methods {
@property color {
[[The colour to associate with the class we are coloring.

View File

@ -1,5 +1,8 @@
class Example.Rectangle extends Efl.Object implements Example.Shape, Example.Colored {
[[A rectangle shape object]]
[[A rectangle shape object
@since 1.00
]]
methods {
@property width {
[[The width of this rectangle]]

View File

@ -1,5 +1,8 @@
interface Example.Shape {
[[A generic shape object]]
[[A generic shape object
@since 1.00
]]
methods {
area {
[[Calculate the area of the shape.]]

View File

@ -1,5 +1,8 @@
class Example.Square extends Example.Rectangle {
[[A square shape object]]
[[A square shape object
@since 1.00
]]
implements {
Example.Rectangle.width {set;}
Example.Rectangle.height {set;}