//
//  SettingsViewController.h
//  iDing
//
//  Created by Macbook Pro on 31/01/13.
//  Copyright (c) 2013 Abusamy Ltd.. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "MBProgressHUD.h"
#import "DevicesPickerViewController.h"
#import "Device.h"

@interface SettingsViewController : UIViewController<UITableViewDelegate,UITableViewDataSource,NSURLConnectionDelegate, MBProgressHUDDelegate, UIPickerViewDataSource, UIPickerViewDelegate>
{
    IBOutlet UITableView *settingsTBVw;
    NSArray *menuTableData;
    NSMutableData *mutableData;
    NSURLConnection *urlConnection,*urlConnectionBufferVideos;
    NSMutableArray *devicesArr;
    DevicesPickerViewController *devicesPicker;
    CGRect popRect;
    MBProgressHUD *HUD;
    IBOutlet UIPickerView *devices_picker;
}

//@property (retain, nonatomic) IBOutlet UITableView *mainMenuTBVw;
@property(nonatomic,retain)NSURLConnection *urlConnection;
@property(nonatomic,retain)NSMutableData *mutableData;

//@property (nonatomic,retain) NSURLSession *session;
//@property (nonatomic,retain) NSString *buffer_file_path;
//@property(nonatomic,retain) NSMutableArray *files_todownload;
//@property (nonatomic,retain) NSURLSessionDownloadTask *downloadTask1;

@property (retain, nonatomic) IBOutlet UITableView *settingsTBVw;
-(void)moveToLoginPage;
@end
