00001 /*************************************************************************** 00002 diarioprint.h - description 00003 ------------------- 00004 begin : Wed Jan 8 2003 00005 copyright : (C) 2003 by Tomeu Borrás Riera 00006 email : tborras@conetxia.com 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef DIARIOPRINT_H 00019 #define DIARIOPRINT_H 00020 #include <qwidget.h> 00021 #ifndef WIN32 00022 #include <unistd.h> 00023 #include <sys/wait.h> 00024 #endif 00025 #include <errno.h> 00026 #include <sys/types.h> 00027 #include <string> 00028 using std::string; 00029 #include "postgresiface2.h" 00030 #include "empresa.h" 00031 /***@author Tomeu Borrás Riera */ 00032 00033 class diarioprint { 00034 public: 00035 char *finicial; 00036 char *ffinal; 00037 char *fichero; 00038 postgresiface2 *conexionbase; 00039 empresa *empresaactual; 00040 00041 public: 00042 diarioprint(empresa *); 00043 ~diarioprint(); 00044 int inicializa(postgresiface2 *); 00045 void inicializa1(char *, char *); 00046 void inicializa2(char *); 00047 void accept(); 00048 00049 }; 00050 00051 #endif