digiKam
backend-rg.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2010-05-12
7  * Description : Abstract backend class for reverse geocoding.
8  *
9  * Copyright (C) 2010 by Michael G. Hansen <mike at mghansen dot de>
10  * Copyright (C) 2010 by Gabriel Voicu <ping dot gabi at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_BACKEND_RG_H
26 #define DIGIKAM_BACKEND_RG_H
27 
28 // local includes
29 
30 #include "gpsitemcontainer.h"
31 #include "digikam_export.h"
32 
33 namespace Digikam
34 {
35 
36 class DIGIKAM_EXPORT RGBackend : public QObject
37 {
38  Q_OBJECT
39 
40 public:
41 
42  explicit RGBackend(QObject* const parent);
44  ~RGBackend() override;
45 
46  virtual void callRGBackend(const QList<RGInfo>&, const QString&) = 0;
47  virtual QString getErrorMessage();
48  virtual QString backendName();
49  virtual void cancelRequests() = 0;
50 
51 Q_SIGNALS:
52 
57 };
58 
59 } // namespace Digikam
60 
61 #endif // DIGIKAM_BACKEND_RG_H
This class is a base class for Open Street Map and Geonames backends.
Definition: backend-rg.h:37
virtual void cancelRequests()=0
void signalRGReady(QList< RGInfo > &)
Emitted whenever some items are ready.
virtual void callRGBackend(const QList< RGInfo > &, const QString &)=0
Definition: piwigotalker.h:48
Definition: datefolderview.cpp:43