<!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: calloutgoing.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>calloutgoing.h</h1><a href="calloutgoing_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 CALLOUTGOINGMODULE_H</span> 00018 <span class="preprocessor"></span><span class="preprocessor">#define CALLOUTGOINGMODULE_H</span> 00019 <span class="preprocessor"></span> 00020 <span class="preprocessor">#include "<a class="code" href="callmodule_8h.html">callmodule.h</a>"</span> 00021 <span class="preprocessor">#include "../backend/connection.h"</span> 00022 00023 00024 <span class="keyword">using</span> <span class="keyword">namespace </span>std; 00025 <a name="l00041"></a><a class="code" href="classCallOutgoing.html">00041</a> <span class="keyword">class </span><a class="code" href="classCallOutgoing.html">CallOutgoing</a>: <span class="keyword">public</span> <a class="code" href="classCallModule.html">CallModule</a> 00042 { 00043 <span class="keyword">public</span>: 00056 <a class="code" href="classCallOutgoing.html#a0">CallOutgoing</a>(<a class="code" href="classCapi.html">Capi</a> *<a class="code" href="classCallOutgoing.html#r5">capi</a>, _cdword <a class="code" href="classCallOutgoing.html#r6">controller</a>, string <a class="code" href="classCallOutgoing.html#r1">call_from</a>, string <a class="code" href="classCallOutgoing.html#r2">call_to</a>, Connection::service_t <a class="code" href="classCallOutgoing.html#r0">service</a>, <span class="keywordtype">int</span> timeout, string <a class="code" href="classCallOutgoing.html#r3">faxStationID</a>, string <a class="code" href="classCallOutgoing.html#r4">faxHeadline</a>, <span class="keywordtype">bool</span> <a class="code" href="classCallOutgoing.html#r7">clir</a>); 00057 00065 <span class="keywordtype">void</span> <a class="code" href="classCallOutgoing.html#a1">mainLoop</a>() <span class="keywordflow">throw</span> (<a class="code" href="classCapiExternalError.html">CapiExternalError</a>, <a class="code" href="classCapiMsgError.html">CapiMsgError</a>); 00066 00070 <span class="keywordtype">void</span> <a class="code" href="classCallOutgoing.html#a2">callConnected</a>(); 00071 00074 <span class="keywordtype">void</span> <a class="code" href="classCallOutgoing.html#a3">alerting</a>(); 00075 00080 <a class="code" href="classConnection.html">Connection</a>* <a class="code" href="classCallOutgoing.html#a4">getConnection</a>(); 00081 00090 <span class="keywordtype">int</span> <a class="code" href="classCallOutgoing.html#a5">getResult</a>(); 00091 00092 <span class="keyword">private</span>: <a name="l00093"></a><a class="code" href="classCallOutgoing.html#r0">00093</a> Connection::service_t service; 00094 string call_from, <a name="l00095"></a><a class="code" href="classCallOutgoing.html#r3">00095</a> call_to, 00096 faxStationID, 00097 faxHeadline; <a name="l00098"></a><a class="code" href="classCallOutgoing.html#r5">00098</a> <a class="code" href="classCapi.html">Capi</a> *capi; <a name="l00099"></a><a class="code" href="classCallOutgoing.html#r6">00099</a> _cdword controller; <a name="l00100"></a><a class="code" href="classCallOutgoing.html#r7">00100</a> <span class="keywordtype">bool</span> clir; <a name="l00101"></a><a class="code" href="classCallOutgoing.html#r8">00101</a> <span class="keywordtype">int</span> <a class="code" href="classCallOutgoing.html#r8">result</a>; <a name="l00102"></a><a class="code" href="classCallOutgoing.html#r9">00102</a> <span class="keywordtype">int</span> <a class="code" href="classCallOutgoing.html#r9">saved_timeout</a>; 00103 }; 00104 00105 <span class="preprocessor">#endif</span> 00106 <span class="preprocessor"></span> 00107 <span class="comment">/* History</span> 00108 <span class="comment"></span> 00109 <span class="comment">$Log: calloutgoing.h,v $</span> 00110 <span class="comment">Revision 1.2 2003/04/17 10:52:12 gernot</span> 00111 <span class="comment">- timeout value is now measured beginning at the moment the other party is</span> 00112 <span class="comment"> signalled</span> 00113 <span class="comment"></span> 00114 <span class="comment">Revision 1.1.1.1 2003/02/19 08:19:53 gernot</span> 00115 <span class="comment">initial checkin of 0.4</span> 00116 <span class="comment"></span> 00117 <span class="comment">Revision 1.2 2002/12/06 13:12:23 ghillie</span> 00118 <span class="comment">- mainLoop() doesn't throw CapiWrongState any more</span> 00119 <span class="comment">- added getResult()</span> 00120 <span class="comment"></span> 00121 <span class="comment">Revision 1.1 2002/12/05 15:07:44 ghillie</span> 00122 <span class="comment">- initial checking</span> 00123 <span class="comment"></span> 00124 <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>