diff options
Diffstat (limited to 'support/hololens/ServoApp/ServoControl/Servo.h')
-rw-r--r-- | support/hololens/ServoApp/ServoControl/Servo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/support/hololens/ServoApp/ServoControl/Servo.h b/support/hololens/ServoApp/ServoControl/Servo.h index db2ade2e14e..fb2c2f5fb22 100644 --- a/support/hololens/ServoApp/ServoControl/Servo.h +++ b/support/hololens/ServoApp/ServoControl/Servo.h @@ -31,6 +31,8 @@ public: float, ServoDelegate &, bool); ~Servo(); ServoDelegate &Delegate() { return mDelegate; } + hstring CurrentUrl() { return mUrl; } + void CurrentUrl(hstring url) { mUrl = url; } typedef std::tuple<hstring, winrt::Windows::Foundation::IInspectable, bool> PrefTuple; @@ -96,6 +98,7 @@ public: private: ServoDelegate &mDelegate; + hstring mUrl; GLsizei mWindowWidth; GLsizei mWindowHeight; static void SaveUserPref(PrefTuple); @@ -115,6 +118,7 @@ public: virtual void OnServoURLChanged(hstring) = 0; virtual bool OnServoAllowNavigation(hstring) = 0; virtual void OnServoAnimatingChanged(bool) = 0; + virtual void OnServoPanic(hstring) = 0; virtual void OnServoIMEShow(hstring text, int32_t x, int32_t y, int32_t width, int32_t height) = 0; virtual void OnServoIMEHide() = 0; |