<!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: callinterface.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>callinterface.h</h1><a href="callinterface_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 CALLINTERFACE_H</span> 00018 <span class="preprocessor"></span><span class="preprocessor">#define CALLINTERFACE_H</span> 00019 <span class="preprocessor"></span> 00020 <span class="preprocessor">#include <string></span> 00021 00022 <span class="keyword">using</span> <span class="keyword">namespace </span>std; 00023 <a name="l00038"></a><a class="code" href="classCallInterface.html">00038</a> <span class="keyword">class </span><a class="code" href="classCallInterface.html">CallInterface</a> 00039 { 00040 <span class="keyword">public</span>: 00043 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCallInterface.html#a0">alerting</a> (<span class="keywordtype">void</span>) = 0; 00044 00047 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCallInterface.html#a1">callConnected</a> (<span class="keywordtype">void</span>) = 0; 00048 00051 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCallInterface.html#a2">callDisconnectedLogical</a> (<span class="keywordtype">void</span>) = 0; 00052 00060 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCallInterface.html#a3">callDisconnectedPhysical</a> (<span class="keywordtype">void</span>) = 0; 00061 00064 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCallInterface.html#a4">transmissionComplete</a> (<span class="keywordtype">void</span>) = 0; 00065 00071 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCallInterface.html#a5">gotDTMF</a> (<span class="keywordtype">void</span>) = 0; 00072 00084 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classCallInterface.html#a6">dataIn</a> (<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">unsigned</span> length) = 0; 00085 }; 00086 00087 <span class="preprocessor">#endif</span> 00088 <span class="preprocessor"></span> 00089 <span class="comment">/* History</span> 00090 <span class="comment"></span> 00091 <span class="comment">$Log: callinterface.h,v $</span> 00092 <span class="comment">Revision 1.2 2003/04/17 10:39:42 gernot</span> 00093 <span class="comment">- support ALERTING notification (to know when it's ringing on the other side)</span> 00094 <span class="comment">- cosmetical fixes in capi.cpp</span> 00095 <span class="comment"></span> 00096 <span class="comment">Revision 1.1.1.1 2003/02/19 08:19:53 gernot</span> 00097 <span class="comment">initial checkin of 0.4</span> 00098 <span class="comment"></span> 00099 <span class="comment">Revision 1.9 2002/12/06 12:55:04 ghillie</span> 00100 <span class="comment">- updated docs</span> 00101 <span class="comment"></span> 00102 <span class="comment">Revision 1.8 2002/11/29 10:20:44 ghillie</span> 00103 <span class="comment">- updated docs, use doxygen format now</span> 00104 <span class="comment"></span> 00105 <span class="comment">Revision 1.7 2002/11/27 15:58:13 ghillie</span> 00106 <span class="comment">updated comments for doxygen</span> 00107 <span class="comment"></span> 00108 <span class="comment">Revision 1.6 2002/11/15 13:49:10 ghillie</span> 00109 <span class="comment">fix: callmodule wasn't aborted when call was only connected/disconnected physically</span> 00110 <span class="comment"></span> 00111 <span class="comment">Revision 1.5 2002/11/14 17:05:19 ghillie</span> 00112 <span class="comment">major structural changes - much is easier, nicer and better prepared for the future now:</span> 00113 <span class="comment">- added DisconnectLogical handler to CallInterface</span> 00114 <span class="comment">- DTMF handling moved from CallControl to Connection</span> 00115 <span class="comment">- new call module ConnectModule for establishing connection</span> 00116 <span class="comment">- python script reduced from 2 functions to one (callWaiting, callConnected</span> 00117 <span class="comment"> merged to callIncoming)</span> 00118 <span class="comment">- call modules implement the CallInterface now, not CallControl any more</span> 00119 <span class="comment"> => this freed CallControl from nearly all communication stuff</span> 00120 <span class="comment"></span> 00121 <span class="comment">Revision 1.4 2002/11/13 08:34:54 ghillie</span> 00122 <span class="comment">moved history to the bottom</span> 00123 <span class="comment"></span> 00124 <span class="comment">Revision 1.3 2002/11/12 15:48:54 ghillie</span> 00125 <span class="comment">added data in handler</span> 00126 <span class="comment"></span> 00127 <span class="comment">Revision 1.2 2002/10/31 12:37:34 ghillie</span> 00128 <span class="comment">added DTMF support</span> 00129 <span class="comment"></span> 00130 <span class="comment">Revision 1.1 2002/10/25 13:29:38 ghillie</span> 00131 <span class="comment">grouped files into subdirectories</span> 00132 <span class="comment"></span> 00133 <span class="comment">Revision 1.5 2002/10/23 15:40:51 ghillie</span> 00134 <span class="comment">typo...</span> 00135 <span class="comment"></span> 00136 <span class="comment">Revision 1.4 2002/10/09 14:36:22 gernot</span> 00137 <span class="comment">added CallModule base class for all call handling modules</span> 00138 <span class="comment"></span> 00139 <span class="comment">Revision 1.3 2002/10/04 15:48:03 gernot</span> 00140 <span class="comment">structure changes completed & compiles now!</span> 00141 <span class="comment"></span> 00142 <span class="comment">Revision 1.2 2002/10/04 13:27:15 gernot</span> 00143 <span class="comment">some restructuring to get it to a working state ;-)</span> 00144 <span class="comment"></span> 00145 <span class="comment">does not do anything useful yet nor does it even compile...</span> 00146 <span class="comment"></span> 00147 <span class="comment">Revision 1.1 2002/10/02 14:10:07 gernot</span> 00148 <span class="comment">first version</span> 00149 <span class="comment"></span> 00150 <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>