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 00036 class Switch2FaxG3: public CallModule 00037 { 00038 public: 00045 Switch2FaxG3(Connection *conn, string faxStationID, string faxHeadline); 00046 00053 void mainLoop() throw (CapiWrongState, CapiExternalError, CapiMsgError); 00054 00057 void callDisconnectedLogical(); 00058 00061 void callConnected(); 00062 00063 00064 private: 00065 string faxStationID, 00066 faxHeadline; 00067 }; 00068 00069 #endif 00070 00071 /* History 00072 00073 $Log: switch2faxG3.h,v $ 00074 Revision 1.1 2003/02/19 08:19:53 gernot 00075 Initial revision 00076 00077 Revision 1.3 2002/12/02 12:32:54 ghillie 00078 renamed Connection::SPEECH to Connection::VOICE 00079 00080 Revision 1.2 2002/11/29 10:29:12 ghillie 00081 - updated comments, use doxygen format now 00082 00083 Revision 1.1 2002/11/22 14:59:36 ghillie 00084 initial checkin 00085 00086 */