use crate::{ffi, Interface};
use glib::translate::*;
glib::wrapper! {
#[doc(alias = "ArvUvInterface")]
pub struct UvInterface(Object<ffi::ArvUvInterface, ffi::ArvUvInterfaceClass>) @extends Interface;
match fn {
type_ => || ffi::arv_uv_interface_get_type(),
}
}
impl UvInterface {
#[doc(alias = "arv_uv_interface_get_instance")]
#[doc(alias = "get_instance")]
pub fn instance() -> Option<Interface> {
assert_initialized_main_thread!();
unsafe { from_glib_none(ffi::arv_uv_interface_get_instance()) }
}
}
unsafe impl Send for UvInterface {}