Commit f9639a57 authored by Felix Paul Kühne's avatar Felix Paul Kühne

compilation fixes

parent 02635ea7
......@@ -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;
......
......@@ -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
{
......
/*****************************************************************************
* 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
/*****************************************************************************
* VLCLocalNetworkListCell.m
* VLCNetworkListCell.m
* VLC for iOS
*****************************************************************************
* Copyright (c) 2013 VideoLAN. All rights reserved.
......
......@@ -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;
......
......@@ -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];
......
......@@ -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
{
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment