aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewertexteditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewertexteditor.h')
-rw-r--r--linden/indra/newview/llviewertexteditor.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/linden/indra/newview/llviewertexteditor.h b/linden/indra/newview/llviewertexteditor.h
index 347180b..26fd9b3 100644
--- a/linden/indra/newview/llviewertexteditor.h
+++ b/linden/indra/newview/llviewertexteditor.h
@@ -42,10 +42,10 @@ class LLViewerTextEditor : public LLTextEditor
42{ 42{
43 43
44public: 44public:
45 LLViewerTextEditor(const LLString& name, 45 LLViewerTextEditor(const std::string& name,
46 const LLRect& rect, 46 const LLRect& rect,
47 S32 max_length, 47 S32 max_length,
48 const LLString& default_text = LLString(), 48 const std::string& default_text = std::string(),
49 const LLFontGL* glfont = NULL, 49 const LLFontGL* glfont = NULL,
50 BOOL allow_embedded_items = FALSE); 50 BOOL allow_embedded_items = FALSE);
51 51
@@ -62,28 +62,28 @@ public:
62 virtual BOOL handleHover(S32 x, S32 y, MASK mask); 62 virtual BOOL handleHover(S32 x, S32 y, MASK mask);
63 virtual BOOL handleDoubleClick(S32 x, S32 y, MASK mask ); 63 virtual BOOL handleDoubleClick(S32 x, S32 y, MASK mask );
64 64
65 virtual BOOL handleToolTip(S32 x, S32 y, LLString& msg, LLRect* sticky_rect); 65 virtual BOOL handleToolTip(S32 x, S32 y, std::string& msg, LLRect* sticky_rect);
66 virtual BOOL handleDragAndDrop(S32 x, S32 y, MASK mask, 66 virtual BOOL handleDragAndDrop(S32 x, S32 y, MASK mask,
67 BOOL drop, EDragAndDropType cargo_type, 67 BOOL drop, EDragAndDropType cargo_type,
68 void *cargo_data, EAcceptance *accept, LLString& tooltip_msg); 68 void *cargo_data, EAcceptance *accept, std::string& tooltip_msg);
69 69
70 const class LLInventoryItem* getDragItem() const { return mDragItem; } 70 const class LLInventoryItem* getDragItem() const { return mDragItem; }
71 virtual BOOL importBuffer(const LLString& buffer); 71 virtual BOOL importBuffer(const char* buffer, S32 length);
72 virtual bool importStream(std::istream& str); 72 virtual bool importStream(std::istream& str);
73 virtual BOOL exportBuffer(LLString& buffer); 73 virtual BOOL exportBuffer(std::string& buffer);
74 void setNotecardInfo(const LLUUID& notecard_item_id, const LLUUID& object_id) 74 void setNotecardInfo(const LLUUID& notecard_item_id, const LLUUID& object_id)
75 { 75 {
76 mNotecardInventoryID = notecard_item_id; 76 mNotecardInventoryID = notecard_item_id;
77 mObjectID = object_id; 77 mObjectID = object_id;
78 } 78 }
79 79
80 void setASCIIEmbeddedText(const LLString& instr); 80 void setASCIIEmbeddedText(const std::string& instr);
81 void setEmbeddedText(const LLString& instr); 81 void setEmbeddedText(const std::string& instr);
82 LLString getEmbeddedText(); 82 std::string getEmbeddedText();
83 83
84 // Appends Second Life time, small font, grey. 84 // Appends Second Life time, small font, grey.
85 // If this starts a line, you need to prepend a newline. 85 // If this starts a line, you need to prepend a newline.
86 LLString appendTime(bool prepend_newline); 86 std::string appendTime(bool prepend_newline);
87 87
88 void copyInventory(const LLInventoryItem* item, U32 callback_id = 0); 88 void copyInventory(const LLInventoryItem* item, U32 callback_id = 0);
89 89