rute 0.0.1

UI library implemented on top of Qt
use rute_ffi_base::*;
use std::os::raw::c_void;
use auto::application_ffi::*;
use auto::font_ffi::*;
use auto::list_widget_ffi::*;
use auto::list_widget_item_ffi::*;
use auto::widget_ffi::*;

#[repr(C)]
#[derive(Copy, Clone)]
pub struct RuteFFI {
    pub create_application: extern "C" fn(priv_data: *const RUBase) -> RUApplication,
    pub get_application: extern "C" fn(priv_data: *const RUBase) -> RUApplication,
    pub create_font: extern "C" fn(priv_data: *const RUBase) -> RUFont,
    pub create_list_widget: extern "C" fn(
        priv_data: *const RUBase,
        callback: unsafe extern "C" fn(),
        host_data: *const c_void) -> RUListWidget,
    pub create_list_widget_item: extern "C" fn(
        priv_data: *const RUBase,
        callback: unsafe extern "C" fn(),
        host_data: *const c_void) -> RUListWidgetItem,
    pub create_widget: extern "C" fn(
        priv_data: *const RUBase,
        callback: unsafe extern "C" fn(),
        host_data: *const c_void) -> RUWidget,
}


extern "C" {
    pub fn rute_get() -> *const RuteFFI;
}