pub trait RecentManagerExt: 'static {
fn add_full(&self, uri: &str, recent_data: &RecentData) -> bool;
fn add_item(&self, uri: &str) -> bool;
fn items(&self) -> Vec<RecentInfo>;
fn has_item(&self, uri: &str) -> bool;
fn lookup_item(&self, uri: &str) -> Result<Option<RecentInfo>, Error>;
fn move_item(&self, uri: &str, new_uri: Option<&str>) -> Result<(), Error>;
fn purge_items(&self) -> Result<i32, Error>;
fn remove_item(&self, uri: &str) -> Result<(), Error>;
fn filename(&self) -> Option<GString>;
fn size(&self) -> i32;
fn connect_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}