diff options
| author | callum <none@none> | 2011-08-26 17:27:15 -0700 |
|---|---|---|
| committer | callum <none@none> | 2011-08-26 17:27:15 -0700 |
| commit | 0bf3ee7fa7f09bee0ee12077442fac9e4d0b32cd (patch) | |
| tree | 92ab32ecf623700ec99abc9bdb3282b5c6b246d3 /indra/llplugin/llpluginclassmedia.h | |
| parent | 6ba044c2896938c0b7871c1cc30bbd9c2667810b (diff) | |
EXP-1111 FIX LLQtWebKit (and related media system) should log events, progress etc. to make debugging problems easier
Diffstat (limited to 'indra/llplugin/llpluginclassmedia.h')
| -rw-r--r-- | indra/llplugin/llpluginclassmedia.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginclassmedia.h b/indra/llplugin/llpluginclassmedia.h index e7f303275e..84a3dbed6d 100644 --- a/indra/llplugin/llpluginclassmedia.h +++ b/indra/llplugin/llpluginclassmedia.h @@ -118,6 +118,9 @@ public: void scrollEvent(int x, int y, MASK modifiers); + // enable/disable media plugin debugging messages and info spam + void enableMediaPluginDebugging( bool enable ); + // Javascript <-> viewer events void jsEnableObject( bool enable ); void jsAgentLocationEvent( double x, double y, double z ); @@ -243,6 +246,10 @@ public: // This is valid during MEDIA_EVENT_CLICK_LINK_HREF and MEDIA_EVENT_GEOMETRY_CHANGE std::string getClickUUID() const { return mClickUUID; }; +
+ // These are valid during MEDIA_EVENT_DEBUG_MESSAGE
+ std::string getDebugMessageText() const { return mDebugMessageText; };
+ std::string getDebugMessageLevel() const { return mDebugMessageLevel; }; // This is valid after MEDIA_EVENT_NAVIGATE_ERROR_PAGE S32 getStatusCode() const { return mStatusCode; }; @@ -395,6 +402,8 @@ protected: std::string mClickNavType; std::string mClickTarget; std::string mClickUUID; + std::string mDebugMessageText;
+ std::string mDebugMessageLevel; S32 mGeometryX; S32 mGeometryY; S32 mGeometryWidth; |
