protected override void OnDownloadStatusChanged(OssiferDownloadStatus status, string mimetype, string destinationUri) { // FIXME: handle the error case if (status != OssiferDownloadStatus.Finished) { return; } if (IsAmzContentType(mimetype)) { Log.Debug("OssiferWebView: downloaded purchase list", destinationUri); Banshee.ServiceStack.ServiceManager.Get <AmazonMp3DownloaderService> () .DownloadAmz(new SafeUri(destinationUri).LocalPath); } }
protected override void OnDownloadStatusChanged(OssiferDownloadStatus status, string mimetype, string destinationUri) { // FIXME: handle the error case if (status != OssiferDownloadStatus.Finished) { return; } switch (mimetype) { case "application/x-miro": Log.Debug("MiroGuide: downloaded Miro subscription file", destinationUri); ServiceManager.Get <DBusCommandService> ().PushFile(destinationUri); break; } }
private void HandleDownloadStatusChanged(IntPtr ossifer, OssiferDownloadStatus status, IntPtr mimetype, IntPtr destinationUri) { OnDownloadStatusChanged (status, GLib.Marshaller.Utf8PtrToString (mimetype), GLib.Marshaller.Utf8PtrToString (destinationUri)); }
protected virtual void OnDownloadStatusChanged(OssiferDownloadStatus status, string mimetype, string destinationUri) { }
protected override void OnDownloadStatusChanged(OssiferDownloadStatus status, string mimetype, string destinationUri) { // FIXME: handle the error case if (status != OssiferDownloadStatus.Finished) { return; } switch (mimetype) { case "application/x-miro": Log.Debug ("MiroGuide: downloaded Miro subscription file", destinationUri); ServiceManager.Get<DBusCommandService> ().PushFile (destinationUri); break; } }
protected override void OnDownloadStatusChanged(OssiferDownloadStatus status, string mimetype, string destinationUri) { // FIXME: handle the error case if (status != OssiferDownloadStatus.Finished) { return; } if (IsAmzContentType (mimetype)) { Log.Debug ("OssiferWebView: downloaded purchase list", destinationUri); Banshee.ServiceStack.ServiceManager.Get<AmazonMp3DownloaderService> () .DownloadAmz (new SafeUri (destinationUri).LocalPath); } }
protected virtual void OnDownloadStatusChanged(OssiferDownloadStatus status, string mimetype, string destinationUri) { }
private void HandleDownloadStatusChanged(IntPtr ossifer, OssiferDownloadStatus status, IntPtr mimetype, IntPtr destinationUri) { OnDownloadStatusChanged(status, GLib.Marshaller.Utf8PtrToString(mimetype), GLib.Marshaller.Utf8PtrToString(destinationUri)); }