61 const QString& service = QString ()) = 0;
80 virtual void fileUploaded (
const QString& filename,
const QUrl& fileUrl) = 0;
83Q_DECLARE_INTERFACE (
IWebFileStorage,
"org.Deviant.LeechCraft.IWebFileStorage/1.0")
Interface for plugins supporting storing files on the web.
virtual ~IWebFileStorage()
virtual void fileUploaded(const QString &filename, const QUrl &fileUrl)=0
Emitted when the given filename finishes uploading.
virtual QStringList GetServiceVariants() const =0
Returns the list of services supported by this plugin.
virtual void UploadFile(const QString &filename, const QString &service=QString())=0
Uploads the given filename to the given service.