22 lines
472 B
C
22 lines
472 B
C
|
#ifndef UBUNTUONEURLHANDLER_H
|
||
|
#define UBUNTUONEURLHANDLER_H
|
||
|
|
||
|
#include "core/urlhandler.h"
|
||
|
|
||
|
class UbuntuOneService;
|
||
|
|
||
|
class UbuntuOneUrlHandler : public UrlHandler {
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
UbuntuOneUrlHandler(UbuntuOneService* service, QObject* parent = 0);
|
||
|
|
||
|
QString scheme() const { return "ubuntuonefile"; }
|
||
|
QIcon icon() const { return QIcon(); }
|
||
|
LoadResult StartLoading(const QUrl& url);
|
||
|
|
||
|
private:
|
||
|
UbuntuOneService* service_;
|
||
|
};
|
||
|
|
||
|
#endif // UBUNTUONEURLHANDLER_H
|