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