update
[kdegraphics.git] / strigi-analyzer / raw / kcamerarawplugin.h
blobc4a4a4d43bc41644e40baf4ba5bfa92d66b01586
1 /* This file is part of the KDE project
2 * Copyright (C) 2005 Steffen Hansen <hansen@kde.org>
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public
6 * License as published by the Free Software Foundation version 2.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; see the file COPYING. If not, write to
15 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 * Boston, MA 02110-1301, USA.
20 #ifndef KCAMERARAWPLUGIN_H
21 #define KCAMERARAWPLUGIN_H
23 #include <kfilemetainfo.h>
25 class QImage;
27 class KCameraRawPlugin: public KFilePlugin {
28 Q_OBJECT
30 public:
31 KCameraRawPlugin(QObject *parent, const QStringList& args);
32 virtual bool readInfo(KFileMetaInfo& info, uint what);
34 private:
35 bool createPreview(const QString &path, QImage &img);
38 #endif /* KCAMERARAWPLUGIN_H */