aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llappviewer.h25
1 files changed, 20 insertions, 5 deletions
diff --git a/linden/indra/newview/llappviewer.h b/linden/indra/newview/llappviewer.h
index 801deb1..6545a61 100644
--- a/linden/indra/newview/llappviewer.h
+++ b/linden/indra/newview/llappviewer.h
@@ -77,7 +77,9 @@ public:
77 // Report true if under the control of a debugger. A null-op default. 77 // Report true if under the control of a debugger. A null-op default.
78 virtual bool beingDebugged() { return false; } 78 virtual bool beingDebugged() { return false; }
79 79
80 virtual void handleCrashReporting() = 0; // What to do with crash report? 80 virtual bool restoreErrorTrap() = 0; // Require platform specific override to reset error handling mechanism.
81 // return false if the error trap needed restoration.
82 virtual void handleCrashReporting(bool reportFreeze = false) = 0; // What to do with crash report?
81 virtual void handleSyncCrashTrace() = 0; // any low-level crash-prep that has to happen in the context of the crashing thread before the crash report is delivered. 83 virtual void handleSyncCrashTrace() = 0; // any low-level crash-prep that has to happen in the context of the crashing thread before the crash report is delivered.
82 static void handleViewerCrash(); // Hey! The viewer crashed. Do this, soon. 84 static void handleViewerCrash(); // Hey! The viewer crashed. Do this, soon.
83 static void handleSyncViewerCrash(); // Hey! The viewer crashed. Do this right NOW in the context of the crashing thread. 85 static void handleSyncViewerCrash(); // Hey! The viewer crashed. Do this right NOW in the context of the crashing thread.
@@ -136,15 +138,21 @@ public:
136 void resumeMainloopTimeout(const std::string& state = "", F32 secs = -1.0f); 138 void resumeMainloopTimeout(const std::string& state = "", F32 secs = -1.0f);
137 void pingMainloopTimeout(const std::string& state, F32 secs = -1.0f); 139 void pingMainloopTimeout(const std::string& state, F32 secs = -1.0f);
138 140
141 // Handle the 'login completed' event.
142 // *NOTE:Mani Fix this for login abstraction!!
143 void handleLoginComplete();
144
139protected: 145protected:
140 virtual bool initWindow(); // Initialize the viewer's window. 146 virtual bool initWindow(); // Initialize the viewer's window.
141 virtual bool initLogging(); // Initialize log files, logging system, return false on failure. 147 virtual bool initLogging(); // Initialize log files, logging system, return false on failure.
142 virtual void initConsole() {}; // Initialize OS level debugging console. 148 virtual void initConsole() {}; // Initialize OS level debugging console.
143 virtual bool initHardwareTest() { return true; } // A false result indicates the app should quit. 149 virtual bool initHardwareTest() { return true; } // A false result indicates the app should quit.
150 virtual bool initSLURLHandler();
151 virtual bool sendURLToOtherInstance(const std::string& url);
144 152
145 virtual bool initParseCommandLine(LLCommandLineParser& clp) 153 virtual bool initParseCommandLine(LLCommandLineParser& clp)
146 { return true; } // Allow platforms to specify the command line args. 154 { return true; } // Allow platforms to specify the command line args.
147 155
148 virtual std::string generateSerialNumber() = 0; // Platforms specific classes generate this. 156 virtual std::string generateSerialNumber() = 0; // Platforms specific classes generate this.
149 157
150 158
@@ -211,6 +219,15 @@ private:
211 // for tracking viewer<->region circuit death 219 // for tracking viewer<->region circuit death
212 bool mAgentRegionLastAlive; 220 bool mAgentRegionLastAlive;
213 LLUUID mAgentRegionLastID; 221 LLUUID mAgentRegionLastID;
222
223public:
224 //some information for updater
225 typedef struct
226 {
227 std::string mUpdateExePath;
228 std::ostringstream mParams;
229 }LLUpdaterInfo ;
230 static LLUpdaterInfo *sUpdaterInfo ;
214}; 231};
215 232
216// consts from viewer.h 233// consts from viewer.h
@@ -222,8 +239,6 @@ const S32 AGENT_UPDATES_PER_SECOND = 10;
222// "// llstartup" indicates that llstartup is the only client for this global. 239// "// llstartup" indicates that llstartup is the only client for this global.
223 240
224extern BOOL gHandleKeysAsync; // gSavedSettings used by llviewerdisplay.cpp & llviewermenu.cpp 241extern BOOL gHandleKeysAsync; // gSavedSettings used by llviewerdisplay.cpp & llviewermenu.cpp
225extern std::string gDisabledMessage; // llstartup
226extern BOOL gHideLinks; // used by llpanellogin, lllfloaterbuycurrency, llstartup
227extern LLSD gDebugInfo; 242extern LLSD gDebugInfo;
228 243
229extern BOOL gAllowIdleAFK; 244extern BOOL gAllowIdleAFK;