Struct souvlaki::PlatformConfig
source · [−]pub struct PlatformConfig<'a> {
pub display_name: &'a str,
pub dbus_name: &'a str,
pub hwnd: Option<*mut c_void>,
}
Expand description
OS-specific configuration needed to create media controls.
Fields
display_name: &'a str
The name to be displayed to the user. (Required on Linux)
dbus_name: &'a str
Should follow the D-Bus spec. (Required on Linux)
hwnd: Option<*mut c_void>
An HWND. (Required on Windows)