ListMaker-conduit.h
00001 #ifndef _ListMakerCONDUIT_H 00002 #define _ListMakerCONDUIT_H 00003 00004 /* ListMaker-conduit.h KPilot 00005 ** 00006 ** Copyright (C) 1998-2001 Dan Pilone 00007 ** Copyright (C) 1998-2000 Preston Brown 00008 ** Copyright (C) 1998 Herwin-Jan Steehouwer 00009 ** Copyright (C) 1998 Reinhold Kainhofer 00010 ** 00011 ** This file is part of the ListMaker conduit, a conduit for KPilot that 00012 ** synchronises the Pilot's ListMaker application with the outside world, 00013 ** which currently means KOrganizer. 00014 */ 00015 00016 /* 00017 ** This program is free software; you can redistribute it and/or modify 00018 ** it under the terms of the GNU General Public License as published by 00019 ** the Free Software Foundation; either version 2 of the License, or 00020 ** (at your option) any later version. 00021 ** 00022 ** This program is distributed in the hope that it will be useful, 00023 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00025 ** GNU General Public License for more details. 00026 ** 00027 ** You should have received a copy of the GNU General Public License 00028 ** along with this program in a file called COPYING; if not, write to 00029 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00030 ** MA 02111-1307, USA. 00031 */ 00032 00033 /* 00034 ** Bug reports and questions can be sent to groot@kde.org 00035 */ 00036 00037 #include "options.h" 00038 #include "pilotListMakerEntry.h" 00039 #include "Organizer-conduit.h" 00040 00041 using namespace KCal; 00042 00043 class ListMakerConduit : public OrganizerConduit { 00044 Q_OBJECT 00045 public: 00046 ListMakerConduit(KPilotDeviceLink *, const char *n=0L, const QStringList &l=QStringList(), SyncTypeList_t *tps=NULL); 00047 virtual ~ListMakerConduit() {}; 00048 00049 protected: 00050 virtual const long dbtype() { return 0x44617461; } 00051 virtual const long dbcreator() { return 0x53536c6d; } 00052 virtual const QString conduitName() {return "ListMaker conduit";}; 00053 virtual const QString conduitSettingsGroup() {return "ListMaker";}; 00054 virtual PilotOrganizerEntry*createOrganizerEntry(PilotRecord *rec=NULL) {return new PilotListMakerEntry(rec);}; 00055 virtual PilotOrganizerEntry*createOrganizerEntry(KCal::Todo *todo=NULL) {return new PilotListMakerEntry(todo);}; 00056 }; 00057 00058 00059 // $Log: ListMaker-conduit.h,v $ 00060 // Revision 1.1.4.1 2003/03/12 23:31:09 adridg 00061 // CVS_SILENT: FSF address change 00062 // 00063 // Revision 1.1 2002/04/07 12:09:42 kainhofe 00064 // Initial checkin of the conduit. The gui works mostly, but syncing crashes KPilot... 00065 // 00066 // Revision 1.7 2002/04/07 11:56:18 reinhold 00067 // Last version before moving to KDE CVS 00068 // 00069 // Revision 1.6 2002/04/06 00:51:08 reinhold 00070 // Finally the conduit compiles again... Still have a lot of TODOS 00071 // 00072 // Revision 1.5 2002/04/05 21:17:01 reinhold 00073 // *** empty log message *** 00074 // 00075 // Revision 1.4 2002/03/23 21:46:43 reinhold 00076 // config dlg works, but the last changes crash the plugin itself 00077 // 00078 // Revision 1.3 2002/03/10 23:58:32 reinhold 00079 // Made the conduit compile... 00080 // 00081 // Revision 1.2 2002/03/10 16:06:43 reinhold 00082 // Cleaned up the class hierarchy, implemented some more features (should be quite finished now...) 00083 // 00084 // Revision 1.1 2002/03/09 15:45:48 reinhold 00085 // Moved the files around 00086 // 00087 // Revision 1.1.1.1 2002/03/09 15:38:45 reinhold 00088 // Initial checin of the project manager / List manager conduit. 00089 // 00090 // 00091 // 00092 #endif