qtbridge-runtime 0.1.9

Qt Bridge: bridging code to be run in applications.
1
2
3
4
5
6
7
8
9
10
11
// Copyright (C) 2026 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only

use qtbridge_type_lib::QVariant;

pub trait DispatchMetaCall {
    fn invoke_slot(&self, slot_id: u32, inputs: &[*const u8], outputs: &[*mut u8]);
    fn invoke_slot_mut(&mut self, slot_id: u32, inputs: &[*const u8], outputs: &[*mut u8]);
    fn read_property(&self, prop_id: u32) -> QVariant;
    fn write_property(&mut self, prop_id: u32, value: &QVariant);
}