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

calloutgoing.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 CALLOUTGOINGMODULE_H
00018 #define CALLOUTGOINGMODULE_H
00019 
00020 #include "callmodule.h"
00021 #include "../backend/connection.h"
00022 
00023 
00024 using namespace std;
00025 
00042 class CallOutgoing: public CallModule
00043 {
00044         public:
00057                 CallOutgoing(Capi *capi, _cdword controller, string call_from, string call_to, Connection::service_t service, int timeout, string faxStationID, string faxHeadline, bool clir);
00058 
00064                 void mainLoop() throw (CapiExternalError,CapiMsgError);
00065 
00069                 void callConnected();
00070 
00073                 void alerting();
00074 
00079                 Connection* getConnection(); 
00080                 
00089                 int getResult();
00090 
00091         private:
00092                 Connection::service_t service;   
00093                 string call_from, 
00094                        call_to, 
00095                        faxStationID, 
00096                        faxHeadline; 
00097                 Capi *capi; 
00098                 _cdword controller; 
00099                 bool clir; 
00100                 int result; 
00101                 int saved_timeout; 
00102 };
00103 
00104 #endif
00105 
00106 /* History
00107 
00108 Old Log (for new changes see ChangeLog):
00109 
00110 Revision 1.2  2003/04/17 10:52:12  gernot
00111 - timeout value is now measured beginning at the moment the other party is
00112   signalled
00113 
00114 Revision 1.1.1.1  2003/02/19 08:19:53  gernot
00115 initial checkin of 0.4
00116 
00117 Revision 1.2  2002/12/06 13:12:23  ghillie
00118 - mainLoop() doesn't throw CapiWrongState any more
00119 - added getResult()
00120 
00121 Revision 1.1  2002/12/05 15:07:44  ghillie
00122 - initial checking
00123 
00124 */

Generated on Mon Jan 5 12:19:59 2004 for CapiSuite by doxygen1.2.18