00001 #ifndef _DEFAULTFILTERSPLUGIN_H_ 00002 #define _DEFAULTFILTERSPLUGIN_H_ 00003 00004 #include "../base/quillimagefilter.h" 00005 #include "../base/quillimagefilterinterface.h" 00006 #include "loadfilter.h" 00007 #include "overlay.h" 00008 #include "savefilter.h" 00009 #include "scalecrop.h" 00010 #include "serialsaver.h" 00011 00012 00013 class DefaultFiltersPlugin : public QObject, 00014 public QuillImageFilterInterface 00015 { 00016 Q_OBJECT 00017 Q_INTERFACES(QuillImageFilterInterface) 00018 00019 public: 00020 DefaultFiltersPlugin(); 00021 00022 QuillImageFilterImplementation *create(const QString&); 00023 QuillImageFilterImplementation *create(QuillImageFilter::QuillFilterRole role); 00024 00025 const QStringList name() const; 00026 00027 const QList<QuillImageFilter::QuillFilterRole> role() const; 00028 00029 private: 00030 Q_DISABLE_COPY(DefaultFiltersPlugin); 00031 }; 00032 00033 #endif