summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-09-21 09:34:56 -0700
committerRichard Linden <none@none>2010-09-21 09:34:56 -0700
commite07c373bd4aef00aaa30735f722ed1b681a5d060 (patch)
tree9a6997cebf80289d275758c6c9c2007f3fbfad98 /indra/llui
parenta20a98454de522eba4da17881b85a0f16bb3c116 (diff)
parent71259fcccbfa834eab35eb3e98a7afc93786b32f (diff)
merge
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llnotifications.cpp6
-rw-r--r--indra/llui/llnotifications.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp
index 2a7ca4c321..9d14c4149c 100644
--- a/indra/llui/llnotifications.cpp
+++ b/indra/llui/llnotifications.cpp
@@ -628,6 +628,12 @@ void LLNotification::respond(const LLSD& response)
update();
}
+void LLNotification::respondWithDefault()
+{
+ respond(getResponseTemplate(WITH_DEFAULT_BUTTON));
+}
+
+
const std::string& LLNotification::getName() const
{
return mTemplatep->mName;
diff --git a/indra/llui/llnotifications.h b/indra/llui/llnotifications.h
index dcb7b48f92..4fe1687f0e 100644
--- a/indra/llui/llnotifications.h
+++ b/indra/llui/llnotifications.h
@@ -441,6 +441,7 @@ public:
LLSD asLLSD();
void respond(const LLSD& sd);
+ void respondWithDefault();
void* getResponder() { return mResponderObj; }