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 SWITCH2FAXG3_H 00018 #define SWITCH2FAXG3_H 00019 00020 #include "callmodule.h" 00021 00022 class Connection; 00023 00024 using namespace std; 00025 00038 class Switch2FaxG3: public CallModule 00039 { 00040 public: 00048 Switch2FaxG3(Connection *conn, string faxStationID, string faxHeadline) throw (CapiWrongState); 00049 00056 void mainLoop() throw (CapiWrongState, CapiExternalError, CapiMsgError); 00057 00060 void callDisconnectedLogical(); 00061 00064 void callConnected(); 00065 00066 00067 private: 00068 string faxStationID, 00069 faxHeadline; 00070 }; 00071 00072 #endif 00073 00074 /* History 00075 00076 Old Log (for new changes see ChangeLog): 00077 00078 Revision 1.1.1.1 2003/02/19 08:19:53 gernot 00079 initial checkin of 0.4 00080 00081 Revision 1.3 2002/12/02 12:32:54 ghillie 00082 renamed Connection::SPEECH to Connection::VOICE 00083 00084 Revision 1.2 2002/11/29 10:29:12 ghillie 00085 - updated comments, use doxygen format now 00086 00087 Revision 1.1 2002/11/22 14:59:36 ghillie 00088 initial checkin 00089 00090 */