souvlaki 0.8.1

A cross-platform media key and metadata handling library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::ffi::c_void;

/// OS-specific configuration needed to create media controls.
#[derive(Debug)]
pub struct PlatformConfig<'a> {
    /// The name to be displayed to the user. (*Required on Linux*)
    pub display_name: &'a str,
    /// Should follow [the D-Bus spec](https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-bus). (*Required on Linux*)
    pub dbus_name: &'a str,
    /// An HWND. (*Required on Windows*)
    pub hwnd: Option<*mut c_void>,
}