-- EFL LuaJIT bindings: evas_clickable_interface.eo (class Evas.Clickable_Interface)
-- 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.evas_clickable_interface_interface_get()
    eo.class_register("Evas_Clickable_Interface", nil, __body, __class)
end

cutil.init_module(init, function() end)

ffi.cdef [[
    const Eo_Class *evas_clickable_interface_interface_get(void);
    extern const Eo_Event_Description _EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED;
    extern const Eo_Event_Description _EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE;
    extern const Eo_Event_Description _EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_TRIPLE;
    extern const Eo_Event_Description _EVAS_CLICKABLE_INTERFACE_EVENT_PRESSED;
    extern const Eo_Event_Description _EVAS_CLICKABLE_INTERFACE_EVENT_UNPRESSED;
    extern const Eo_Event_Description _EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED;
    extern const Eo_Event_Description _EVAS_CLICKABLE_INTERFACE_EVENT_REPEATED;
]]

__body = {
    __events = {
        ["clicked"] = __lib._EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED,
        ["clicked,double"] = __lib._EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_DOUBLE,
        ["clicked,triple"] = __lib._EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED_TRIPLE,
        ["pressed"] = __lib._EVAS_CLICKABLE_INTERFACE_EVENT_PRESSED,
        ["unpressed"] = __lib._EVAS_CLICKABLE_INTERFACE_EVENT_UNPRESSED,
        ["longpressed"] = __lib._EVAS_CLICKABLE_INTERFACE_EVENT_LONGPRESSED,
        ["repeated"] = __lib._EVAS_CLICKABLE_INTERFACE_EVENT_REPEATED
    }
}

return M
