-- EFL LuaJIT bindings: elm_fileselector_entry.eo (class Elm.Fileselector_Entry)
-- 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_fileselector_entry_class_get()
    eo.class_register("Elm_Fileselector_Entry", {"Elm_Layout"}, {"Elm_Interface_Fileselector", "Efl_Ui_Clickable", "Efl_Ui_Selectable"}, __body, __class)
end

cutil.init_module(init, function() end)

ffi.cdef [[
    const Eo_Class *elm_fileselector_entry_class_get(void);
    extern const Eo_Event_Description _ELM_FILESELECTOR_ENTRY_EVENT_CHANGED;
    extern const Eo_Event_Description _ELM_FILESELECTOR_ENTRY_EVENT_ACTIVATED;
    extern const Eo_Event_Description _ELM_FILESELECTOR_ENTRY_EVENT_FILE_CHOSEN;
    extern const Eo_Event_Description _ELM_FILESELECTOR_ENTRY_EVENT_PRESS;
]]

__body = {
    __eo_ctor = function(self, __func)
        if __func then __func() end
    end
    __events = {
        ["changed"] = __lib._ELM_FILESELECTOR_ENTRY_EVENT_CHANGED,
        ["activated"] = __lib._ELM_FILESELECTOR_ENTRY_EVENT_ACTIVATED,
        ["file,chosen"] = __lib._ELM_FILESELECTOR_ENTRY_EVENT_FILE_CHOSEN,
        ["press"] = __lib._ELM_FILESELECTOR_ENTRY_EVENT_PRESS
    }
}

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

return M
