pilotProgectEntry.h
00001 /* pilotProgectEntry.h -*- C++ -*- KPilot 00002 ** 00003 ** Copyright (C) 1998-2001 by Dan Pilone 00004 ** Copyright (C) 2002 by Reinhold Kainhofer 00005 ** 00006 ** See the .cc file for an explanation of what this file is for. 00007 */ 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 ** This program is distributed in the hope that it will be useful, 00016 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 ** GNU General Public License for more details. 00019 ** 00020 ** You should have received a copy of the GNU General Public License 00021 ** along with this program in a file called COPYING; if not, write to 00022 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00023 ** MA 02111-1307, USA. 00024 */ 00025 00026 /* 00027 ** Bug reports and questions can be sent to groot@kde.org 00028 */ 00029 #ifndef _KPILOT_PILOTProgectENTRY_H 00030 #define _KPILOT_PILOTProgectENTRY_H 00031 00032 #include <time.h> 00033 #include <string.h> 00034 00035 #ifndef QBITARRAY_H 00036 #include <qbitarray.h> 00037 #endif 00038 00039 #include "options.h" 00040 #ifndef _KPILOT_PILOTOrganizerENTRY_H 00041 #include "pilotOrganizerEntry.h" 00042 #endif 00043 00044 typedef enum ProgectTypes { 00045 PERCENTAGE, 00046 TODO, 00047 NUMERIC, 00048 INFORMATIVE 00049 } 00050 00051 00052 class PilotProgectEntry : public PilotOrganizerEntry { 00053 public: 00054 PilotProgectEntry(void):PilotOrganizerEntry(){}; 00055 PilotProgectEntry(PilotRecord* rec); 00056 ~PilotProgectEntry() { } 00057 PilotProgectEntry& operator=(const PilotProgectEntry &e); 00058 00059 protected: 00060 virtual void *pack(void *, int *); 00061 virtual void unpack(const void *, int = 0); 00062 int maxVal, numVal; 00063 }; 00064 00065 00066 00067 #else 00068 #ifdef DEBUG 00069 #warning "File doubly included" 00070 #endif 00071 #endif 00072 00073 00074 // $Log: pilotProgectEntry.h,v $ 00075 // Revision 1.1.4.1 2003/03/12 23:31:09 adridg 00076 // CVS_SILENT: FSF address change 00077 // 00078 // Revision 1.1 2002/04/07 12:09:42 kainhofe 00079 // Initial checkin of the conduit. The gui works mostly, but syncing crashes KPilot... 00080 // 00081 // Revision 1.4 2002/04/05 21:17:01 reinhold 00082 // *** empty log message *** 00083 // 00084 // Revision 1.3 2002/03/23 21:46:43 reinhold 00085 // config dlg works, but the last changes crash the plugin itself 00086 // 00087 // Revision 1.2 2002/03/23 18:21:14 reinhold 00088 // Cleaned up the structure. Works with QTimer instead of loops. 00089 // 00090 // Revision 1.3 2002/03/10 23:58:33 reinhold 00091 // Made the conduit compile... 00092 // 00093 // Revision 1.2 2002/03/10 16:06:43 reinhold 00094 // Cleaned up the class hierarchy, implemented some more features (should be quite finished now...) 00095 // 00096 // Revision 1.1 2002/03/09 15:48:32 reinhold 00097 // Added the classes for the different palm database formats 00098 //