MUtilities/docs/d3/dc1/_o_s_support_8h.html

322 lines
39 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MuldeR&#39;s Utilities for Qt: include/MUtils/OSSupport.h File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">MuldeR&#39;s Utilities for Qt
</div>
<div id="projectbrief">MUtilities</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('../../',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_b076b53667bc06ebb413a190e197fc7b.html">MUtils</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">OSSupport.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>This file contains function that wrap OS-specific functionality in a platform-independent way.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="../../d5/d3b/_global_8h_source.html">MUtils/Global.h</a>&gt;</code><br />
<code>#include &lt;QString&gt;</code><br />
<code>#include &lt;QMap&gt;</code><br />
<code>#include &lt;QDate&gt;</code><br />
<code>#include &lt;QWidget&gt;</code><br />
</div>
<p><a href="../../d3/dc1/_o_s_support_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d55/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t.html">MUtils::OS::Version::_os_version_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This struct contains version information about the underlaying operating system. See <code><a class="el" href="../../dc/d55/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t.html" title="This struct contains version information about the underlaying operating system. See _os_version_t fo...">_os_version_t</a></code> for details! <a href="../../dc/d55/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:d3/da6/namespace_m_utils"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/da6/namespace_m_utils.html">MUtils</a></td></tr>
<tr class="memdesc:d3/da6/namespace_m_utils"><td class="mdescLeft">&#160;</td><td class="mdescRight">Global <a class="el" href="../../d3/da6/namespace_m_utils.html" title="Global MUtils namespace. ">MUtils</a> namespace. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:d2/df4/namespace_m_utils_1_1_o_s"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df4/namespace_m_utils_1_1_o_s.html">MUtils::OS</a></td></tr>
<tr class="memdesc:d2/df4/namespace_m_utils_1_1_o_s"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="../../d3/da6/namespace_m_utils.html" title="Global MUtils namespace. ">MUtils</a> OS-specific functions namespace. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:d1/d7d/namespace_m_utils_1_1_o_s_1_1_version"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html">MUtils::OS::Version</a></td></tr>
<tr class="memdesc:d1/d7d/namespace_m_utils_1_1_o_s_1_1_version"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="../../d2/df4/namespace_m_utils_1_1_o_s.html" title="MUtils OS-specific functions namespace. ">OS</a> version information namespace. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a199c9376f9941b2ec9721eab0b544da0"><td class="memItemLeft" align="right" valign="top"><a id="a199c9376f9941b2ec9721eab0b544da0"></a>
typedef struct <a class="el" href="../../dc/d55/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t.html">MUtils::OS::Version::_os_version_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a199c9376f9941b2ec9721eab0b544da0">MUtils::OS::Version::os_version_t</a></td></tr>
<tr class="memdesc:a199c9376f9941b2ec9721eab0b544da0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This struct contains version information about the underlaying operating system. See <code><a class="el" href="../../dc/d55/struct_m_utils_1_1_o_s_1_1_version_1_1__os__version__t.html" title="This struct contains version information about the underlaying operating system. See _os_version_t fo...">_os_version_t</a></code> for details! <br /></td></tr>
<tr class="separator:a199c9376f9941b2ec9721eab0b544da0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acecb02a060e3fca4aee2581bc4a8f87f"><td class="memItemLeft" align="right" valign="top"><a id="acecb02a060e3fca4aee2581bc4a8f87f"></a>
typedef QMap&lt; QString, QString &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::ArgumentMap</b></td></tr>
<tr class="separator:acecb02a060e3fca4aee2581bc4a8f87f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4afb904fa6e5877789ef2f2ff255a26a"><td class="memItemLeft" align="right" valign="top"><a id="a4afb904fa6e5877789ef2f2ff255a26a"></a>
typedef bool(*&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::progress_callback_t</b>) (const double &amp;progress, void *const userData)</td></tr>
<tr class="separator:a4afb904fa6e5877789ef2f2ff255a26a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a0571c442a535da3a8541642f8cead00e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a0571c442a535da3a8541642f8cead00e">MUtils::OS::Version::os_type_t</a> { <a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a0571c442a535da3a8541642f8cead00ea6fa12cbf650f5b33e76bbffd4fb5ec84">MUtils::OS::Version::OS_UNKNOWN</a> = 0,
<a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a0571c442a535da3a8541642f8cead00eae668bf9aca53081658d391823e37acf7">MUtils::OS::Version::OS_WINDOWS</a> = 1
}<tr class="memdesc:a0571c442a535da3a8541642f8cead00e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This enumeration specifies the type of the underlaying operating system. <a href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a0571c442a535da3a8541642f8cead00e">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a0571c442a535da3a8541642f8cead00e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62a1b72ba9a7accee438d19212785e54"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a62a1b72ba9a7accee438d19212785e54">MUtils::OS::known_folder_t</a> { <a class="el" href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a62a1b72ba9a7accee438d19212785e54a0fb64b1e975f9ff0cc97df6e3b7f8110">MUtils::OS::FOLDER_LOCALAPPDATA</a> = 0,
<a class="el" href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a62a1b72ba9a7accee438d19212785e54abb6f5bd0b6564b2f093f5a2d1c055183">MUtils::OS::FOLDER_PROGRAMFILES</a> = 2,
<a class="el" href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a62a1b72ba9a7accee438d19212785e54a7c25655022efd34417acfaa11f8491b3">MUtils::OS::FOLDER_SYSTEMFOLDER</a> = 3,
<a class="el" href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a62a1b72ba9a7accee438d19212785e54af32b4c27ec428ad2bf69d8c8802de21c">MUtils::OS::FOLDER_SYSTROOT_DIR</a> = 4
}<tr class="memdesc:a62a1b72ba9a7accee438d19212785e54"><td class="mdescLeft">&#160;</td><td class="mdescRight">This enumeration specifies "known" folder identifiers. <a href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a62a1b72ba9a7accee438d19212785e54">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a62a1b72ba9a7accee438d19212785e54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0005b2a3f0289c1078c9cc8ba5ccba45"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a0005b2a3f0289c1078c9cc8ba5ccba45">MUtils::OS::network_type_t</a> { <a class="el" href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a0005b2a3f0289c1078c9cc8ba5ccba45af3ce4c3003fa7cc9e3b774669b8ab6e9">MUtils::OS::NETWORK_TYPE_ERR</a> = 0,
<a class="el" href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a0005b2a3f0289c1078c9cc8ba5ccba45ab81e893484ac0d201a9f54e2af0563dc">MUtils::OS::NETWORK_TYPE_NON</a> = 1,
<a class="el" href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a0005b2a3f0289c1078c9cc8ba5ccba45a9ed5ecd6b286fa5ec2e23e652dac8769">MUtils::OS::NETWORK_TYPE_YES</a> = 2
}<tr class="memdesc:a0005b2a3f0289c1078c9cc8ba5ccba45"><td class="mdescLeft">&#160;</td><td class="mdescRight">This enumeration specifies network connection types. <a href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a0005b2a3f0289c1078c9cc8ba5ccba45">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a0005b2a3f0289c1078c9cc8ba5ccba45"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a877cc1e40b0115d1a628d987afc9c392"><td class="memItemLeft" align="right" valign="top"><a id="a877cc1e40b0115d1a628d987afc9c392"></a>
MUTILS_API void&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::system_message_nfo</b> (const wchar_t *const title, const wchar_t *const text)</td></tr>
<tr class="separator:a877cc1e40b0115d1a628d987afc9c392"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54a7af2aaa8f98ff7458093886b504d5"><td class="memItemLeft" align="right" valign="top"><a id="a54a7af2aaa8f98ff7458093886b504d5"></a>
MUTILS_API void&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::system_message_wrn</b> (const wchar_t *const title, const wchar_t *const text)</td></tr>
<tr class="separator:a54a7af2aaa8f98ff7458093886b504d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accb5c7b1d768bf109577a497f735abc9"><td class="memItemLeft" align="right" valign="top"><a id="accb5c7b1d768bf109577a497f735abc9"></a>
MUTILS_API void&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::system_message_err</b> (const wchar_t *const title, const wchar_t *const text)</td></tr>
<tr class="separator:accb5c7b1d768bf109577a497f735abc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4203b939dc99c426a833bb8e2448327d"><td class="memItemLeft" align="right" valign="top"><a id="a4203b939dc99c426a833bb8e2448327d"></a>
MUTILS_API const QStringList&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::crack_command_line</b> (const QString &amp;command_line=QString())</td></tr>
<tr class="separator:a4203b939dc99c426a833bb8e2448327d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a011be36679bd1704b8a70e19aba35a8f"><td class="memItemLeft" align="right" valign="top"><a id="a011be36679bd1704b8a70e19aba35a8f"></a>
MUTILS_API const ArgumentMap &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::arguments</b> (void)</td></tr>
<tr class="separator:a011be36679bd1704b8a70e19aba35a8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54c3188b7166b298706939d1e40aef3e"><td class="memItemLeft" align="right" valign="top"><a id="a54c3188b7166b298706939d1e40aef3e"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::copy_file</b> (const QString &amp;sourcePath, const QString &amp;outputPath, const bool &amp;overwrite=true, const progress_callback_t callback=NULL, void *const userData=NULL)</td></tr>
<tr class="separator:a54c3188b7166b298706939d1e40aef3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af546cbe117457e075e1068e40914efd5"><td class="memItemLeft" align="right" valign="top"><a id="af546cbe117457e075e1068e40914efd5"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::get_file_version</b> (const QString fileName, quint16 *const major=NULL, quint16 *const minor=NULL, quint16 *const patch=NULL, quint16 *const build=NULL)</td></tr>
<tr class="separator:af546cbe117457e075e1068e40914efd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9699dd5636663289bdf1fd5ef153bbc9"><td class="memItemLeft" align="right" valign="top"><a id="a9699dd5636663289bdf1fd5ef153bbc9"></a>
MUTILS_API const Version::os_version_t &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::os_version</b> (void)</td></tr>
<tr class="separator:a9699dd5636663289bdf1fd5ef153bbc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4de8256ab4a269f5036d5cf873550be1"><td class="memItemLeft" align="right" valign="top"><a id="a4de8256ab4a269f5036d5cf873550be1"></a>
MUTILS_API const char *&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::os_friendly_name</b> (const <a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a199c9376f9941b2ec9721eab0b544da0">MUtils::OS::Version::os_version_t</a> &amp;os_version)</td></tr>
<tr class="separator:a4de8256ab4a269f5036d5cf873550be1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9b386b6e44ec9584a01ff9a8612f573"><td class="memItemLeft" align="right" valign="top"><a id="aa9b386b6e44ec9584a01ff9a8612f573"></a>
MUTILS_API const bool &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::running_on_wine</b> (void)</td></tr>
<tr class="separator:aa9b386b6e44ec9584a01ff9a8612f573"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab76cf63d91b34f34f50f218563cf6c75"><td class="memItemLeft" align="right" valign="top"><a id="ab76cf63d91b34f34f50f218563cf6c75"></a>
MUTILS_API const QString &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::known_folder</b> (known_folder_t folder_id)</td></tr>
<tr class="separator:ab76cf63d91b34f34f50f218563cf6c75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a186c34bfd3d6256af637635009faf4ea"><td class="memItemLeft" align="right" valign="top"><a id="a186c34bfd3d6256af637635009faf4ea"></a>
MUTILS_API QDate&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::current_date</b> (void)</td></tr>
<tr class="separator:a186c34bfd3d6256af637635009faf4ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bbfd16627ced25cd18eadee7618b2e6"><td class="memItemLeft" align="right" valign="top"><a id="a1bbfd16627ced25cd18eadee7618b2e6"></a>
MUTILS_API quint64&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::current_file_time</b> (void)</td></tr>
<tr class="separator:a1bbfd16627ced25cd18eadee7618b2e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a558f20a4975d10af0dae87530dcd3bda"><td class="memItemLeft" align="right" valign="top"><a id="a558f20a4975d10af0dae87530dcd3bda"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::is_elevated</b> (bool *bIsUacEnabled=NULL)</td></tr>
<tr class="separator:a558f20a4975d10af0dae87530dcd3bda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e917b2293de394c591f6d35e0ce0c78"><td class="memItemLeft" align="right" valign="top"><a id="a8e917b2293de394c591f6d35e0ce0c78"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::user_is_admin</b> (void)</td></tr>
<tr class="separator:a8e917b2293de394c591f6d35e0ce0c78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09e0506f5a5eae04f01d1d1d095375c0"><td class="memItemLeft" align="right" valign="top">MUTILS_API int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a09e0506f5a5eae04f01d1d1d095375c0">MUtils::OS::network_status</a> (void)</td></tr>
<tr class="memdesc:a09e0506f5a5eae04f01d1d1d095375c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check the network status. <a href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a09e0506f5a5eae04f01d1d1d095375c0">More...</a><br /></td></tr>
<tr class="separator:a09e0506f5a5eae04f01d1d1d095375c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87d5c8ed67e802c06009ebe488515c66"><td class="memItemLeft" align="right" valign="top"><a id="a87d5c8ed67e802c06009ebe488515c66"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::handle_os_message</b> (const void *const message, long *result)</td></tr>
<tr class="separator:a87d5c8ed67e802c06009ebe488515c66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5496e72e4bbe987ce8154438c8bbe20a"><td class="memItemLeft" align="right" valign="top">MUTILS_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a5496e72e4bbe987ce8154438c8bbe20a">MUtils::OS::sleep_ms</a> (const size_t &amp;duration)</td></tr>
<tr class="memdesc:a5496e72e4bbe987ce8154438c8bbe20a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Suspend calling thread. <a href="../../d2/df4/namespace_m_utils_1_1_o_s.html#a5496e72e4bbe987ce8154438c8bbe20a">More...</a><br /></td></tr>
<tr class="separator:a5496e72e4bbe987ce8154438c8bbe20a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74991778f00d57bf75169d54efe5fc6a"><td class="memItemLeft" align="right" valign="top"><a id="a74991778f00d57bf75169d54efe5fc6a"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::is_executable_file</b> (const QString &amp;path)</td></tr>
<tr class="separator:a74991778f00d57bf75169d54efe5fc6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a969ef01c03d623e7a551ab8dfa2c6ed1"><td class="memItemLeft" align="right" valign="top"><a id="a969ef01c03d623e7a551ab8dfa2c6ed1"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::is_library_file</b> (const QString &amp;path)</td></tr>
<tr class="separator:a969ef01c03d623e7a551ab8dfa2c6ed1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fe8440363edcfc954b82559476b0c50"><td class="memItemLeft" align="right" valign="top"><a id="a4fe8440363edcfc954b82559476b0c50"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::is_hibernation_supported</b> (void)</td></tr>
<tr class="separator:a4fe8440363edcfc954b82559476b0c50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b5d76d886ba97d317c8de9ab99e3d8b"><td class="memItemLeft" align="right" valign="top"><a id="a3b5d76d886ba97d317c8de9ab99e3d8b"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::shutdown_computer</b> (const QString &amp;message, const unsigned long timeout, const bool forceShutdown, const bool hibernate)</td></tr>
<tr class="separator:a3b5d76d886ba97d317c8de9ab99e3d8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f73ef0fdb95f1c7b59463cdc4e4e3e7"><td class="memItemLeft" align="right" valign="top"><a id="a9f73ef0fdb95f1c7b59463cdc4e4e3e7"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::free_diskspace</b> (const QString &amp;path, quint64 &amp;freeSpace)</td></tr>
<tr class="separator:a9f73ef0fdb95f1c7b59463cdc4e4e3e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8768270362c7c933c50f6b2370ff3a2"><td class="memItemLeft" align="right" valign="top"><a id="ae8768270362c7c933c50f6b2370ff3a2"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::shell_open</b> (const QWidget *parent, const QString &amp;url, const bool explore=false)</td></tr>
<tr class="separator:ae8768270362c7c933c50f6b2370ff3a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d1ab4e278003d69924af330616f9b2a"><td class="memItemLeft" align="right" valign="top"><a id="a8d1ab4e278003d69924af330616f9b2a"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::shell_open</b> (const QWidget *parent, const QString &amp;url, const QString &amp;parameters, const QString &amp;directory, const bool explore=false)</td></tr>
<tr class="separator:a8d1ab4e278003d69924af330616f9b2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ee4959eebd2faf30bdf023b098dcf4b"><td class="memItemLeft" align="right" valign="top"><a id="a5ee4959eebd2faf30bdf023b098dcf4b"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::open_media_file</b> (const QString &amp;mediaFilePath)</td></tr>
<tr class="separator:a5ee4959eebd2faf30bdf023b098dcf4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad05797a62e0c29ac6752b9d69209dbd9"><td class="memItemLeft" align="right" valign="top"><a id="ad05797a62e0c29ac6752b9d69209dbd9"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::change_process_priority</b> (const int priority)</td></tr>
<tr class="separator:ad05797a62e0c29ac6752b9d69209dbd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05f7e04c25f409919b9922b6171896a4"><td class="memItemLeft" align="right" valign="top"><a id="a05f7e04c25f409919b9922b6171896a4"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::change_process_priority</b> (const QProcess *proc, const int priority)</td></tr>
<tr class="separator:a05f7e04c25f409919b9922b6171896a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c2285a69b81c1d2f9da37c145de8d44"><td class="memItemLeft" align="right" valign="top"><a id="a3c2285a69b81c1d2f9da37c145de8d44"></a>
MUTILS_API quint32&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::process_id</b> (void)</td></tr>
<tr class="separator:a3c2285a69b81c1d2f9da37c145de8d44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a805af06017fa5bd299af1d1d7edb26d1"><td class="memItemLeft" align="right" valign="top"><a id="a805af06017fa5bd299af1d1d7edb26d1"></a>
MUTILS_API quint32&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::process_id</b> (const QProcess *const proc)</td></tr>
<tr class="separator:a805af06017fa5bd299af1d1d7edb26d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c804a4d9afe410bf34496f00b75089e"><td class="memItemLeft" align="right" valign="top"><a id="a2c804a4d9afe410bf34496f00b75089e"></a>
MUTILS_API quint32&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::thread_id</b> (void)</td></tr>
<tr class="separator:a2c804a4d9afe410bf34496f00b75089e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa663f5b2f142e1b210ca4ce85636a703"><td class="memItemLeft" align="right" valign="top"><a id="aa663f5b2f142e1b210ca4ce85636a703"></a>
MUTILS_API quint32&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::thread_id</b> (const QProcess *const proc)</td></tr>
<tr class="separator:aa663f5b2f142e1b210ca4ce85636a703"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac062d0305baaba193932a6f855d4aa7c"><td class="memItemLeft" align="right" valign="top"><a id="ac062d0305baaba193932a6f855d4aa7c"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::suspend_process</b> (const QProcess *proc, const bool suspend)</td></tr>
<tr class="separator:ac062d0305baaba193932a6f855d4aa7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff89343017796107bba144b2402a5b63"><td class="memItemLeft" align="right" valign="top"><a id="aff89343017796107bba144b2402a5b63"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::setup_timer_resolution</b> (const quint32 &amp;interval=1)</td></tr>
<tr class="separator:aff89343017796107bba144b2402a5b63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d988732cbff50efd0f0bf5846b13ecc"><td class="memItemLeft" align="right" valign="top"><a id="a0d988732cbff50efd0f0bf5846b13ecc"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::reset_timer_resolution</b> (const quint32 &amp;interval=1)</td></tr>
<tr class="separator:a0d988732cbff50efd0f0bf5846b13ecc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a1a887e918be955598fd0eccd838b8e"><td class="memItemLeft" align="right" valign="top"><a id="a8a1a887e918be955598fd0eccd838b8e"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::set_file_time</b> (const QFile &amp;file, const QDateTime &amp;created=QDateTime(), const QDateTime &amp;modified=QDateTime(), const QDateTime &amp;accessed=QDateTime())</td></tr>
<tr class="separator:a8a1a887e918be955598fd0eccd838b8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6f2a52d1bfeee022c0f8ee407736d13"><td class="memItemLeft" align="right" valign="top"><a id="ad6f2a52d1bfeee022c0f8ee407736d13"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::set_file_time</b> (const QString &amp;path, const QDateTime &amp;created=QDateTime(), const QDateTime &amp;modified=QDateTime(), const QDateTime &amp;accessed=QDateTime())</td></tr>
<tr class="separator:ad6f2a52d1bfeee022c0f8ee407736d13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a311c1371e1f1d75296f82caf60d4fd6b"><td class="memItemLeft" align="right" valign="top"><a id="a311c1371e1f1d75296f82caf60d4fd6b"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::check_key_state_esc</b> (void)</td></tr>
<tr class="separator:a311c1371e1f1d75296f82caf60d4fd6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d6d02a26f3588c41db816eb75940817"><td class="memItemLeft" align="right" valign="top"><a id="a0d6d02a26f3588c41db816eb75940817"></a>
MUTILS_API void&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::shell_change_notification</b> (void)</td></tr>
<tr class="separator:a0d6d02a26f3588c41db816eb75940817"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77d68a73d43e70a6c63b100f8e8258cb"><td class="memItemLeft" align="right" valign="top"><a id="a77d68a73d43e70a6c63b100f8e8258cb"></a>
MUTILS_API QString&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::get_file_path</b> (const int &amp;fd)</td></tr>
<tr class="separator:a77d68a73d43e70a6c63b100f8e8258cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42625342563665f192985e498538dca1"><td class="memItemLeft" align="right" valign="top"><a id="a42625342563665f192985e498538dca1"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::wow64fsredir_disable</b> (void *oldValue)</td></tr>
<tr class="separator:a42625342563665f192985e498538dca1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb3f90b82e5496f5c92abf66c8769869"><td class="memItemLeft" align="right" valign="top"><a id="abb3f90b82e5496f5c92abf66c8769869"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::wow64fsredir_revert</b> (void *oldValue)</td></tr>
<tr class="separator:abb3f90b82e5496f5c92abf66c8769869"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33d06cfc9ed30f660685ab15188d23f2"><td class="memItemLeft" align="right" valign="top"><a id="a33d06cfc9ed30f660685ab15188d23f2"></a>
MUTILS_API QString&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::get_envvar</b> (const QString &amp;name)</td></tr>
<tr class="separator:a33d06cfc9ed30f660685ab15188d23f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fe50bd7b4a9332b33fc505c0bebf74a"><td class="memItemLeft" align="right" valign="top"><a id="a7fe50bd7b4a9332b33fc505c0bebf74a"></a>
MUTILS_API bool&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::set_envvar</b> (const QString &amp;name, const QString &amp;value)</td></tr>
<tr class="separator:a7fe50bd7b4a9332b33fc505c0bebf74a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d3e65333d995747c4a0702817552b21"><td class="memItemLeft" align="right" valign="top"><a id="a1d3e65333d995747c4a0702817552b21"></a>
MUTILS_API void&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::check_debugger</b> (void)</td></tr>
<tr class="separator:a1d3e65333d995747c4a0702817552b21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ce69f50dc39f029edb18ee46d940df4"><td class="memItemLeft" align="right" valign="top"><a id="a4ce69f50dc39f029edb18ee46d940df4"></a>
MUTILS_API void&#160;</td><td class="memItemRight" valign="bottom"><b>MUtils::OS::fatal_exit</b> (const wchar_t *const errorMessage)</td></tr>
<tr class="separator:a4ce69f50dc39f029edb18ee46d940df4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a9d3c6f9379b28bab18428ce9ff869ce4"><td class="memItemLeft" align="right" valign="top">MUTILS_API const os_version_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a9d3c6f9379b28bab18428ce9ff869ce4">MUtils::OS::Version::WINDOWS_WIN2K</a></td></tr>
<tr class="memdesc:a9d3c6f9379b28bab18428ce9ff869ce4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operating system version constant. <a href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a9d3c6f9379b28bab18428ce9ff869ce4">More...</a><br /></td></tr>
<tr class="separator:a9d3c6f9379b28bab18428ce9ff869ce4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0469feecbf8adb7d7358c76c71ac0280"><td class="memItemLeft" align="right" valign="top">MUTILS_API const os_version_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a0469feecbf8adb7d7358c76c71ac0280">MUtils::OS::Version::WINDOWS_WINXP</a></td></tr>
<tr class="memdesc:a0469feecbf8adb7d7358c76c71ac0280"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operating system version constant. <a href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a0469feecbf8adb7d7358c76c71ac0280">More...</a><br /></td></tr>
<tr class="separator:a0469feecbf8adb7d7358c76c71ac0280"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b97ac27f03a05b0121dd617a69ae393"><td class="memItemLeft" align="right" valign="top">MUTILS_API const os_version_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a7b97ac27f03a05b0121dd617a69ae393">MUtils::OS::Version::WINDOWS_XPX64</a></td></tr>
<tr class="memdesc:a7b97ac27f03a05b0121dd617a69ae393"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operating system version constant. <a href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a7b97ac27f03a05b0121dd617a69ae393">More...</a><br /></td></tr>
<tr class="separator:a7b97ac27f03a05b0121dd617a69ae393"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6547f22f54d3578977b428ed41e51a01"><td class="memItemLeft" align="right" valign="top">MUTILS_API const os_version_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a6547f22f54d3578977b428ed41e51a01">MUtils::OS::Version::WINDOWS_VISTA</a></td></tr>
<tr class="memdesc:a6547f22f54d3578977b428ed41e51a01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operating system version constant. <a href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a6547f22f54d3578977b428ed41e51a01">More...</a><br /></td></tr>
<tr class="separator:a6547f22f54d3578977b428ed41e51a01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a297a875094ba596314af1105900e3e9a"><td class="memItemLeft" align="right" valign="top">MUTILS_API const os_version_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a297a875094ba596314af1105900e3e9a">MUtils::OS::Version::WINDOWS_WIN70</a></td></tr>
<tr class="memdesc:a297a875094ba596314af1105900e3e9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operating system version constant. <a href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a297a875094ba596314af1105900e3e9a">More...</a><br /></td></tr>
<tr class="separator:a297a875094ba596314af1105900e3e9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9c54834ffac2a4a7143ecf4d26232f7"><td class="memItemLeft" align="right" valign="top">MUTILS_API const os_version_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#ad9c54834ffac2a4a7143ecf4d26232f7">MUtils::OS::Version::WINDOWS_WIN80</a></td></tr>
<tr class="memdesc:ad9c54834ffac2a4a7143ecf4d26232f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operating system version constant. <a href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#ad9c54834ffac2a4a7143ecf4d26232f7">More...</a><br /></td></tr>
<tr class="separator:ad9c54834ffac2a4a7143ecf4d26232f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72189512f10d40462bd055dc865771e6"><td class="memItemLeft" align="right" valign="top">MUTILS_API const os_version_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a72189512f10d40462bd055dc865771e6">MUtils::OS::Version::WINDOWS_WIN81</a></td></tr>
<tr class="memdesc:a72189512f10d40462bd055dc865771e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operating system version constant. <a href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a72189512f10d40462bd055dc865771e6">More...</a><br /></td></tr>
<tr class="separator:a72189512f10d40462bd055dc865771e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2846cdee70f5aab693f7fe7ccb47d044"><td class="memItemLeft" align="right" valign="top">MUTILS_API const os_version_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a2846cdee70f5aab693f7fe7ccb47d044">MUtils::OS::Version::WINDOWS_WN100</a></td></tr>
<tr class="memdesc:a2846cdee70f5aab693f7fe7ccb47d044"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operating system version constant. <a href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a2846cdee70f5aab693f7fe7ccb47d044">More...</a><br /></td></tr>
<tr class="separator:a2846cdee70f5aab693f7fe7ccb47d044"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bf24022df29669da329e21d9b3d07d7"><td class="memItemLeft" align="right" valign="top">MUTILS_API const os_version_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a0bf24022df29669da329e21d9b3d07d7">MUtils::OS::Version::UNKNOWN_OPSYS</a></td></tr>
<tr class="memdesc:a0bf24022df29669da329e21d9b3d07d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operating system version constant. <a href="../../d1/d7d/namespace_m_utils_1_1_o_s_1_1_version.html#a0bf24022df29669da329e21d9b3d07d7">More...</a><br /></td></tr>
<tr class="separator:a0bf24022df29669da329e21d9b3d07d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This file contains function that wrap OS-specific functionality in a platform-independent way. </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>