mod handle_token;
pub(crate) mod request;
mod session;
pub(crate) use self::handle_token::HandleToken;
pub use self::{
request::{Request, Response, ResponseError, ResponseType},
session::{Session, SessionPortal},
};
mod color;
pub use color::Color;
mod icon;
pub use icon::Icon;
pub mod account;
pub mod background;
pub mod camera;
pub mod clipboard;
#[deprecated = "The portal does not serve any purpose as nothing really can make use of it as is."]
pub mod device;
pub mod dynamic_launcher;
pub mod email;
pub mod file_chooser;
pub mod game_mode;
pub mod global_shortcuts;
pub mod inhibit;
pub mod input_capture;
pub mod location;
pub mod memory_monitor;
pub mod network_monitor;
pub mod notification;
pub mod open_uri;
pub mod power_profile_monitor;
pub mod print;
pub mod proxy_resolver;
pub mod realtime;
pub mod remote_desktop;
pub mod screencast;
pub mod screenshot;
pub mod secret;
pub mod settings;
pub mod trash;
pub mod wallpaper;
#[cfg_attr(feature = "glib", derive(glib::Enum))]
#[cfg_attr(feature = "glib", enum_type(name = "AshpdPersistMode"))]
#[derive(
Default, serde_repr::Serialize_repr, PartialEq, Eq, Debug, Copy, Clone, zbus::zvariant::Type,
)]
#[doc(alias = "XdpPersistMode")]
#[repr(u32)]
pub enum PersistMode {
#[doc(alias = "XDP_PERSIST_MODE_NONE")]
#[default]
DoNot = 0,
#[doc(alias = "XDP_PERSIST_MODE_TRANSIENT")]
Application = 1,
#[doc(alias = "XDP_PERSIST_MODE_PERSISTENT")]
ExplicitlyRevoked = 2,
}