krita

kis_filter_registry.h

00001 /*
00002  *  Copyright (c) 2003 Patrick Julien  <freak@codepimps.org>
00003  *  Copyright (c) 2004 Cyrille Berger <cberger@cberger.net>
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 Free Software
00017  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00018  */
00019 
00020 #ifndef KIS_FILTER_REGISTRY_H_
00021 #define KIS_FILTER_REGISTRY_H_
00022 
00023 #include <qobject.h>
00024 
00025 #include "kis_types.h"
00026 #include "kis_generic_registry.h"
00027 
00028 #include <koffice_export.h>
00029 
00030 class QString;
00031 class QStringList;
00032 
00033 class KRITACORE_EXPORT KisFilterRegistry : public QObject, public KisGenericRegistry<KisFilterSP>
00034 {
00035 
00036     Q_OBJECT
00037 
00038 public:
00039     virtual ~KisFilterRegistry();
00040     
00041     static KisFilterRegistry* instance();
00042 
00043 private:
00044     KisFilterRegistry();
00045     KisFilterRegistry(const KisFilterRegistry&);
00046     KisFilterRegistry operator=(const KisFilterRegistry&);
00047 
00048 private:
00049      static KisFilterRegistry *m_singleton;
00050 };
00051  
00052 #endif // KIS_FILTERSPACE_REGISTRY_H_
KDE Home | KDE Accessibility Home | Description of Access Keys