some more updates and stuff

This commit is contained in:
Mars 2025-04-21 01:42:24 -04:00
parent 96c6e79780
commit 203d56e06b
Signed by: pupbrained
GPG key ID: 874E22DF2F9DFCB5
17 changed files with 231 additions and 255 deletions

View file

@ -10,42 +10,42 @@ using std::optional, std::expected;
/**
* @brief Get the amount of installed RAM in bytes.
*/
fn GetMemInfo() -> expected<u64, string>;
fn GetMemInfo() -> expected<u64, String>;
/**
* @brief Get the currently playing song metadata.
*/
fn GetNowPlaying() -> expected<string, NowPlayingError>;
fn GetNowPlaying() -> expected<String, NowPlayingError>;
/**
* @brief Get the OS version.
*/
fn GetOSVersion() -> expected<string, string>;
fn GetOSVersion() -> expected<String, String>;
/**
* @brief Get the current desktop environment.
*/
fn GetDesktopEnvironment() -> optional<string>;
fn GetDesktopEnvironment() -> optional<String>;
/**
* @brief Get the current window manager.
*/
fn GetWindowManager() -> string;
fn GetWindowManager() -> String;
/**
* @brief Get the current shell.
*/
fn GetShell() -> string;
fn GetShell() -> String;
/**
* @brief Get the product family
*/
fn GetHost() -> string;
fn GetHost() -> String;
/**
* @brief Get the kernel version.
*/
fn GetKernelVersion() -> string;
fn GetKernelVersion() -> String;
/**
* @brief Get the number of installed packages.