1/*
2 * Copyright (C) 2010 Pau Garcia i Quiles <pgquiles@elpauer.org>
3 * Essentially a rip-off of code for Kamoso by:
4 * Copyright (C) 2008-2009 by Aleix Pol <aleixpol@kde.org>
5 * Copyright (C) 2008-2009 by Alex Fiestas <alex@eyeos.org>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301, USA.
21*/
22
23#ifndef KSNAPSHOTIMAGECOLLECTIONSHARED_H
24#define KSNAPSHOTIMAGECOLLECTIONSHARED_H
25
26#include <libkipi/imagecollectionshared.h>
27class KSnapshot;
28
29class KSnapshotImageCollectionShared : public KIPI::ImageCollectionShared
30{
31
32public:
33 KSnapshotImageCollectionShared(KSnapshot* ksnapshot);
34 ~KSnapshotImageCollectionShared();
35 QString name() { return "KSnapshot"; }
36 QString comment() { return QString(); }
37 KUrl::List images();
38 KUrl uploadRoot() { return KUrl("/"); }
39// KUrl uploadPath() { return mDirURL; }
40 QString uploadRootName() { return "/"; }
41 bool isDirectory() { return false; }
42
43private:
44 struct Private;
45 Private* d;
46 KUrl::List mImages;
47};
48
49#endif
50