1
/* ============================================================
2
* Author: Renchi Raju <renchi@pooh.tam.uiuc.edu>
4
* Copyright 2004 by Renchi Raju
6
* This program is free software; you can redistribute it
7
* and/or modify it under the terms of the GNU General
8
* Public License as published by the Free Software Foundation;
9
* either version 2, or (at your option)
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
* ============================================================ */
23
#include "gpiteminfo.h"
32
DKCamera(const QString& model,
37
virtual bool connect() = 0;
38
virtual void cancel() = 0;
40
virtual void getAllFolders(const QString& folder,
41
QStringList& subFolderList) = 0;
42
virtual bool getItemsInfoList(const QString& folder,
43
GPItemInfoList& infoList) = 0;
44
virtual bool getThumbnail(const QString& folder,
45
const QString& itemName,
46
QImage& thumbnail) = 0;
47
virtual bool getExif(const QString& folder,
48
const QString& itemName,
49
char **edata, int& esize) = 0;
51
virtual bool downloadItem(const QString& folder,
52
const QString& itemName,
53
const QString& saveFile) = 0;
54
virtual bool deleteItem(const QString& folder,
55
const QString& itemName) = 0;
56
virtual bool uploadItem(const QString& folder,
57
const QString& itemName,
58
const QString& localFile) = 0;
60
QString model() const;
71
#endif /* DKCAMERA_H */