* 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:
rakshasa
2007-08-30 16:33:52 +00:00
parent 32b74ffc48
commit 73c41074ec
28 changed files with 476 additions and 115 deletions
+2 -1
View File
@@ -41,6 +41,7 @@
#include <inttypes.h>
#include "display/canvas.h"
#include "rpc/command_map.h"
namespace display {
@@ -56,7 +57,7 @@ public:
// The last element must point to a valid memory location into which
// the caller must write a '\0' to terminate the c string. The
// attributes must contain at least one attribute.
virtual char* print(char* first, char* last, Canvas::attributes_list* attributes, void* object) = 0;
virtual char* print(char* first, char* last, Canvas::attributes_list* attributes, rpc::target_type target) = 0;
virtual extent_type max_length() = 0;