diff options
author | Runitai <> | 2010-01-11 11:24:04 -0600 |
---|---|---|
committer | Runitai <> | 2010-01-11 11:24:04 -0600 |
commit | 78cb4204a471129a3f3486d33cf115de816de36c (patch) | |
tree | bd2d8ea33a1c9d8b2893a1e8efc480d5bb87dc3a /indra/newview/llviewermedia.h | |
parent | 2a00a16f57daf7c3f99b0374901c03644a5b5f1b (diff) | |
parent | fddc7d856e420b24e67f1f20af7bc45817a1a8fb (diff) |
Merge
Diffstat (limited to 'indra/newview/llviewermedia.h')
-rw-r--r-- | indra/newview/llviewermedia.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/indra/newview/llviewermedia.h b/indra/newview/llviewermedia.h index 5e4dd8ff30..b103c48bd8 100644 --- a/indra/newview/llviewermedia.h +++ b/indra/newview/llviewermedia.h @@ -123,7 +123,10 @@ class LLViewerMediaImpl { LOG_CLASS(LLViewerMediaImpl); public: - + + friend class LLViewerMedia; + friend class LLMimeDiscoveryResponder; + LLViewerMediaImpl( const LLUUID& texture_id, S32 media_width, @@ -202,11 +205,15 @@ public: bool isMediaPaused(); bool hasMedia() const; bool isMediaFailed() const { return mMediaSourceFailed; }; + void setMediaFailed(bool val) { mMediaSourceFailed = val; } void resetPreviousMediaState(); void setDisabled(bool disabled); bool isMediaDisabled() const { return mIsDisabled; }; - + + void setInNearbyMediaList(bool in_list) { mInNearbyMediaList = in_list; } + bool getInNearbyMediaList() { return mInNearbyMediaList; } + // returns true if this instance should not be loaded (disabled, muted object, crashed, etc.) bool isForcedUnloaded() const; @@ -311,7 +318,7 @@ public: void setNavState(EMediaNavState state); void cancelMimeTypeProbe(); -public: +private: // a single media url with some data and an impl. LLPluginClassMedia* mMediaSource; LLUUID mTextureId; |