#![allow(missing_docs)]
use zbus::{Result, proxy};
#[proxy(
interface = "com.wayle.Wallpaper1",
default_service = "com.wayle.Wallpaper1",
default_path = "/com/wayle/Wallpaper"
)]
pub trait Wallpaper {
async fn set_wallpaper(&self, path: String, monitor: String) -> Result<()>;
async fn set_fit_mode(&self, mode: String, monitor: String) -> Result<()>;
async fn start_cycling(
&self,
directory: String,
interval_secs: u32,
mode: String,
) -> Result<()>;
async fn stop_cycling(&self) -> Result<()>;
async fn next(&self) -> Result<()>;
async fn previous(&self) -> Result<()>;
async fn extract_colors(&self) -> Result<()>;
async fn wallpaper_for_monitor(&self, monitor: String) -> Result<String>;
async fn get_fit_mode(&self, monitor: String) -> Result<String>;
async fn get_is_cycling(&self) -> Result<bool>;
async fn set_theming_monitor(&self, monitor: String) -> Result<()>;
async fn register_monitor(&self, monitor: String) -> Result<()>;
async fn unregister_monitor(&self, monitor: String) -> Result<()>;
async fn list_monitors(&self) -> Result<Vec<String>>;
#[zbus(property)]
fn is_cycling(&self) -> Result<bool>;
#[zbus(property)]
fn theming_monitor(&self) -> Result<String>;
#[zbus(signal)]
fn colors_extracted(&self) -> Result<()>;
}