This file contains function that wrap OS-specific functionality in a platform-independent way.
More...
|
MUTILS_API void | MUtils::OS::system_message_nfo (const wchar_t *const title, const wchar_t *const text) |
|
MUTILS_API void | MUtils::OS::system_message_wrn (const wchar_t *const title, const wchar_t *const text) |
|
MUTILS_API void | MUtils::OS::system_message_err (const wchar_t *const title, const wchar_t *const text) |
|
MUTILS_API const QStringList | MUtils::OS::crack_command_line (const QString &command_line=QString()) |
|
MUTILS_API const ArgumentMap & | MUtils::OS::arguments (void) |
|
MUTILS_API bool | MUtils::OS::copy_file (const QString &sourcePath, const QString &outputPath, const bool &overwrite=true, const progress_callback_t callback=NULL, void *const userData=NULL) |
|
MUTILS_API bool | MUtils::OS::get_file_version (const QString fileName, quint16 *const major=NULL, quint16 *const minor=NULL, quint16 *const patch=NULL, quint16 *const build=NULL) |
|
MUTILS_API const Version::os_version_t & | MUtils::OS::os_version (void) |
|
MUTILS_API const char * | MUtils::OS::os_friendly_name (const MUtils::OS::Version::os_version_t &os_version) |
|
MUTILS_API const bool & | MUtils::OS::running_on_wine (void) |
|
MUTILS_API const os_arch_t & | MUtils::OS::os_architecture (void) |
|
MUTILS_API const QString & | MUtils::OS::known_folder (const known_folder_t folder_id) |
|
MUTILS_API QDate | MUtils::OS::current_date (void) |
|
MUTILS_API quint64 | MUtils::OS::current_file_time (void) |
|
MUTILS_API bool | MUtils::OS::is_elevated (bool *bIsUacEnabled=NULL) |
|
MUTILS_API bool | MUtils::OS::user_is_admin (void) |
|
MUTILS_API int | MUtils::OS::network_status (void) |
| Check the network status. More...
|
|
MUTILS_API bool | MUtils::OS::handle_os_message (const void *const message, long *result) |
|
MUTILS_API void | MUtils::OS::sleep_ms (const size_t &duration) |
| Suspend calling thread. More...
|
|
MUTILS_API bool | MUtils::OS::is_executable_file (const QString &path) |
|
MUTILS_API bool | MUtils::OS::is_library_file (const QString &path) |
|
MUTILS_API bool | MUtils::OS::is_hibernation_supported (void) |
|
MUTILS_API bool | MUtils::OS::shutdown_computer (const QString &message, const unsigned long timeout, const bool forceShutdown, const bool hibernate) |
|
MUTILS_API bool | MUtils::OS::free_diskspace (const QString &path, quint64 &freeSpace) |
|
MUTILS_API drive_type_t | MUtils::OS::get_drive_type (const QString &path, bool *fast_seeking=NULL) |
| Detect drive type. More...
|
|
MUTILS_API bool | MUtils::OS::shell_open (const QWidget *parent, const QString &url, const bool explore=false) |
|
MUTILS_API bool | MUtils::OS::shell_open (const QWidget *parent, const QString &url, const QString ¶meters, const QString &directory, const bool explore=false) |
|
MUTILS_API bool | MUtils::OS::open_media_file (const QString &mediaFilePath) |
|
MUTILS_API bool | MUtils::OS::change_process_priority (const int priority) |
|
MUTILS_API bool | MUtils::OS::change_process_priority (const QProcess *proc, const int priority) |
|
MUTILS_API quint32 | MUtils::OS::process_id (void) |
|
MUTILS_API quint32 | MUtils::OS::process_id (const QProcess *const proc) |
|
MUTILS_API quint32 | MUtils::OS::thread_id (void) |
|
MUTILS_API quint32 | MUtils::OS::thread_id (const QProcess *const proc) |
|
MUTILS_API bool | MUtils::OS::suspend_process (const QProcess *proc, const bool suspend) |
|
MUTILS_API bool | MUtils::OS::setup_timer_resolution (const quint32 &interval=1) |
|
MUTILS_API bool | MUtils::OS::reset_timer_resolution (const quint32 &interval=1) |
|
MUTILS_API bool | MUtils::OS::set_file_time (const QFile &file, const QDateTime &created=QDateTime(), const QDateTime &modified=QDateTime(), const QDateTime &accessed=QDateTime()) |
|
MUTILS_API bool | MUtils::OS::set_file_time (const QString &path, const QDateTime &created=QDateTime(), const QDateTime &modified=QDateTime(), const QDateTime &accessed=QDateTime()) |
|
MUTILS_API bool | MUtils::OS::check_key_state_esc (void) |
|
MUTILS_API void | MUtils::OS::shell_change_notification (void) |
|
MUTILS_API QString | MUtils::OS::get_file_path (const int &fd) |
|
MUTILS_API bool | MUtils::OS::wow64fsredir_disable (uintptr_t &oldValue) |
|
MUTILS_API bool | MUtils::OS::wow64fsredir_revert (const uintptr_t oldValue) |
|
MUTILS_API QString | MUtils::OS::get_envvar (const QString &name) |
|
MUTILS_API bool | MUtils::OS::set_envvar (const QString &name, const QString &value) |
|
MUTILS_API const QLatin1String & | MUtils::OS::null_device (void) |
|
MUTILS_API void | MUtils::OS::check_debugger (void) |
|
MUTILS_API void | MUtils::OS::fatal_exit (const wchar_t *const errorMessage) |
|
This file contains function that wrap OS-specific functionality in a platform-independent way.