Files
transshift/TransmissionRPCClient/PeerListController.h
Alexey Chechetkin 2bad05357f Added peer stats
2015-08-03 00:34:01 +03:00

30 lines
691 B
Objective-C

//
// PeerListController.h
// TransmissionRPCClient
//
// Created by Alexey Chechetkin on 30.06.15.
// Copyright (c) 2015 Alexey Chechetkin. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "CommonTableController.h"
#import "TRPeerInfo.h"
#define CONTROLLER_ID_PEERLIST @"peerListController"
@protocol PeerListControllerDelegate <NSObject>
@optional - (void)peerListNeedUpdatePeersForTorrentId:(int)torrentId;
@end
@interface PeerListController : CommonTableController
@property(weak) id<PeerListControllerDelegate> delegate;
@property(nonatomic) NSArray* peers;
@property(nonatomic) TRPeerStat* peerStat;
@property(nonatomic) int torrentId;
@end