diff options
author | Jacek Antonelli | 2008-08-15 23:45:53 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:53 -0500 |
commit | eea0e92faa209f23b677fdee964023d0ce6f2fed (patch) | |
tree | f8700989d9f799d4e818920ba54516e7cf975376 /linden/indra/newview/llwatchdog.h | |
parent | Second Life viewer sources 1.20.7 (diff) | |
download | meta-impy-eea0e92faa209f23b677fdee964023d0ce6f2fed.zip meta-impy-eea0e92faa209f23b677fdee964023d0ce6f2fed.tar.gz meta-impy-eea0e92faa209f23b677fdee964023d0ce6f2fed.tar.bz2 meta-impy-eea0e92faa209f23b677fdee964023d0ce6f2fed.tar.xz |
Second Life viewer sources 1.20.8
Diffstat (limited to 'linden/indra/newview/llwatchdog.h')
-rw-r--r-- | linden/indra/newview/llwatchdog.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linden/indra/newview/llwatchdog.h b/linden/indra/newview/llwatchdog.h index 96388bb..c1f2b94 100644 --- a/linden/indra/newview/llwatchdog.h +++ b/linden/indra/newview/llwatchdog.h | |||
@@ -59,15 +59,17 @@ public: | |||
59 | virtual ~LLWatchdogTimeout(); | 59 | virtual ~LLWatchdogTimeout(); |
60 | 60 | ||
61 | /* virtual */ bool isAlive() const; | 61 | /* virtual */ bool isAlive() const; |
62 | /* virtual */ void start(); | 62 | /* virtual */ void start(const std::string& state); |
63 | /* virtual */ void stop(); | 63 | /* virtual */ void stop(); |
64 | 64 | ||
65 | void setTimeout(F32 d); | 65 | void setTimeout(F32 d); |
66 | void ping(); | 66 | void ping(const std::string& state); |
67 | const std::string& getState() {return mPingState; } | ||
67 | 68 | ||
68 | private: | 69 | private: |
69 | LLTimer mTimer; | 70 | LLTimer mTimer; |
70 | F32 mTimeout; | 71 | F32 mTimeout; |
72 | std::string mPingState; | ||
71 | }; | 73 | }; |
72 | 74 | ||
73 | class LLWatchdogTimerThread; // Defined in the cpp | 75 | class LLWatchdogTimerThread; // Defined in the cpp |