diff options
author | brad kittenbrink <brad@lindenlab.com> | 2009-07-08 12:07:31 -0700 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2009-07-08 12:07:31 -0700 |
commit | 429bd9b55c54164d133276ed5b1fd54e565eb1b4 (patch) | |
tree | d38ba2710dc07856b12d687b72c87226d8204754 /indra/newview | |
parent | 1f9a6f3bdcadb11aea5083e3066ef5e870e69f8a (diff) |
Added LLNotificationsListener to hook LLNotifications to the event system according to https://wiki.lindenlab.com/wiki/Incremental_Viewer_Automation/Event_API
reviewed by palmer.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llappviewer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index b14853777d..947f5bdb20 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -1154,6 +1154,8 @@ bool LLAppViewer::mainLoop() bool LLAppViewer::cleanup() { + // *TODO - unload event host module here -brad + //---------------------------------------------- //this test code will be removed after the test //test manual call stack tracer @@ -4132,4 +4134,8 @@ void LLAppViewer::loadEventHostModule(S32 listen_port) const args["listen_port"] = listen_port; ll_plugin_start_func(args); + + args = LLSD(); + args["MESSAGE"] = "EventHost module loaded successfully"; + LLNotifications::instance().add("SystemMessageTip", args); } |