diff options
author | Oz Linden <oz@lindenlab.com> | 2011-06-06 11:40:10 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-06-06 11:40:10 -0400 |
commit | 336d3c15c426f1f29b85ed67d8fe5db93c2cc148 (patch) | |
tree | 0904f442600a14d0569668663df61ecf7ac067a8 /indra/llplugin/llpluginclassmedia.h | |
parent | bbc1283848e01bfd5284293d044eec53cde10d0e (diff) | |
parent | 7a7c6860e523a53285acda408d7798ffcd892778 (diff) |
merge changes for viewer-development
Diffstat (limited to 'indra/llplugin/llpluginclassmedia.h')
-rw-r--r-- | indra/llplugin/llpluginclassmedia.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/indra/llplugin/llpluginclassmedia.h b/indra/llplugin/llpluginclassmedia.h index cf8d8b26b9..fea836aa68 100644 --- a/indra/llplugin/llpluginclassmedia.h +++ b/indra/llplugin/llpluginclassmedia.h @@ -117,7 +117,17 @@ public: bool keyEvent(EKeyEventType type, int key_code, MASK modifiers, LLSD native_key_data); void scrollEvent(int x, int y, MASK modifiers); - + + // Javascript <-> viewer events + void jsExposeObjectEvent( bool expose ); + void jsValuesValidEvent( bool valid ); + void jsAgentLocationEvent( double x, double y, double z ); + void jsAgentGlobalLocationEvent( double x, double y, double z ); + void jsAgentOrientationEvent( double angle ); + void jsAgentLanguageEvent( const std::string& language ); + void jsAgentRegionEvent( const std::string& region_name ); + void jsAgentMaturityEvent( const std::string& maturity ); + // Text may be unicode (utf8 encoded) bool textInput(const std::string &text, MASK modifiers, LLSD native_key_data); |