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 
00041 class CallOutgoing: public CallModule
00042 {
00043         public:
00056                 CallOutgoing(Capi *capi, _cdword controller, string call_from, string call_to, Connection::service_t service, int timeout, string faxStationID, string faxHeadline, bool clir);
00057 
00065                 void mainLoop() throw (CapiExternalError, CapiMsgError);
00066 
00070                 void callConnected();
00071 
00074                 void alerting();
00075 
00080                 Connection* getConnection(); 
00081                 
00090                 int getResult();
00091 
00092         private:
00093                 Connection::service_t service;   
00094                 string call_from, 
00095                        call_to, 
00096                        faxStationID, 
00097                        faxHeadline; 
00098                 Capi *capi; 
00099                 _cdword controller; 
00100                 bool clir; 
00101                 int result; 
00102                 int saved_timeout; 
00103 };
00104 
00105 #endif
00106 
00107 /* History
00108 
00109 $Log: calloutgoing.h,v $
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 Sun Jan 18 11:12:46 2004 for CapiSuite by doxygen 1.3.2