// This file was generated by gir (https://github.com/gtk-rs/gir)
// from ../gir-files
// from ../pps-girs
// DO NOT EDIT

use crate::ffi;
use glib::prelude::*;

glib::wrapper! {
    #[doc(alias = "PpsUndoHandler")]
    pub struct UndoHandler(Interface<ffi::PpsUndoHandler, ffi::PpsUndoHandlerInterface>);

    match fn {
        type_ => || ffi::pps_undo_handler_get_type(),
    }
}

impl UndoHandler {
    pub const NONE: Option<&'static UndoHandler> = None;
}

pub trait UndoHandlerExt: IsA<UndoHandler> + 'static {
    //#[doc(alias = "pps_undo_handler_free_action")]
    //fn free_action(&self, data: /*Unimplemented*/Option<Basic: Pointer>) {
    //    unsafe { TODO: call ffi:pps_undo_handler_free_action() }
    //}

    //#[doc(alias = "pps_undo_handler_undo")]
    //fn undo(&self, data: /*Unimplemented*/Option<Basic: Pointer>) {
    //    unsafe { TODO: call ffi:pps_undo_handler_undo() }
    //}
}

impl<O: IsA<UndoHandler>> UndoHandlerExt for O {}
