Felix Paul Kühne 10 anni fa
parent
commit
f9639a5759

+ 2 - 2
Sources/VLCFTPServerListViewController.m

@@ -20,7 +20,7 @@
 
 #import "WhiteRaccoon.h"
 
-@interface VLCFTPServerListViewController () <WRRequestDelegate, VLCLocalNetworkListCell, UITableViewDataSource, UITableViewDelegate, UIActionSheetDelegate>
+@interface VLCFTPServerListViewController () <WRRequestDelegate, VLCNetworkListCellDelegate, UITableViewDataSource, UITableViewDelegate, UIActionSheetDelegate>
 {
     NSString *_ftpServerAddress;
     NSString *_ftpServerUserName;
@@ -257,7 +257,7 @@
     [tableView deselectRowAtIndexPath:indexPath animated:NO];
 }
 
-#pragma mark - VLCLocalNetworkListCell delegation
+#pragma mark - VLCNetworkListCell delegation
 - (void)triggerDownloadForCell:(VLCNetworkListCell *)cell
 {
     NSString *rawObjectName;

+ 3 - 3
Sources/VLCLocalPlexFolderListViewController.m

@@ -22,7 +22,7 @@
 #import "VLCStatusLabel.h"
 #import "UIDevice+VLC.h"
 
-@interface VLCLocalPlexFolderListViewController () <UITableViewDataSource, UITableViewDelegate, VLCLocalNetworkListCell, UISearchBarDelegate, UISearchDisplayDelegate>
+@interface VLCLocalPlexFolderListViewController () <UITableViewDataSource, UITableViewDelegate, VLCNetworkListCellDelegate, UISearchBarDelegate, UISearchDisplayDelegate>
 {
     NSArray *_globalObjectList;
     NSCache *_imageCache;
@@ -52,7 +52,7 @@
     _tableView.backgroundColor = [UIColor VLCDarkBackgroundColor];
     _tableView.delegate = self;
     _tableView.dataSource = self;
-    _tableView.rowHeight = [VLCLocalNetworkListCell heightOfCell];
+    _tableView.rowHeight = [VLCNetworkListCell heightOfCell];
     _tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
     _tableView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
     self.view = _tableView;
@@ -390,7 +390,7 @@
     [self.tableView reloadData];
 }
 
-#pragma mark - VLCLocalNetworkListCell delegation
+#pragma mark - VLCNetworkListCell delegation
 
 - (void)triggerDownloadForCell:(VLCNetworkListCell *)cell
 {

+ 3 - 3
Sources/VLCNetworkListCell.h

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCLocalNetworkListCell.h
+ * VLCNetworkListCell.h
  * VLC for iOS
  *****************************************************************************
  * Copyright (c) 2013 VideoLAN. All rights reserved.
@@ -42,8 +42,8 @@
 
 @end
 
-@protocol VLCLocalNetworkListCell <NSObject>
+@protocol VLCNetworkListCellDelegate <NSObject>
 
-- (void)triggerDownloadForCell:(VLCLocalNetworkListCell *)cell;
+- (void)triggerDownloadForCell:(VLCNetworkListCell *)cell;
 
 @end

+ 1 - 1
Sources/VLCNetworkListCell.m

@@ -1,5 +1,5 @@
 /*****************************************************************************
- * VLCLocalNetworkListCell.m
+ * VLCNetworkListCell.m
  * VLC for iOS
  *****************************************************************************
  * Copyright (c) 2013 VideoLAN. All rights reserved.

+ 1 - 1
Sources/VLCNetworkListViewController.m

@@ -31,7 +31,7 @@
     _tableView.backgroundColor = [UIColor VLCDarkBackgroundColor];
     _tableView.delegate = self;
     _tableView.dataSource = self;
-    _tableView.rowHeight = [VLCLocalNetworkListCell heightOfCell];
+    _tableView.rowHeight = [VLCNetworkListCell heightOfCell];
     _tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
     _tableView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
     self.view = _tableView;

+ 1 - 1
Sources/VLCServerListViewController.m

@@ -139,7 +139,7 @@
     _backToMenuButton = [UIBarButtonItem themedRevealMenuButtonWithTarget:self andSelector:@selector(goBack:)];
     self.navigationItem.leftBarButtonItem = _backToMenuButton;
 
-    self.tableView.rowHeight = [VLCLocalNetworkListCell heightOfCell];
+    self.tableView.rowHeight = [VLCNetworkListCell heightOfCell];
     self.tableView.separatorColor = [UIColor VLCDarkBackgroundColor];
     self.view.backgroundColor = [UIColor VLCDarkBackgroundColor];
 

+ 5 - 5
Sources/VLCSharedLibraryListViewController.m

@@ -20,7 +20,7 @@
 #import "VLCStatusLabel.h"
 #import "UIDevice+VLC.h"
 
-@interface VLCSharedLibraryListViewController () <UITableViewDataSource, UITableViewDelegate, VLCLocalNetworkListCell, UISearchBarDelegate, UISearchDisplayDelegate, VLCSharedLibraryParserDelegate>
+@interface VLCSharedLibraryListViewController () <UITableViewDataSource, UITableViewDelegate, VLCNetworkListCellDelegate, UISearchBarDelegate, UISearchDisplayDelegate, VLCSharedLibraryParserDelegate>
 {
     NSArray *_serverDataArray;
     NSCache *_imageCache;
@@ -46,7 +46,7 @@
     _tableView.backgroundColor = [UIColor VLCDarkBackgroundColor];
     _tableView.delegate = self;
     _tableView.dataSource = self;
-    _tableView.rowHeight = [VLCLocalNetworkListCell heightOfCell];
+    _tableView.rowHeight = [VLCNetworkListCell heightOfCell];
     _tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
     _tableView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
     self.view = _tableView;
@@ -146,10 +146,10 @@
 {
     static NSString *CellIdentifier = @"libraryVLCCellDetail";
 
-    VLCLocalNetworkListCell *cell = (VLCNetworkListCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
+    VLCNetworkListCell *cell = (VLCNetworkListCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
 
     if (cell == nil)
-        cell = [VLCLocalNetworkListCell cellWithReuseIdentifier:CellIdentifier];
+        cell = [VLCNetworkListCell cellWithReuseIdentifier:CellIdentifier];
 
     NSDictionary *cellObject;
     @synchronized(self) {
@@ -296,7 +296,7 @@
     return FileSubtitlePath;
 }
 
-#pragma mark - VLCLocalNetworkListCell delegation
+#pragma mark - VLCNetworkListCell delegation
 
 - (void)triggerDownloadForCell:(VLCNetworkListCell *)cell
 {

+ 2 - 2
Sources/VLCUPnPServerListViewController.m

@@ -25,7 +25,7 @@
 #import "MediaServer1Device.h"
 #import "BasicUPnPDevice+VLC.h"
 
-@interface VLCUPnPServerListViewController () <VLCLocalNetworkListCell, UITableViewDataSource, UITableViewDelegate, UIActionSheetDelegate>
+@interface VLCUPnPServerListViewController () <VLCNetworkListCellDelegate, UITableViewDataSource, UITableViewDelegate, UIActionSheetDelegate>
 {
     MediaServer1Device *_UPNPdevice;
     NSString *_UPNProotID;
@@ -273,7 +273,7 @@
     [tableView deselectRowAtIndexPath:indexPath animated:NO];
 }
 
-#pragma mark - VLCLocalNetworkListCell delegation
+#pragma mark - VLCNetworkListCell delegation
 - (void)triggerDownloadForCell:(VLCNetworkListCell *)cell
 {
     MediaServer1ItemObject *item;