aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmedia/llmediamanager.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:59 -0500
committerJacek Antonelli2008-08-15 23:45:59 -0500
commit6e91a9cc3d5a610198cf526a76e2ab642f10ecd7 (patch)
treeb023869f9daa7f61ea3ab27112d37524bdd88de4 /linden/indra/llmedia/llmediamanager.cpp
parentSecond Life viewer sources 1.20.12 (diff)
downloadmeta-impy-6e91a9cc3d5a610198cf526a76e2ab642f10ecd7.zip
meta-impy-6e91a9cc3d5a610198cf526a76e2ab642f10ecd7.tar.gz
meta-impy-6e91a9cc3d5a610198cf526a76e2ab642f10ecd7.tar.bz2
meta-impy-6e91a9cc3d5a610198cf526a76e2ab642f10ecd7.tar.xz
Second Life viewer sources 1.20.13
Diffstat (limited to 'linden/indra/llmedia/llmediamanager.cpp')
-rw-r--r--linden/indra/llmedia/llmediamanager.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/llmedia/llmediamanager.cpp b/linden/indra/llmedia/llmediamanager.cpp
index c9b673d..8d637c0 100644
--- a/linden/indra/llmedia/llmediamanager.cpp
+++ b/linden/indra/llmedia/llmediamanager.cpp
@@ -134,6 +134,14 @@ LLMediaManager* LLMediaManager::getInstance()
134} 134}
135 135
136//////////////////////////////////////////////////////////////////////////////// 136////////////////////////////////////////////////////////////////////////////////
137// (static)
138void LLMediaManager::setBrowserUserAgent(std::string user_agent)
139{
140 // *HACK: Breaks encapsulation model, as initClass does above. JC
141 LLMediaImplLLMozLib::setBrowserUserAgent(user_agent);
142}
143
144////////////////////////////////////////////////////////////////////////////////
137// 145//
138LLMediaBase* LLMediaManager::createSourceFromMimeType( std::string scheme, std::string mime_type ) 146LLMediaBase* LLMediaManager::createSourceFromMimeType( std::string scheme, std::string mime_type )
139{ 147{