51 lines
829 B
C++
51 lines
829 B
C++
#pragma once
|
|
|
|
#include <expected>
|
|
|
|
#include "../util/macros.h"
|
|
#include "../util/types.h"
|
|
|
|
/**
|
|
* @brief Get the amount of installed RAM in bytes.
|
|
*/
|
|
fn GetMemInfo() -> std::expected<u64, string>;
|
|
|
|
/**
|
|
* @brief Get the currently playing song metadata.
|
|
*/
|
|
fn GetNowPlaying() -> string;
|
|
|
|
/**
|
|
* @brief Get the OS version.
|
|
*/
|
|
fn GetOSVersion() -> string;
|
|
|
|
/**
|
|
* @brief Get the current desktop environment.
|
|
*/
|
|
fn GetDesktopEnvironment() -> string;
|
|
|
|
/**
|
|
* @brief Get the current window manager.
|
|
*/
|
|
fn GetWindowManager() -> string;
|
|
|
|
/**
|
|
* @brief Get the current shell.
|
|
*/
|
|
fn GetShell() -> string;
|
|
|
|
/**
|
|
* @brief Get the product family
|
|
*/
|
|
fn GetHost() -> string;
|
|
|
|
/**
|
|
* @brief Get the kernel version.
|
|
*/
|
|
fn GetKernelVersion() -> string;
|
|
|
|
/**
|
|
* @brief Get the number of installed packages.
|
|
*/
|
|
fn GetPackageCount() -> u64;
|