Sophie

Sophie

distrib > Mageia > 4 > i586 > media > core-release > by-pkgid > 2a90dcd9dfcd284ddf6dc3b0a0b0bf47 > files > 185

steghide-0.5.1-17.mga4.i586.rpm

<!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.5"/>
<title>steghide: ProgressOutput.h Source File</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="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 style="padding-left: 0.5em;">
   <div id="projectname">steghide
   &#160;<span id="projectnumber">0.5.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ProgressOutput.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ProgressOutput_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * steghide 0.5.1 - a steganography program</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 1999-2003 Stefan Hetzl &lt;shetzl@chello.at&gt;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * This program is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * modify it under the terms of the GNU General Public License</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * as published by the Free Software Foundation; either version 2</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * of the License, or (at your option) any later version.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * GNU General Public License for more details.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * along with this program; if not, write to the Free Software</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#ifndef SH_PROGRESSOUTPUT_H</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define SH_PROGRESSOUTPUT_H</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;cstdarg&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;ctime&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classProgressOutput.html">   32</a></span>&#160;<span class="keyword">class </span><a class="code" href="classProgressOutput.html">ProgressOutput</a> {</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        <a class="code" href="classProgressOutput.html#a3bcb9ceb59b9692bdc1e4ad21a258776">ProgressOutput</a> (<span class="keywordtype">void</span>) ;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        <a class="code" href="classProgressOutput.html#a3bcb9ceb59b9692bdc1e4ad21a258776">ProgressOutput</a> (<span class="keyword">const</span> std::string&amp; m) ;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classProgressOutput.html#a0855ccf4fb1ebfd3af608070eb1d4a71">   45</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classProgressOutput.html#a0855ccf4fb1ebfd3af608070eb1d4a71">setMessage</a> (<span class="keyword">const</span> std::string&amp; m)</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;                { <a class="code" href="classMessage.html">Message</a> = m ; } ;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classProgressOutput.html#a0855ccf4fb1ebfd3af608070eb1d4a71">setMessage</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *msgfmt, ...) ;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classProgressOutput.html#afa50b8bcf85f139caa01495479b3849b">update</a> (<span class="keywordtype">float</span> rate) ;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classProgressOutput.html#a1ee6e73d1d28ac4c04672111a591c449">done</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span> ;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classProgressOutput.html#a1ee6e73d1d28ac4c04672111a591c449">done</a> (<span class="keywordtype">float</span> rate, <span class="keywordtype">float</span> avgweight = 1.0) <span class="keyword">const</span> ;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classProgressOutput.html#ac72839c165b28e001209dfce3c8ba9d1">   67</a></span>&#160;        <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="classProgressOutput.html#ac72839c165b28e001209dfce3c8ba9d1">NoAvgWeight</a> ;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        std::string <a class="code" href="classProgressOutput.html#a605d3220b04426c17978d26cdc5f89b7">vcompose</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *msgfmt, va_list ap) <span class="keyword">const</span> ;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <span class="keyword">private</span>:</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classProgressOutput.html#a9cac63691979785d388daa94051468be">   73</a></span>&#160;        std::string <a class="code" href="classProgressOutput.html#a9cac63691979785d388daa94051468be">Message</a> ;</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classProgressOutput.html#a1786e9955e0ef66f3806c4d7a7818f6d">   74</a></span>&#160;        time_t <a class="code" href="classProgressOutput.html#a1786e9955e0ef66f3806c4d7a7818f6d">LastUpdate</a> ;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;} ;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">#endif // ndef SH_PROGRESSOUTPUT_H</span></div>
<div class="ttc" id="classProgressOutput_html_a1786e9955e0ef66f3806c4d7a7818f6d"><div class="ttname"><a href="classProgressOutput.html#a1786e9955e0ef66f3806c4d7a7818f6d">ProgressOutput::LastUpdate</a></div><div class="ttdeci">time_t LastUpdate</div><div class="ttdef"><b>Definition:</b> ProgressOutput.h:74</div></div>
<div class="ttc" id="classProgressOutput_html_a0855ccf4fb1ebfd3af608070eb1d4a71"><div class="ttname"><a href="classProgressOutput.html#a0855ccf4fb1ebfd3af608070eb1d4a71">ProgressOutput::setMessage</a></div><div class="ttdeci">void setMessage(const std::string &amp;m)</div><div class="ttdef"><b>Definition:</b> ProgressOutput.h:45</div></div>
<div class="ttc" id="classMessage_html"><div class="ttname"><a href="classMessage.html">Message</a></div><div class="ttdef"><b>Definition:</b> msg.h:67</div></div>
<div class="ttc" id="classProgressOutput_html_afa50b8bcf85f139caa01495479b3849b"><div class="ttname"><a href="classProgressOutput.html#afa50b8bcf85f139caa01495479b3849b">ProgressOutput::update</a></div><div class="ttdeci">void update(float rate)</div><div class="ttdef"><b>Definition:</b> ProgressOutput.cc:57</div></div>
<div class="ttc" id="classProgressOutput_html"><div class="ttname"><a href="classProgressOutput.html">ProgressOutput</a></div><div class="ttdoc">prints the progress to stdout </div><div class="ttdef"><b>Definition:</b> ProgressOutput.h:32</div></div>
<div class="ttc" id="classProgressOutput_html_a1ee6e73d1d28ac4c04672111a591c449"><div class="ttname"><a href="classProgressOutput.html#a1ee6e73d1d28ac4c04672111a591c449">ProgressOutput::done</a></div><div class="ttdeci">void done(void) const </div><div class="ttdef"><b>Definition:</b> ProgressOutput.cc:78</div></div>
<div class="ttc" id="classProgressOutput_html_a605d3220b04426c17978d26cdc5f89b7"><div class="ttname"><a href="classProgressOutput.html#a605d3220b04426c17978d26cdc5f89b7">ProgressOutput::vcompose</a></div><div class="ttdeci">std::string vcompose(const char *msgfmt, va_list ap) const </div><div class="ttdef"><b>Definition:</b> ProgressOutput.cc:48</div></div>
<div class="ttc" id="classProgressOutput_html_a9cac63691979785d388daa94051468be"><div class="ttname"><a href="classProgressOutput.html#a9cac63691979785d388daa94051468be">ProgressOutput::Message</a></div><div class="ttdeci">std::string Message</div><div class="ttdef"><b>Definition:</b> ProgressOutput.h:73</div></div>
<div class="ttc" id="classProgressOutput_html_a3bcb9ceb59b9692bdc1e4ad21a258776"><div class="ttname"><a href="classProgressOutput.html#a3bcb9ceb59b9692bdc1e4ad21a258776">ProgressOutput::ProgressOutput</a></div><div class="ttdeci">ProgressOutput(void)</div><div class="ttdef"><b>Definition:</b> ProgressOutput.cc:28</div></div>
<div class="ttc" id="classProgressOutput_html_ac72839c165b28e001209dfce3c8ba9d1"><div class="ttname"><a href="classProgressOutput.html#ac72839c165b28e001209dfce3c8ba9d1">ProgressOutput::NoAvgWeight</a></div><div class="ttdeci">static const float NoAvgWeight</div><div class="ttdef"><b>Definition:</b> ProgressOutput.h:67</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Oct 18 2013 17:59:36 for steghide by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>