<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>CapiSuite: readDTMF.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.8 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>readDTMF.h</h1><a href="readDTMF_8h.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 00008 <span class="comment">/***************************************************************************</span> 00009 <span class="comment"> * *</span> 00010 <span class="comment"> * This program is free software; you can redistribute it and/or modify *</span> 00011 <span class="comment"> * it under the terms of the GNU General Public License as published by *</span> 00012 <span class="comment"> * the Free Software Foundation; either version 2 of the License, or *</span> 00013 <span class="comment"> * (at your option) any later version. *</span> 00014 <span class="comment"> * *</span> 00015 <span class="comment"> ***************************************************************************/</span> 00016 00017 <span class="preprocessor">#ifndef READDTMF_H</span> 00018 <span class="preprocessor"></span><span class="preprocessor">#define READDTMF_H</span> 00019 <span class="preprocessor"></span> 00020 <span class="preprocessor">#include "<a class="code" href="callmodule_8h.html">callmodule.h</a>"</span> 00021 00022 <span class="keyword">class </span><a class="code" href="classConnection.html">Connection</a>; 00023 <a name="l00035"></a><a class="code" href="classReadDTMF.html">00035</a> <span class="keyword">class </span><a class="code" href="classReadDTMF.html">ReadDTMF</a>: <span class="keyword">public</span> <a class="code" href="classCallModule.html">CallModule</a> 00036 { 00037 <span class="keyword">public</span>: 00045 <a class="code" href="classReadDTMF.html#a0">ReadDTMF</a>(<a class="code" href="classConnection.html">Connection</a> *conn, <span class="keywordtype">int</span> timeout, <span class="keywordtype">int</span> <a class="code" href="classReadDTMF.html#r1">min_digits</a>, <span class="keywordtype">int</span> <a class="code" href="classReadDTMF.html#r2">max_digits</a>); 00046 00056 <span class="keywordtype">void</span> <a class="code" href="classReadDTMF.html#a1">mainLoop</a>() <span class="keywordflow">throw</span> (<a class="code" href="classCapiWrongState.html">CapiWrongState</a>); 00057 00060 <span class="keywordtype">void</span> <a class="code" href="classReadDTMF.html#a2">gotDTMF</a>(); 00061 00062 <span class="keyword">private</span>: 00063 <span class="keywordtype">int</span> <a class="code" href="classReadDTMF.html#r0">digit_count</a>, <a name="l00064"></a><a class="code" href="classReadDTMF.html#r1">00064</a> min_digits, 00065 max_digits; 00066 }; 00067 00068 <span class="preprocessor">#endif</span> 00069 <span class="preprocessor"></span> 00070 <span class="comment">/* History</span> 00071 <span class="comment"></span> 00072 <span class="comment">$Log: readDTMF.h,v $</span> 00073 <span class="comment">Revision 1.1 2003/02/19 08:19:53 gernot</span> 00074 <span class="comment">Initial revision</span> 00075 <span class="comment"></span> 00076 <span class="comment">Revision 1.2 2002/11/29 10:28:34 ghillie</span> 00077 <span class="comment">- updated comments, use doxygen format now</span> 00078 <span class="comment">- removed unnecessary attribute again</span> 00079 <span class="comment"></span> 00080 <span class="comment">Revision 1.1 2002/11/25 11:42:07 ghillie</span> 00081 <span class="comment">initial checkin</span> 00082 <span class="comment"></span> 00083 <span class="comment">*/</span> </div></pre><hr size="1"><address style="align: right;"><small>Generated on Sun Nov 28 14:37:44 2004 for CapiSuite by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address> </body> </html>