Files
transshift/TransmissionRPCClient/SpeedLimitController.h

31 lines
730 B
Objective-C

//
// SpeedLimitController.h
// TransmissionRPCClient
//
// Created by Alexey Chechetkin on 06.07.15.
// Copyright (c) 2015 Alexey Chechetkin. All rights reserved.
//
#import "CommonTableController.h"
#import "RateLimitTable.h"
#define CONTROLLER_ID_SPEEDLIMIT @"speedLimitController"
#define CELL_ID_SPEED @"speedCell"
@protocol SpeedLimitControllerDelegate <NSObject>
@optional - (void)speedLimitControllerSpeedSelectedWithIndex:(int)index;
@end
@interface SpeedLimitController : CommonTableController
@property(weak) id<SpeedLimitControllerDelegate> delegate;
@property(nonatomic) RateLimitTable *rates;
@property(nonatomic) int selectedSpeed;
@property(nonatomic) BOOL isDownload;
@end