kpilot Library API Documentation

sysinfo-factory.h

00001 #ifndef _SYSINFO_FACTORY_H
00002 #define _SYSINFO_FACTORY_H
00003 /* SysInfo-factory.h                       KPilot
00004 **
00005 ** Copyright (C) 2003 by Reinhold Kainhofer
00006 **
00007 ** This file defines the factory for the SysInfo-conduit plugin.
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 ** This program is distributed in the hope that it will be useful,
00017 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00019 ** GNU General Public License for more details.
00020 **
00021 ** You should have received a copy of the GNU General Public License
00022 ** along with this program in a file called COPYING; if not, write to
00023 ** the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00024 ** MA 02111-1307, USA.
00025 */
00026 
00027 /*
00028 ** Bug reports and questions can be sent to kde-pim@kde.org
00029 */
00030 
00031 #include <klibloader.h>
00032 
00033 class KInstance;
00034 class KAboutData;
00035 
00036 class SysInfoConduitFactory : public KLibFactory
00037 {
00038     Q_OBJECT
00039 
00040 public:
00041     SysInfoConduitFactory(QObject * = 0L,const char * = 0L);
00042     virtual ~SysInfoConduitFactory();
00043 
00044     static KAboutData *about() { return fAbout; } ;
00045 
00046 protected:
00047     virtual QObject* createObject( QObject* parent = 0,
00048         const char* name = 0,
00049         const char* classname = "QObject",
00050         const QStringList &args = QStringList() );
00051 private:
00052     KInstance *fInstance;
00053     static KAboutData *fAbout;
00054 public:
00055     // KConfig entry keys.
00056     static const char *fGroup,
00057         *fOutputFile, *fOutputType, *fTemplateFile,
00058         *fHardwareInfo, *fUserInfo,
00059         *fMemoryInfo, *fStorageInfo,
00060         *fDBList, *fRecordNumber,
00061         *fSyncInfo, *fKDEVersion,
00062         *fPalmOSVersion, *fDebugInfo;
00063 } ;
00064 
00065 extern "C"
00066 {
00067     void *init_libsysinfoconduit();
00068 }
00069 
00070 #endif
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 Sat May 1 11:36:49 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003