![]() |
Consolix
|
Provides system-related utility functions such as clipboard handling, OS detection, and system information retrieval. More...
#include <string>
#include <cstdlib>
#include <chrono>
Go to the source code of this file.
Namespaces | |
namespace | consolix |
< Utility modules and helpers. | |
Macros | |
#define | _CONSOLIX_SYSTEM_UTILS_HPP_INCLUDED |
Functions | |
bool | consolix::copy_to_clipboard (const std::string &text) |
Copies the given text to the system clipboard. | |
std::string | consolix::get_clipboard_text () |
Retrieves text from the system clipboard. | |
std::string | consolix::get_os_name () |
Gets the name of the operating system. | |
uint64_t | consolix::get_system_time_ms () |
Gets the current system time in milliseconds. | |
int | consolix::get_cpu_count () |
Gets the number of logical CPU cores. | |
std::string | consolix::get_home_directory () |
Gets the user's home directory path. | |
std::string | consolix::get_temp_directory () |
Gets the system temporary directory path. | |
std::string | consolix::get_env_var (const std::string &var_name) |
Retrieves an environment variable's value. | |
Provides system-related utility functions such as clipboard handling, OS detection, and system information retrieval.
Definition in file system_utils.hpp.
#define _CONSOLIX_SYSTEM_UTILS_HPP_INCLUDED |
Definition at line 3 of file system_utils.hpp.