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 FAXSEND_H 00018 #define FAXSEND_H 00019 00020 #include <string> 00021 #include "callmodule.h" 00022 00023 class Connection; 00024 00025 using namespace std; 00026 00046 class FaxSend: public CallModule 00047 { 00048 public: 00056 FaxSend(Connection *conn, string file) throw (CapiWrongState,CapiExternalError); 00057 00064 void mainLoop() throw (CapiWrongState,CapiExternalError, CapiMsgError); 00065 00068 void transmissionComplete(); 00069 00070 private: 00071 string file; 00072 }; 00073 00074 #endif 00075 00076 /* History 00077 00078 Old Log (for new changes see ChangeLog): 00079 00080 Revision 1.1.1.1 2003/02/19 08:19:53 gernot 00081 initial checkin of 0.4 00082 00083 Revision 1.1 2002/12/13 11:44:34 ghillie 00084 added support for fax send 00085 00086 */