forked from enlightenment/efl
efl: convert all interfaces to the new eolian syntax
ref T7459 Reviewed-by: Daniel Kolesa <daniel@octaforge.org> Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7687
This commit is contained in:
parent
3b6a9152c1
commit
95160ab136
|
@ -2,7 +2,7 @@ var Efl.Net.Dialer_Error.COULDNT_CONNECT: Eina.Error; [[The dialer could not con
|
|||
var Efl.Net.Dialer_Error.COULDNT_RESOLVE_PROXY: Eina.Error; [[The dialer could not resolve the given proxy server]]
|
||||
var Efl.Net.Dialer_Error.PROXY_AUTHENTICATION_FAILED: Eina.Error; [[The dialer failed to authenticate against the proxy server]]
|
||||
|
||||
interface Efl.Net.Dialer (Efl.Net.Socket) {
|
||||
interface Efl.Net.Dialer extends Efl.Net.Socket {
|
||||
[[Creates a client socket to reach a remote peer.
|
||||
|
||||
The connection process starts when @.dial is executed. This
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Net.Socket (Efl.Io.Reader, Efl.Io.Writer, Efl.Io.Closer) {
|
||||
interface Efl.Net.Socket extends Efl.Io.Reader, Efl.Io.Writer, Efl.Io.Closer {
|
||||
[[The basic socket interface.
|
||||
|
||||
This is built upon the three core Input/Output interfaces:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import efl_input_device;
|
||||
|
||||
interface Efl.Canvas.Pointer ()
|
||||
interface Efl.Canvas.Pointer
|
||||
{
|
||||
[[Efl Canvas Pointer interface]]
|
||||
methods {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import efl_input_device;
|
||||
import efl_gfx_types;
|
||||
|
||||
interface Efl.Canvas.Scene ()
|
||||
interface Efl.Canvas.Scene
|
||||
{
|
||||
[[Common interface for window and some internal classes in EFL.]]
|
||||
methods {
|
||||
|
@ -17,7 +17,7 @@ interface Efl.Canvas.Scene ()
|
|||
much higher one.
|
||||
|
||||
]]
|
||||
return: bool; [[$true on success, $false otherwise]]
|
||||
return: bool; [[$true on success, $false otherwise]]
|
||||
}
|
||||
values {
|
||||
max: Eina.Size2D; [[The maximum image size (in pixels).]]
|
||||
|
@ -105,7 +105,7 @@ interface Efl.Canvas.Scene ()
|
|||
objects, acting only on the ones at the "top level", with
|
||||
regard to object parenting.
|
||||
]]
|
||||
return: iterator<Efl.Gfx.Entity> @owned @warn_unused; [[Iterator to objects]]
|
||||
return: iterator<Efl.Gfx.Entity> @owned @warn_unused; [[Iterator to objects]]
|
||||
params {
|
||||
@in rect: Eina.Rect; [[The rectangular region.]]
|
||||
@in include_pass_events_objects: bool; [[
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Config ()
|
||||
interface Efl.Config
|
||||
{
|
||||
[[A generic configuration interface, that holds key-value pairs.]]
|
||||
methods {
|
||||
|
|
|
@ -12,7 +12,7 @@ enum Efl.Gfx.Buffer_Access_Mode {
|
|||
|
||||
/* FIXME: YUV and other planar formats are not properly handled in this API! */
|
||||
|
||||
interface Efl.Gfx.Buffer ()
|
||||
interface Efl.Gfx.Buffer
|
||||
{
|
||||
[[Common APIs for all objects representing images and 2D pixel buffers.]]
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Gfx.Gradient_Linear (Efl.Gfx.Gradient)
|
||||
interface Efl.Gfx.Gradient_Linear extends Efl.Gfx.Gradient
|
||||
{
|
||||
[[Efl graphics gradient linear interface]]
|
||||
methods {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Gfx.Gradient_Radial (Efl.Gfx.Gradient)
|
||||
interface Efl.Gfx.Gradient_Radial extends Efl.Gfx.Gradient
|
||||
{
|
||||
[[Efl graphics gradient radial interface]]
|
||||
methods {
|
||||
|
|
|
@ -21,26 +21,26 @@ enum Efl.Gfx.Image_Scale_Hint
|
|||
enum Efl.Gfx.Image_Scale_Type
|
||||
{
|
||||
[[Enumeration that defines scale types of an image.]]
|
||||
fill, [[Scale the image so that it matches
|
||||
fill, [[Scale the image so that it matches
|
||||
the object's area exactly.
|
||||
The image's aspect ratio might be changed.]]
|
||||
fit_inside, [[Scale the image
|
||||
so that it fits inside the object's area
|
||||
while maintaining the aspect ratio.
|
||||
At least one of the dimensions of the image
|
||||
should be equal to the corresponding dimension
|
||||
should be equal to the corresponding dimension
|
||||
of the object.]]
|
||||
fit_outside, [[Scale the image
|
||||
so that it covers the entire object area
|
||||
while maintaining the aspect ratio.
|
||||
At least one of the dimensions of the image
|
||||
should be equal to the corresponding
|
||||
should be equal to the corresponding
|
||||
dimension of the object.]]
|
||||
tile, [[Tile image at its original size.]]
|
||||
none [[Not scale the image]]
|
||||
}
|
||||
|
||||
interface Efl.Gfx.Image ()
|
||||
interface Efl.Gfx.Image
|
||||
{
|
||||
[[Common APIs for all 2D images that can be rendered on the canvas.]]
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ enum Efl.Gfx.Image_Animation_Controller_Loop_Hint {
|
|||
|
||||
/* FIXME: rename to Efl.Gfx.Image_Animation_Controller when eo/eolian are fixed */
|
||||
|
||||
interface Efl.Gfx.Image_Animation_Controller ()
|
||||
interface Efl.Gfx.Image_Animation_Controller
|
||||
{
|
||||
[[Efl animated image interface]]
|
||||
eo_prefix: efl_gfx_image;
|
||||
|
|
|
@ -13,7 +13,7 @@ enum Efl.Gfx.Image_Load_Controller_State
|
|||
}
|
||||
*/
|
||||
|
||||
interface Efl.Gfx.Image_Load_Controller ()
|
||||
interface Efl.Gfx.Image_Load_Controller
|
||||
{
|
||||
[[Common APIs for all loadable 2D images.]]
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Interpolator ()
|
||||
interface Efl.Interpolator
|
||||
{
|
||||
[[Efl interpolator interface]]
|
||||
methods {
|
||||
|
|
|
@ -13,7 +13,7 @@ struct Efl.Model_Children_Event {
|
|||
the parent, it will be available here.]]
|
||||
}
|
||||
|
||||
interface Efl.Model ()
|
||||
interface Efl.Model
|
||||
{
|
||||
[[Efl model interface]]
|
||||
eo_prefix: efl_model;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Pack (Efl.Container)
|
||||
interface Efl.Pack extends Efl.Container
|
||||
{
|
||||
[[API common to all UI container objects.]]
|
||||
methods
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Pack_Layout ()
|
||||
interface Efl.Pack_Layout
|
||||
{
|
||||
[[Low-level APIs for object that can lay their children out.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Pack_Linear (Efl.Pack)
|
||||
interface Efl.Pack_Linear extends Efl.Pack
|
||||
{
|
||||
[[API for containers ]]
|
||||
eo_prefix: efl_pack;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import efl_ui_direction;
|
||||
|
||||
interface Efl.Pack_Table (Efl.Pack_Linear)
|
||||
interface Efl.Pack_Table extends Efl.Pack_Linear
|
||||
{
|
||||
[[2D containers aligned on a table with rows and columns]]
|
||||
eo_prefix: efl_pack;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Text_Markup(Efl.Text_Cursor) {
|
||||
interface Efl.Text_Markup extends Efl.Text_Cursor {
|
||||
[[Markup data that populates the text object's style and format
|
||||
|
||||
@since 1.21
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Ui.Clickable ()
|
||||
interface Efl.Ui.Clickable
|
||||
{
|
||||
[[Efl UI clickable interface]]
|
||||
event_prefix: efl_ui;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* FIXME: Edje Drag and this Dnd Draggable have confusingly similar names! */
|
||||
interface Efl.Ui.Draggable ()
|
||||
interface Efl.Ui.Draggable
|
||||
{
|
||||
[[Efl UI draggable interface]]
|
||||
event_prefix: efl_ui;
|
||||
|
|
|
@ -4,7 +4,7 @@ struct Efl.Ui.Factory_Item_Created_Event {
|
|||
item: Efl.Gfx.Entity; [[The item that was just created.]]
|
||||
}
|
||||
|
||||
interface Efl.Ui.Factory (Efl.Ui.Model.Connect)
|
||||
interface Efl.Ui.Factory extends Efl.Ui.Model.Connect
|
||||
{
|
||||
[[Efl UI factory interface]]
|
||||
methods {
|
||||
|
|
|
@ -9,7 +9,7 @@ enum Efl.Ui.Select_Mode {
|
|||
none [[Last value of select mode. child cannot be selected at all.]]
|
||||
}
|
||||
|
||||
interface Efl.Ui.Multi_Selectable ()
|
||||
interface Efl.Ui.Multi_Selectable
|
||||
{
|
||||
[[Efl UI Multi selectable interface.
|
||||
The container have to control select property of multiple chidren.]]
|
||||
|
|
|
@ -12,7 +12,7 @@ enum Efl.Ui.Scroll_Block
|
|||
horizontal = 2 [[Block horizontal movement.]]
|
||||
}
|
||||
|
||||
interface Efl.Ui.Scrollable ()
|
||||
interface Efl.Ui.Scrollable
|
||||
{
|
||||
[[Efl UI scrollable interface]]
|
||||
event_prefix: efl_ui;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import eina_types;
|
||||
|
||||
interface Efl.Ui.Scrollable_Interactive (Efl.Ui.Scrollable)
|
||||
interface Efl.Ui.Scrollable_Interactive extends Efl.Ui.Scrollable
|
||||
{
|
||||
eo_prefix: efl_ui_scrollable;
|
||||
methods {
|
||||
|
|
|
@ -12,7 +12,7 @@ enum Efl.Ui.Scrollbar_Direction
|
|||
vertical,
|
||||
last
|
||||
}
|
||||
interface Efl.Ui.Scrollbar ()
|
||||
interface Efl.Ui.Scrollbar
|
||||
{
|
||||
methods {
|
||||
@property bar_mode {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Ui.Selectable ()
|
||||
interface Efl.Ui.Selectable
|
||||
{
|
||||
[[Efl UI selectable interface]]
|
||||
event_prefix: efl_ui;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Ui.View ()
|
||||
interface Efl.Ui.View
|
||||
{
|
||||
[[Efl UI view interface]]
|
||||
methods {
|
||||
|
|
|
@ -9,7 +9,7 @@ enum Efl.Ui.Zoom_Mode
|
|||
last [[Sentinel value to indicate last enum field during iteration]]
|
||||
}
|
||||
|
||||
interface Efl.Ui.Zoom ()
|
||||
interface Efl.Ui.Zoom
|
||||
{
|
||||
[[Efl UI zoom interface]]
|
||||
event_prefix: efl_ui;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Access.Editable.Text ()
|
||||
interface Efl.Access.Editable.Text
|
||||
{
|
||||
[[Elementary editable text interface]]
|
||||
methods {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Access.Selection ()
|
||||
interface Efl.Access.Selection
|
||||
{
|
||||
[[Elementary access selection interface]]
|
||||
methods {
|
||||
|
|
|
@ -44,7 +44,7 @@ struct Efl.Access.Text_Change_Info
|
|||
len: size; [[Change length]]
|
||||
}
|
||||
|
||||
interface Efl.Access.Text ()
|
||||
interface Efl.Access.Text
|
||||
{
|
||||
[[Elementary accessible text interface]]
|
||||
methods {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Access.Value ()
|
||||
interface Efl.Access.Value
|
||||
{
|
||||
[[Elementary Access value interface]]
|
||||
methods {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Access.Window ()
|
||||
interface Efl.Access.Window
|
||||
{
|
||||
[[Elementary accessible window interface]]
|
||||
events {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import efl_text_types;
|
||||
|
||||
interface Efl.Text_Interactive (Efl.Text, Efl.Text_Font,
|
||||
Efl.Text_Format, Efl.Text_Style)
|
||||
interface Efl.Text_Interactive extends Efl.Text, Efl.Text_Font,
|
||||
Efl.Text_Format, Efl.Text_Style
|
||||
{
|
||||
[[This is an interface interactive text inputs should implement]]
|
||||
methods {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Ui.Cursor ()
|
||||
interface Efl.Ui.Cursor
|
||||
{
|
||||
[[An interface to define mouse cursors to use when hovering
|
||||
over UI widgets.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Ui.Legacy (Efl.Interface)
|
||||
interface Efl.Ui.Legacy extends Efl.Interface
|
||||
{
|
||||
[[The bg (background) widget is used for setting (solid) background decorations
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import efl_ui_list_view_types;
|
||||
|
||||
interface Efl.Ui.List_View_Model (Efl.Interface)
|
||||
interface Efl.Ui.List_View_Model extends Efl.Interface
|
||||
{
|
||||
methods {
|
||||
@property load_range {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Ui.List_View_Relayout (Efl.Interface)
|
||||
interface Efl.Ui.List_View_Relayout extends Efl.Interface
|
||||
{
|
||||
methods {
|
||||
layout_do {
|
||||
|
|
|
@ -25,7 +25,7 @@ enum Elm.Fileselector.Sort
|
|||
last [[Sentinel value to indicate last enum field during iteration]]
|
||||
}
|
||||
|
||||
interface Elm.Interface.Fileselector (Efl.Ui.View)
|
||||
interface Elm.Interface.Fileselector extends Efl.Ui.View
|
||||
{
|
||||
[[Elementary fileselector interface]]
|
||||
eo_prefix: elm_interface_fileselector;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Canvas.Text_Factory ()
|
||||
interface Efl.Canvas.Text_Factory
|
||||
{
|
||||
[[Object factory that creates Efl.Canvas.Object objects.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Efl.Input.Interface ()
|
||||
interface Efl.Input.Interface
|
||||
{
|
||||
[[An object implementing this interface can send pointer events.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import efl_input_types;
|
||||
|
||||
interface Efl.Input.State ()
|
||||
interface Efl.Input.State
|
||||
{
|
||||
[[Efl input state interface]]
|
||||
eo_prefix: efl_input;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Dummy.Another_Iface ()
|
||||
interface Dummy.Another_Iface
|
||||
{
|
||||
methods {
|
||||
emit_another_conflicted {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface Dummy.Test_Iface ()
|
||||
interface Dummy.Test_Iface
|
||||
{
|
||||
methods {
|
||||
emit_test_conflicted {
|
||||
|
|
Loading…
Reference in New Issue