diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-01-14 13:54:56 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-01-14 13:54:56 -0500 |
commit | 0eb9d0371427ea398deeef53636556596083477e (patch) | |
tree | 9c21f02dcb91126f84cef86db244374b1550b531 /indra/llplugin/llpluginclassmedia.h | |
parent | b134bf554d7f7efaec61a4846531a0a1da094e12 (diff) | |
parent | be8e6100a7862bfcb91797db69e8f0d42fff9cd1 (diff) |
automated merge viewer2.0->viewer2.0
Diffstat (limited to 'indra/llplugin/llpluginclassmedia.h')
-rw-r--r-- | indra/llplugin/llpluginclassmedia.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginclassmedia.h b/indra/llplugin/llpluginclassmedia.h index 5a1928ab1d..ebb9099576 100644 --- a/indra/llplugin/llpluginclassmedia.h +++ b/indra/llplugin/llpluginclassmedia.h @@ -214,6 +214,17 @@ public: // This is valid after MEDIA_EVENT_CLICK_LINK_HREF std::string getClickTarget() const { return mClickTarget; }; + typedef enum + { + TARGET_NONE, // empty href target string + TARGET_BLANK, // target to open link in user's preferred browser + TARGET_EXTERNAL, // target to open link in external browser + TARGET_OTHER // nonempty and unsupported target type + }ETargetType; + + // This is valid after MEDIA_EVENT_CLICK_LINK_HREF + ETargetType getClickTargetType() const { return mClickTargetType; }; + std::string getMediaName() const { return mMediaName; }; std::string getMediaDescription() const { return mMediaDescription; }; @@ -344,6 +355,7 @@ protected: std::string mLocation; std::string mClickURL; std::string mClickTarget; + ETargetType mClickTargetType; ///////////////////////////////////////// // media_time class |