Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

faxreceive.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 FAXRECEIVE_H 00018 #define FAXRECEIVE_H 00019 00020 #include <string> 00021 #include "callmodule.h" 00022 00023 class Connection; 00024 00025 using namespace std; 00026 00040 class FaxReceive: public CallModule 00041 { 00042 public: 00049 FaxReceive(Connection *conn, string file) throw (CapiExternalError); 00050 00056 void mainLoop() throw (CapiWrongState, CapiExternalError); 00057 00060 void transmissionComplete(); 00061 00062 private: 00063 string file; 00064 }; 00065 00066 #endif 00067 00068 /* History 00069 00070 $Log: faxreceive.h,v $ 00071 Revision 1.1 2003/02/19 08:19:53 gernot 00072 Initial revision 00073 00074 Revision 1.11 2002/12/13 11:47:40 ghillie 00075 - added comment about fax polling 00076 00077 Revision 1.10 2002/11/29 10:27:44 ghillie 00078 - updated comments, use doxygen format now 00079 00080 Revision 1.9 2002/11/25 21:00:53 ghillie 00081 - improved documentation, now doxygen-readabl 00082 00083 Revision 1.8 2002/11/25 11:58:04 ghillie 00084 - test for fax mode before receiving now 00085 00086 Revision 1.7 2002/11/21 15:32:40 ghillie 00087 - moved code from constructor/destructor to overwritten mainLoop() method 00088 00089 Revision 1.6 2002/11/19 15:57:19 ghillie 00090 - Added missing throw() declarations 00091 - phew. Added error handling. All exceptions are caught now. 00092 00093 Revision 1.5 2002/11/14 17:05:19 ghillie 00094 major structural changes - much is easier, nicer and better prepared for the future now: 00095 - added DisconnectLogical handler to CallInterface 00096 - DTMF handling moved from CallControl to Connection 00097 - new call module ConnectModule for establishing connection 00098 - python script reduced from 2 functions to one (callWaiting, callConnected 00099 merged to callIncoming) 00100 - call modules implement the CallInterface now, not CallControl any more 00101 => this freed CallControl from nearly all communication stuff 00102 00103 Revision 1.4 2002/11/13 15:26:28 ghillie 00104 removed unnecessary member attribute filename 00105 00106 Revision 1.3 2002/11/13 08:34:54 ghillie 00107 moved history to the bottom 00108 00109 Revision 1.2 2002/10/29 14:28:22 ghillie 00110 added stop_file_* calls to make sure transmission is cancelled when it's time... 00111 00112 Revision 1.1 2002/10/25 13:29:39 ghillie 00113 grouped files into subdirectories 00114 00115 Revision 1.7 2002/10/23 14:34:26 ghillie 00116 call modules must register itself at CallControl now 00117 00118 Revision 1.6 2002/10/23 09:46:08 ghillie 00119 changed to fit into new architecture 00120 00121 */

Generated on Sun Nov 28 14:37:44 2004 for CapiSuite by doxygen 1.3.8