summaryrefslogtreecommitdiff
path: root/indra/newview/lltoastscripttextbox.h
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-12-20 17:14:51 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-12-20 17:14:51 -0500
commit261ac32dda439fa1fc5708c78168967bf4d484e6 (patch)
tree22f0e531422f6b39b40ed943c80e13634a15e7a4 /indra/newview/lltoastscripttextbox.h
parent4bd6edc6b037195012583467a3e5e754f6a5af77 (diff)
parente9d21ba941a52665d7ad2ee3483c6ac7b7ec6486 (diff)
merge
Diffstat (limited to 'indra/newview/lltoastscripttextbox.h')
-rw-r--r--indra/newview/lltoastscripttextbox.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/indra/newview/lltoastscripttextbox.h b/indra/newview/lltoastscripttextbox.h
index ae3b545e0a..8e69d8834d 100644
--- a/indra/newview/lltoastscripttextbox.h
+++ b/indra/newview/lltoastscripttextbox.h
@@ -30,13 +30,11 @@
#include "lltoastnotifypanel.h"
#include "llnotificationptr.h"
-class LLButton;
-
/**
* Toast panel for scripted llTextbox notifications.
*/
class LLToastScriptTextbox
-: public LLToastNotifyPanel
+: public LLToastPanel
{
public:
void close();
@@ -46,12 +44,15 @@ public:
// Non-transient messages. You can specify non-default button
// layouts (like one for script dialogs) by passing various
// numbers in for "layout".
- LLToastScriptTextbox(LLNotificationPtr& notification);
+ LLToastScriptTextbox(const LLNotificationPtr& notification);
/*virtual*/ ~LLToastScriptTextbox();
-protected:
- void onClickSubmit();
+
private:
+
+ void onClickSubmit();
+ void onClickIgnore();
+
static const S32 DEFAULT_MESSAGE_MAX_LINE_COUNT;
};