Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

callinterface.h

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

Generated on Sun Nov 28 14:37:44 2004 for CapiSuite by doxygen 1.3.8