Clementine-audio-player-Mac.../src/internet/ubuntuoneurlhandler.h

22 lines
472 B
C
Raw Normal View History

#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