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

Generated on Mon Jan 5 12:19:59 2004 for CapiSuite by doxygen1.2.18