Efl eolian: Adjust according to eolian syntax changes.

This commit is contained in:
Tom Hacohen 2014-06-20 12:56:29 +01:00
parent 60c35f329f
commit 0658591a4d
6 changed files with 10 additions and 17 deletions

View File

@ -1,4 +1,4 @@
class Ecore_Mainloop (Eo_Base) class Ecore_Mainloop (Eo.Base)
{ {
legacy_prefix: null; legacy_prefix: null;
data: null; data: null;

View File

@ -19,7 +19,7 @@ interface Efl_Interface_Color {
get { get {
} }
keys { keys {
const Efl_Interface_Part *part; const(Efl_Interface_Part) *part;
} }
values { values {
int r; /*@ The red component of the given color. */ int r; /*@ The red component of the given color. */

View File

@ -8,8 +8,8 @@ interface Efl_Interface_File {
get { get {
} }
values { values {
const char *file; /*@ The path to the file to load @p from */ const(char) *file; /*@ The path to the file to load @p from */
const char *group; /*@ The name of the group, in @p file */ const(char) *group; /*@ The name of the group, in @p file */
} }
} }
} }
@ -18,11 +18,11 @@ interface Efl_Interface_File {
const; const;
return Eina_Bool; return Eina_Bool;
params { params {
@in const char *file @nonull; /*@ The filename to be used to save the data (extension @in const(char) *file @nonull; /*@ The filename to be used to save the data (extension
obligatory). */ obligatory). */
@in const char *key; /*@ The image key in the file (if an Eet one), or @c NULL, @in const(char) *key; /*@ The image key in the file (if an Eet one), or @c NULL,
otherwise. */ otherwise. */
@in const char *flags; /*@ String containing the flags to be used (@c NULL for @in const(char) *flags; /*@ String containing the flags to be used (@c NULL for
none). */ none). */
} }
} }

View File

@ -8,7 +8,7 @@ interface Efl_Interface_Part {
get { get {
} }
keys { keys {
const char *name; /*@ part name. */ const(char) *name; /*@ part name. */
} }
values { values {
Eo *pobj; /*@ the object that populates the part. */ Eo *pobj; /*@ the object that populates the part. */

View File

@ -17,7 +17,7 @@ interface Efl_Interface_Text {
@return the markup text of the object. */ @return the markup text of the object. */
} }
values { values {
const char *text; /*@ the markup text to use. */ const(char) *text; /*@ the markup text to use. */
} }
} }
cursor { cursor {
@ -30,8 +30,4 @@ interface Efl_Interface_Text {
} }
} }
} }
implements {
virtual::text_markup;
virtual::cursor::get;
}
} }

View File

@ -27,12 +27,9 @@ interface Efl_Interface_Text_Properties {
@see evas_object_text_font_set() */ @see evas_object_text_font_set() */
} }
values { values {
const char* font; /*@ The font family name or filename. */ const(char) *font; /*@ The font family name or filename. */
Evas_Font_Size size; /*@ The font size, in points. */ Evas_Font_Size size; /*@ The font size, in points. */
} }
} }
} }
implements {
virtual::font;
}
} }