From ce28e056c20bf2723f565bbf464b87781ec248a2 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:42 -0500 Subject: Second Life viewer sources 1.20.2 --- linden/indra/newview/lluserauth.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'linden/indra/newview/lluserauth.h') diff --git a/linden/indra/newview/lluserauth.h b/linden/indra/newview/lluserauth.h index 869b235..b59c3f3 100644 --- a/linden/indra/newview/lluserauth.h +++ b/linden/indra/newview/lluserauth.h @@ -70,7 +70,7 @@ class LLXMLRPCTransaction; // session-id = auth key //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -class LLUserAuth +class LLUserAuth : public LLSingleton { public: LLUserAuth(); @@ -104,7 +104,6 @@ public: BOOL skip_optional_update, BOOL accept_tos, BOOL accept_critical_message, - const LLUUID& viewer_digest, BOOL last_exec_froze, const std::vector& requested_options, const std::string& hashed_mac, @@ -121,13 +120,15 @@ public: BOOL skip_optional_update, BOOL accept_tos, BOOL accept_critical_message, - const LLUUID& viewer_digest, BOOL last_exec_froze, const std::vector& requested_options, const std::string& hashed_mac, const std::string& hashed_volume_serial); UserAuthcode authResponse(); + + // clears out internal data cache. + void reset(); std::string errorMessage() const { return mErrorMessage; } @@ -154,6 +155,4 @@ private: F64 mLastTransferRateBPS; // bits per second, only valid after a big transfer like inventory }; -extern LLUserAuth *gUserAuthp; - #endif /* LLUSERAUTH_H */ -- cgit v1.1