1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// This file is auto-generated by rute_gen. DO NOT EDIT.
use rute_ffi_base::*;

#[allow(unused_imports)]
use auto::event_ffi::*;
#[allow(unused_imports)]
use std::os::raw::c_void;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUInputEventFuncs {
    pub modifiers: extern "C" fn(self_c: *const RUBase) -> u32,
    pub set_modifiers: extern "C" fn(self_c: *const RUBase, amodifiers: u32),
    pub timestamp: extern "C" fn(self_c: *const RUBase) -> u64,
    pub set_timestamp: extern "C" fn(self_c: *const RUBase, atimestamp: u64),
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUInputEventAllFuncs {
    pub event_funcs: *const RUEventFuncs,
    pub input_event_funcs: *const RUInputEventFuncs,
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUInputEvent {
    pub qt_data: *const RUBase,
    pub host_data: *const RUBase,
    pub all_funcs: *const RUInputEventAllFuncs,
}