diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-01-24 22:36:25 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-24 22:37:09 +0000 |
commit | 7dbd2a0a6d983bdd14bf7a022c0199fde76e143a (patch) | |
tree | 596445014cd566d22e933af4832c77d2b6a00e47 /vcl/inc | |
parent | c2112c7ce19fbdbc285d34fe8122754fb6654adb (diff) |
android: re-factor headless a little, and start on the mainloop
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/android/androidinst.hxx | 6 | ||||
-rw-r--r-- | vcl/inc/headless/svpinst.hxx | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/vcl/inc/android/androidinst.hxx b/vcl/inc/android/androidinst.hxx index fda916baadcc..a5c69b0f419a 100644 --- a/vcl/inc/android/androidinst.hxx +++ b/vcl/inc/android/androidinst.hxx @@ -39,6 +39,12 @@ public: virtual ~AndroidSalInstance(); virtual SalSystem* CreateSalSystem(); + + // mainloop pieces + virtual void Wakeup(); + virtual bool AnyInput( sal_uInt16 nType ); +protected: + virtual void DoReleaseYield( int nTimeoutMS ); }; #endif // ANDROID_SALINST_H diff --git a/vcl/inc/headless/svpinst.hxx b/vcl/inc/headless/svpinst.hxx index 605f0ae53bed..92b989f80dc0 100644 --- a/vcl/inc/headless/svpinst.hxx +++ b/vcl/inc/headless/svpinst.hxx @@ -95,6 +95,9 @@ class SvpSalInstance : public SalGenericInstance bool isFrameAlive( const SalFrame* pFrame ) const; +protected: + virtual void DoReleaseYield( int nTimeoutMS ); + public: static SvpSalInstance* s_pDefaultInstance; |