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 00040 class FaxSend: public CallModule 00041 { 00042 public: 00049 FaxSend(Connection *conn, string file) throw (CapiExternalError); 00050 00057 void mainLoop() throw (CapiWrongState, CapiExternalError, CapiMsgError); 00058 00061 void transmissionComplete(); 00062 00063 private: 00064 string file; 00065 }; 00066 00067 #endif 00068 00069 /* History 00070 00071 $Log: faxsend.h,v $ 00072 Revision 1.1.1.1 2003/02/19 08:19:53 gernot 00073 initial checkin of 0.4 00074 00075 Revision 1.1 2002/12/13 11:44:34 ghillie 00076 added support for fax send 00077 00078 */