mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-05 00:06:38 -05:00
20 lines
519 B
C++
20 lines
519 B
C++
#ifndef O1FLICKR_H
|
|
#define O1FLICKR_H
|
|
|
|
#include "o0export.h"
|
|
#include "o1.h"
|
|
|
|
/// Flickr authenticator.
|
|
class O0_EXPORT O1Flickr: public O1 {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit O1Flickr(QObject *parent = 0): O1(parent) {
|
|
setRequestTokenUrl(QUrl("http://www.flickr.com/services/oauth/request_token"));
|
|
setAuthorizeUrl(QUrl("http://www.flickr.com/services/oauth/authorize?perms=write"));
|
|
setAccessTokenUrl(QUrl("http://www.flickr.com/services/oauth/access_token"));
|
|
}
|
|
};
|
|
|
|
#endif // O1FLICKR_H
|