diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2009-06-24 01:54:57 +0000 |
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2009-06-24 01:54:57 +0000 |
| commit | da46eb9e7e0f6e069e7fc06176849d213876bfe3 (patch) | |
| tree | 040ccf936d9dfa2ea8af4d6eee2013cf4858b198 /indra/newview/llappviewer.cpp | |
| parent | ad1ecb126bfc19dc7c32fb87e82a1fe45782413f (diff) | |
DEV-31980: Extend LLEventDispatcher to handle const as well as non-const
methods. Introduce LLAppViewerListener based on LLDispatchListener,
instantiate a static one in llappviewer.cpp. Initial implementation only
supports ["op"] == "requestQuit".
Diffstat (limited to 'indra/newview/llappviewer.cpp')
| -rw-r--r-- | indra/newview/llappviewer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 455e987da0..a3b41b4ace 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -177,7 +177,10 @@ //---------------------------------------------------------------------------- // llviewernetwork.h #include "llviewernetwork.h" +// define a self-registering event API object +#include "llappviewerlistener.h" +static LLAppViewerListener sAppViewerListener("LLAppViewer", LLAppViewer::instance()); ////// Windows-specific includes to the bottom - nasty defines in these pollute the preprocessor // |
