summaryrefslogtreecommitdiff
path: root/indra/newview/lltoastpanel.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-24 22:55:56 -0800
committerJames Cook <james@lindenlab.com>2009-11-24 22:55:56 -0800
commit0e351bedb6ec15ecb4da6073c8db4edc34ccc0ba (patch)
tree4f5a617ab3a0ec30772e261248baff34dd56c1b0 /indra/newview/lltoastpanel.cpp
parent458430be918500e1c93961a2d959542b3987f6a6 (diff)
Removed llnotifications.h from all headers by adding llnotificationsptr.h
Fixed many more includes
Diffstat (limited to 'indra/newview/lltoastpanel.cpp')
-rw-r--r--indra/newview/lltoastpanel.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/lltoastpanel.cpp b/indra/newview/lltoastpanel.cpp
index ef75e06047..afb9e261b0 100644
--- a/indra/newview/lltoastpanel.cpp
+++ b/indra/newview/lltoastpanel.cpp
@@ -34,6 +34,8 @@
#include "lltoastpanel.h"
+#include "llnotifications.h"
+
//static
const S32 LLToastPanel::MIN_PANEL_HEIGHT = 40; // VPAD(4)*2 + ICON_HEIGHT(32)
@@ -46,12 +48,19 @@ LLToastPanel::~LLToastPanel()
{
}
+//virtual
std::string LLToastPanel::getTitle()
{
// *TODO: create Title and localize it. If it will be required.
return mNotification->getMessage();
}
+//virtual
+const LLUUID& LLToastPanel::getID()
+{
+ return mNotification->id();
+}
+
//snap to the message height if it is visible
void LLToastPanel::snapToMessageHeight(LLTextBase* message, S32 maxLineCount)
{