mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 15:12:30 +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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user