From 6e91a9cc3d5a610198cf526a76e2ab642f10ecd7 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:59 -0500 Subject: Second Life viewer sources 1.20.13 --- linden/indra/llmedia/llmediaimplllmozlib.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'linden/indra/llmedia/llmediaimplllmozlib.h') diff --git a/linden/indra/llmedia/llmediaimplllmozlib.h b/linden/indra/llmedia/llmediaimplllmozlib.h index fc5d4e5..4f6b0b7 100644 --- a/linden/indra/llmedia/llmediaimplllmozlib.h +++ b/linden/indra/llmedia/llmediaimplllmozlib.h @@ -51,6 +51,12 @@ class LLMediaImplLLMozLib : static bool startup( LLMediaManagerData* init_data ); static bool closedown(); + // Update the user-agent string reported when the browser requests + // web page, because we need to include the Second Life version + // and skin name (which can change without restarts). + // Must be called after startup(). + static bool setBrowserUserAgent(std::string user_agent); + /* virtual */ bool init(); /* virtual */ std::string getVersion(); /* virtual */ bool set404RedirectUrl( std::string redirect_url ); -- cgit v1.1