Commit 6390a609 authored by Gleb Pinigin's avatar Gleb Pinigin

Reorganize imports, hide implementation details

parent d1a6a14f
......@@ -8,9 +8,7 @@
// Refer to the COPYING file of the official project for license.
//
#import "VLCHTTPFileDownloader.h"
@interface VLCDownloadViewController : UIViewController <UITableViewDataSource, UITableViewDelegate, VLCHTTPFileDownloader>
@interface VLCDownloadViewController : UIViewController
@property (nonatomic, strong) IBOutlet UIButton *downloadButton;
@property (nonatomic, strong) IBOutlet UITextField *urlField;
......
......@@ -14,11 +14,13 @@
#import "UIBarButtonItem+Theme.h"
#import "WhiteRaccoon.h"
#import "NSString+SupportedMedia.h"
#import "VLCHTTPFileDownloader.h"
#define kVLCDownloadViaHTTP 1
#define kVLCDownloadViaFTP 2
@interface VLCDownloadViewController () <WRRequestDelegate>
@interface VLCDownloadViewController () <WRRequestDelegate, UITableViewDataSource, UITableViewDelegate,
VLCHTTPFileDownloader>
{
NSMutableArray *_currentDownloads;
NSUInteger _currentDownloadType;
......
......@@ -23,7 +23,6 @@
@end
@class MultipartFormDataParser;
@interface VLCHTTPConnection : HTTPConnection {
MultipartFormDataParser* parser;
NSFileHandle* storeFile;
......
......@@ -8,13 +8,14 @@
// Refer to the COPYING file of the official project for license.
//
#import "VLCStatusLabel.h"
#import "VLCHorizontalSwipeGestureRecognizer.h"
#import "VLCVerticalSwipeGestureRecognizer.h"
#import "OBSlider.h"
#import <MediaPlayer/MediaPlayer.h>
@interface VLCMovieViewController : UIViewController <VLCMediaPlayerDelegate, UIActionSheetDelegate, VLCHorizontalSwipeGestureRecognizer, VLCVerticalSwipeGestureRecognizer>
@class OBSlider;
@class VLCStatusLabel;
@class VLCHorizontalSwipeGestureRecognizer;
@class VLCVerticalSwipeGestureRecognizer;
@interface VLCMovieViewController : UIViewController <VLCMediaPlayerDelegate, UIActionSheetDelegate>
@property (nonatomic, strong) IBOutlet UIView *movieView;
@property (nonatomic, strong) IBOutlet UIBarButtonItem *backButton;
......
......@@ -14,11 +14,16 @@
#import <CommonCrypto/CommonDigest.h>
#import "UIDevice+SpeedCategory.h"
#import "VLCBugreporter.h"
#import <MediaPlayer/MediaPlayer.h>
#import "OBSlider.h"
#import "VLCStatusLabel.h"
#import "VLCHorizontalSwipeGestureRecognizer.h"
#import "VLCVerticalSwipeGestureRecognizer.h"
#define INPUT_RATE_DEFAULT 1000.
@interface VLCMovieViewController () <UIGestureRecognizerDelegate, AVAudioSessionDelegate>
@interface VLCMovieViewController () <UIGestureRecognizerDelegate, AVAudioSessionDelegate,
VLCHorizontalSwipeGestureRecognizer, VLCVerticalSwipeGestureRecognizer>
{
VLCMediaPlayer *_mediaPlayer;
......
......@@ -8,7 +8,7 @@
// Refer to the COPYING file of the official project for license.
//
@interface VLCOpenNetworkStreamViewController : UIViewController <UITableViewDataSource, UITableViewDelegate>
@interface VLCOpenNetworkStreamViewController : UIViewController
@property (strong, nonatomic) IBOutlet UITextField *urlField;
@property (strong, nonatomic) IBOutlet UIButton *openButton;
......
......@@ -15,7 +15,7 @@
#import "UINavigationController+Theme.h"
#import "VLCMenuTableViewController.h"
@interface VLCOpenNetworkStreamViewController ()
@interface VLCOpenNetworkStreamViewController () <UITableViewDataSource, UITableViewDelegate>
{
NSMutableArray *_recentURLs;
}
......
......@@ -8,10 +8,10 @@
// Refer to the COPYING file of the official project for license.
//
#import "VLCLinearProgressIndicator.h"
#import "AQGridViewCell.h"
@class AQGridView;
@class VLCLinearProgressIndicator;
@interface VLCPlaylistGridView : AQGridViewCell
@property (nonatomic, strong) IBOutlet UILabel *titleLabel;
......
......@@ -9,6 +9,7 @@
//
#import "VLCPlaylistGridView.h"
#import "VLCLinearProgressIndicator.h"
#import "VLCAppDelegate.h"
#import "AQGridView.h"
......
......@@ -9,8 +9,8 @@
//
#import <Foundation/Foundation.h>
#import "VLCLinearProgressIndicator.h"
@class VLCLinearProgressIndicator;
@interface VLCPlaylistTableViewCell : UITableViewCell
@property (nonatomic, strong) IBOutlet UILabel *titleLabel;
......
......@@ -9,6 +9,7 @@
//
#import "VLCPlaylistTableViewCell.h"
#import "VLCLinearProgressIndicator.h"
#import <MediaLibraryKit/MLAlbum.h>
#define MAX_CACHE_SIZE 21 // three times the number of items shown on iPhone 5
......
......@@ -9,7 +9,6 @@
//
#import <UIKit/UIKit.h>
#import "AQGridView.h"
#define EXPERIMENTAL_LIBRARY 1
......@@ -19,6 +18,7 @@
@class VLCMovieViewController;
@class EmptyLibraryView;
@class AQGridView;
@interface VLCPlaylistViewController : UIViewController <UITabBarDelegate, UIPopoverControllerDelegate>
......
......@@ -17,6 +17,7 @@
#import "VLCBugreporter.h"
#import "VLCAppDelegate.h"
#import "UIBarButtonItem+Theme.h"
#import "AQGridView.h"
#ifndef UIStatusBarStyleLightContent
......
......@@ -8,10 +8,8 @@
// Refer to the COPYING file of the official project for license.
//
#import "IASKAppSettingsViewController.h"
#import "PAPasscodeViewController.h"
@interface VLCSettingsController : NSObject <PAPasscodeViewControllerDelegate, IASKSettingsDelegate>
@class IASKAppSettingsViewController;
@interface VLCSettingsController : NSObject
@property (nonatomic, retain) IASKAppSettingsViewController *viewController;
......
......@@ -12,8 +12,13 @@
#import "VLCAppDelegate.h"
#import "VLCPlaylistViewController.h"
#import "IASKSettingsReader.h"
#import "IASKAppSettingsViewController.h"
#import "PAPasscodeViewController.h"
#import <DropboxSDK/DropboxSDK.h>
@interface VLCSettingsController ()<PAPasscodeViewControllerDelegate, IASKSettingsDelegate>
@end
@implementation VLCSettingsController
- (id)init
......
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