KDevelop API Documentation

packagebase.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2004 by ian reinhart geiser                             *
00003  *   geiseri@kde.org                                                       *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  ***************************************************************************/
00020 #ifndef __PACKAGEBASE_H__
00021 #define __PACKAGEBASE_H__
00022 
00023 #include <kurl.h>
00024 #include <qstringlist.h>
00025 
00026 class packageBase
00027 {
00028 
00029 public:
00030    packageBase();
00031    virtual ~packageBase();
00032    
00033 // Generic accessors and mutators for child classes
00034    virtual QString generatePackage( ) = 0 ;
00035    //virtual bool loadFile(KURL theFile) = 0;
00036    //virtual bool saveFile(KURL theFile) = 0;
00037 
00038    virtual QString getAppName();
00039    virtual QString getAppVersion();
00040    virtual QString getAppRevision();
00041    virtual QString getAppGroup();
00042    virtual QString getAppPackager();
00043    virtual QString getAppURL();
00044    virtual QString getAppSummary();
00045    virtual QString getAppVendor();
00046    virtual QString getAppLicense();
00047    virtual QString getAppArch();
00048    virtual QString getAppDescription();
00049    virtual QString getAppChangelog();
00050    virtual QString getAppSource();
00051    virtual QStringList getAppFileList();
00052    
00053    virtual void setAppName(const QString&);
00054    virtual void setAppVersion(const QString&);
00055    virtual void setAppRevision(const QString&);
00056    virtual void setAppGroup(const QString&);
00057    virtual void setAppPackager(const QString&);
00058    virtual void setAppURL(const QString&);
00059    virtual void setAppSummary(const QString&);
00060    virtual void setAppVendor(const QString&);
00061    virtual void setAppLicense(const QString&);
00062    virtual void setAppArch(const QString&);
00063    virtual void setAppDescription(const QString&);
00064    virtual void setAppChangelog(const QString&);
00065    virtual void setAppFileList(const QStringList &list);
00066    
00067    private:
00068     QString AppName;
00069     QString AppVersion;
00070     QString AppRevision;
00071     QString AppGroup;
00072     QString AppPackager;
00073     QString AppURL;
00074     QString AppSummary;
00075     QString AppVendor;
00076     QString AppLicense;
00077     QString AppArch;
00078     QString AppDescription;
00079     QString AppChangelog;
00080     QString AppSource;
00081     QStringList AppFileList;
00082 };
00083 
00084 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:03:54 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003