Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
typcn committed Sep 20, 2015
1 parent a053082 commit 7bc59c5
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions bilibili/Downloader/downloadWrapper.mm
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,6 @@
#import "vp_bilibili.h"
#import <CommonCrypto/CommonDigest.h>

BOOL isStopped;

//int downloadEventCallback(aria2::Session* session, aria2::DownloadEvent event,
// aria2::A2Gid gid, void* userData)
//{
// switch(event) {
// case aria2::EVENT_ON_DOWNLOAD_COMPLETE:{
//
// break;
// }
// case aria2::EVENT_ON_DOWNLOAD_ERROR:{
// NSUserNotification *notification = [[NSUserNotification alloc] init];
// notification.title = @"Bilibili Client";
// notification.informativeText = NSLocalizedString(@"下载失败", nil);
// notification.soundName = NSUserNotificationDefaultSoundName;
// [[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification:notification];
// break;
// }
// default:
// return 0;
// }
// return 0;
//}

BOOL Downloader::newTask(int cid,NSString *name){
NSLog(@"[Downloader] New Task CID: %d",cid);
Expand Down

0 comments on commit 7bc59c5

Please sign in to comment.