mirror of
https://github.com/zhigang1992/transshift.git
synced 2026-05-25 09:27:16 +08:00
31 lines
730 B
Objective-C
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
|