diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-08-13 20:47:02 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-08-13 20:47:02 +0300 |
commit | 82f259b133bf8e7a2686fbf94a2759cb69e5dc37 (patch) | |
tree | b8dc82d5e2a2e91319ee6a14971d1624cdaa95bb /indra/newview/llviewerparcelmediaautoplay.h | |
parent | 24a0601a50f81b8f1a21c2c64c118702dd93f645 (diff) |
DRTVWR-493 Converted LLViewerParcelMediaAutoPlay to singleton
Diffstat (limited to 'indra/newview/llviewerparcelmediaautoplay.h')
-rw-r--r-- | indra/newview/llviewerparcelmediaautoplay.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/indra/newview/llviewerparcelmediaautoplay.h b/indra/newview/llviewerparcelmediaautoplay.h index a052362829..33565307f2 100644 --- a/indra/newview/llviewerparcelmediaautoplay.h +++ b/indra/newview/llviewerparcelmediaautoplay.h @@ -31,13 +31,11 @@ #include "lluuid.h" // timer to automatically play media -class LLViewerParcelMediaAutoPlay : LLEventTimer +class LLViewerParcelMediaAutoPlay : LLEventTimer, public LLSingleton<LLViewerParcelMediaAutoPlay> { - public: - LLViewerParcelMediaAutoPlay(); + LLSINGLETON(LLViewerParcelMediaAutoPlay); +public: virtual BOOL tick(); - static void initClass(); - static void cleanupClass(); static void playStarted(); private: |