#include "../rute_base.h"
#include "../rute_manual.h"
#include <QResizeEvent>
#include "resize_event_ffi.h"
static struct RUSize resize_event_size(struct RUBase* self_c) {
QResizeEvent* qt_value = (QResizeEvent*)self_c;
auto ret_value = qt_value->size();
WRSize* new_val = new WRSize();
*new_val = ret_value;
struct RUSize ctl;
ctl.qt_data = (struct RUBase*)new_val;
ctl.host_data = (struct RUBase*)s_host_data_lookup[(void*)new_val];
ctl.all_funcs = &s_size_all_funcs;
return ctl;
}
static struct RUSize resize_event_old_size(struct RUBase* self_c) {
QResizeEvent* qt_value = (QResizeEvent*)self_c;
auto ret_value = qt_value->oldSize();
WRSize* new_val = new WRSize();
*new_val = ret_value;
struct RUSize ctl;
ctl.qt_data = (struct RUBase*)new_val;
ctl.host_data = (struct RUBase*)s_host_data_lookup[(void*)new_val];
ctl.all_funcs = &s_size_all_funcs;
return ctl;
}
struct RUResizeEventFuncs s_resize_event_funcs = {
resize_event_size,
resize_event_old_size,
};
struct RUResizeEventAllFuncs s_resize_event_all_funcs = {
&s_event_funcs,
&s_resize_event_funcs,
};