mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-15 22:52:31 +00:00
* Fix TextElement* to use rpc::target_type.
* Moved most of src/ui/download.cc to use commands for TextElements. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@967 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -44,6 +44,7 @@ namespace rpc {
|
||||
class CommandVariable;
|
||||
class CommandDownloadSlot;
|
||||
class CommandFileSlot;
|
||||
class CommandFileItrSlot;
|
||||
class CommandPeerSlot;
|
||||
class CommandTrackerSlot;
|
||||
}
|
||||
@@ -54,6 +55,7 @@ namespace rpc {
|
||||
#define COMMAND_VARIABLES_SIZE 100
|
||||
#define COMMAND_DOWNLOAD_SLOTS_SIZE 100
|
||||
#define COMMAND_FILE_SLOTS_SIZE 20
|
||||
#define COMMAND_FILE_ITR_SLOTS_SIZE 10
|
||||
#define COMMAND_PEER_SLOTS_SIZE 20
|
||||
#define COMMAND_TRACKER_SLOTS_SIZE 15
|
||||
|
||||
@@ -67,6 +69,8 @@ extern rpc::CommandDownloadSlot commandDownloadSlots[COMMAND_DOWNLOAD_SLOTS_SIZ
|
||||
extern rpc::CommandDownloadSlot* commandDownloadSlotsItr;
|
||||
extern rpc::CommandFileSlot commandFileSlots[COMMAND_FILE_SLOTS_SIZE];
|
||||
extern rpc::CommandFileSlot* commandFileSlotsItr;
|
||||
extern rpc::CommandFileItrSlot commandFileItrSlots[COMMAND_FILE_ITR_SLOTS_SIZE];
|
||||
extern rpc::CommandFileItrSlot* commandFileItrSlotsItr;
|
||||
extern rpc::CommandPeerSlot commandPeerSlots[COMMAND_PEER_SLOTS_SIZE];
|
||||
extern rpc::CommandPeerSlot* commandPeerSlotsItr;
|
||||
extern rpc::CommandTrackerSlot commandTrackerSlots[COMMAND_TRACKER_SLOTS_SIZE];
|
||||
|
||||
Reference in New Issue
Block a user