-- EFL LuaJIT bindings: elm_bubble.eo (class Elm.Bubble)
-- For use with Elua; automatically generated, do not modify

local cutil = require("cutil")
local util  = require("util")
local ffi   = require("ffi")
local eo    = require("eo")

local M, __lib = ...

local __class
local __body

local init = function()
    __class = __lib.elm_bubble_class_get()
    eo.class_register("Elm_Bubble", {"Elm_Layout"}, {"Efl_Ui_Clickable"}, __body, __class)
end

cutil.init_module(init, function() end)

ffi.cdef [[
    const Eo_Class *elm_bubble_class_get(void);
    void elm_obj_bubble_pos_set(Elm_Bubble_Pos pos);
    Elm_Bubble_Pos elm_obj_bubble_pos_get(void);
]]

__body = {
    __eo_ctor = function(self, __func)
        if __func then __func() end
    end,

    pos_set = function(self, pos)
        eo.__do_start(self, __class)
        __lib.elm_obj_bubble_pos_set(pos)
        eo.__do_end()
    end,

    pos_get = function(self)
        eo.__do_start(self, __class)
        local v = __lib.elm_obj_bubble_pos_get()
        eo.__do_end()
        return v
    end,

    __properties = {
        ["pos"] = { 0, 0, 1, 1, true, true }
    }
}

M.Bubble = function(parent, ...)
    return eo.__ctor_common(__class, parent, eo.class_get("Elm_Bubble").__eo_ctor,
                            1, ...)
end

return M
