kpilot Library API Documentation

pilotDOCHead.h

00001 /* pilotDOCHead.h -*- C++ -*- KPilot 00002 ** 00003 ** Copyright (C) 2002 by Reinhold Kainhofer 00004 ** 00005 ** See the .cc file for an explanation of what this file is for. 00006 */ 00007 00008 /* 00009 ** This program is free software; you can redistribute it and/or modify 00010 ** it under the terms of the GNU General Public License as published by 00011 ** the Free Software Foundation; either version 2 of the License, or 00012 ** (at your option) any later version. 00013 ** 00014 ** This program is distributed in the hope that it will be useful, 00015 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 ** GNU General Public License for more details. 00018 ** 00019 ** You should have received a copy of the GNU General Public License 00020 ** along with this program in a file called COPYING; if not, write to 00021 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00022 ** MA 02111-1307, USA. 00023 */ 00024 00025 /* 00026 ** Bug reports and questions can be sent to the mailinlist kde-pim@kde.org 00027 */ 00028 #ifndef _KPILOT_PILOTDOCHEAD_H 00029 #define _KPILOT_PILOTDOCHEAD_H 00030 00031 #include <pilotAppCategory.h> 00032 00033 class PilotRecord; 00034 00035 00036 class PilotDOCHead:public PilotAppCategory { 00037 private: 00038 static const int textRecordSize; 00039 00040 public: 00041 int version; 00042 int spare; 00043 long int storyLen; 00044 int numRecords; 00045 int recordSize; 00046 long int position; 00047 00048 public: 00049 PilotDOCHead(); 00050 PilotDOCHead(PilotRecord * rec); 00051 PilotDOCHead(const PilotDOCHead & e); 00052 ~PilotDOCHead() { 00053 } PilotDOCHead & operator=(const PilotDOCHead & e); 00054 00055 PilotRecord *pack() { 00056 return PilotAppCategory::pack(); 00057 } 00058 00059 protected: 00060 void *pack(void *, int *); 00061 void unpack(const void *, int = 0); 00062 }; 00063 00064 00065 00066 #endif 00067
KDE Logo
This file is part of the documentation for kpilot Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jul 28 23:57:49 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003