2018-11-03
This commit is contained in:
parent
c0884ee7b6
commit
f43706c3e9
|
@ -19,7 +19,7 @@
|
|||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">xdgcfg
|
||||
 <span id="projectnumber">0.2.0</span>
|
||||
 <span id="projectnumber">0.2.2</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">xdgcfg
|
||||
 <span id="projectnumber">0.2.0</span>
|
||||
 <span id="projectnumber">0.2.2</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">xdgcfg
|
||||
 <span id="projectnumber">0.2.0</span>
|
||||
 <span id="projectnumber">0.2.2</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">xdgcfg
|
||||
 <span id="projectnumber">0.2.0</span>
|
||||
 <span id="projectnumber">0.2.2</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -119,7 +119,7 @@ const bool </td><td class="memItemRight" valign="bottom"><a class="el" href
|
|||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<div class="fragment"><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> : _cfg()</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> , _verbose(<span class="keyword">false</span>)</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  xdgHandle xdg;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  xdgInitHandle(&xdg);</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  _filepath = xdgConfigHome(&xdg);</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  xdgWipeHandle(&xdg);</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keywordflow">if</span> (!subdir.empty())</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  _filepath /= subdir;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordflow">if</span> (!fs::exists(_filepath))</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  fs::create_directory(_filepath);</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  }</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  }</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  _filepath /= filename;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> }</div></div><!-- fragment -->
|
||||
<div class="fragment"><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> : _cfg()</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> , _verbose(<span class="keyword">false</span>)</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  xdgHandle xdg;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  xdgInitHandle(&xdg);</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  _filepath = xdgConfigHome(&xdg);</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  xdgWipeHandle(&xdg);</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keywordflow">if</span> (!subdir.empty())</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  _filepath /= subdir;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  }</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordflow">if</span> (!fs::exists(_filepath))</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  fs::create_directories(_filepath);</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  }</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  _filepath /= filename;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> }</div></div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">xdgcfg
|
||||
 <span id="projectnumber">0.2.0</span>
|
||||
 <span id="projectnumber">0.2.2</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">xdgcfg
|
||||
 <span id="projectnumber">0.2.0</span>
|
||||
 <span id="projectnumber">0.2.2</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">xdgcfg
|
||||
 <span id="projectnumber">0.2.0</span>
|
||||
 <span id="projectnumber">0.2.2</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">xdgcfg
|
||||
 <span id="projectnumber">0.2.0</span>
|
||||
 <span id="projectnumber">0.2.2</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">xdgcfg
|
||||
 <span id="projectnumber">0.2.0</span>
|
||||
 <span id="projectnumber">0.2.2</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">xdgcfg
|
||||
 <span id="projectnumber">0.2.0</span>
|
||||
 <span id="projectnumber">0.2.2</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">xdgcfg
|
||||
 <span id="projectnumber">0.2.0</span>
|
||||
 <span id="projectnumber">0.2.2</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">xdgcfg
|
||||
 <span id="projectnumber">0.2.0</span>
|
||||
 <span id="projectnumber">0.2.2</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Reference in New Issue
Block a user