summaryrefslogtreecommitdiffstats
path: root/vcl/inc/android
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-12-13 19:33:42 +0000
committerTor Lillqvist <tml@iki.fi>2013-02-21 22:54:36 +0200
commit52a8744afee2cd589813f0377d93f821fce7aedd (patch)
tree1c68647d4a31559e77e8b8be98e15bb9af18f76a /vcl/inc/android
parentFix type unkown -> unknown (diff)
downloadcore-52a8744afee2cd589813f0377d93f821fce7aedd.tar.gz
core-52a8744afee2cd589813f0377d93f821fce7aedd.zip
Revert "Clean up remains of NativeActivity-based Android app support"
This reverts commit cecc926070ee3d2ad6296fc5e0cfcde8642bb140. Conflicts: sal/android/lo-bootstrap.c sal/inc/osl/detail/android-bootstrap.h
Diffstat (limited to 'vcl/inc/android')
-rw-r--r--vcl/inc/android/androidinst.hxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcl/inc/android/androidinst.hxx b/vcl/inc/android/androidinst.hxx
index 2fd2718a7e25..addec800070a 100644
--- a/vcl/inc/android/androidinst.hxx
+++ b/vcl/inc/android/androidinst.hxx
@@ -50,13 +50,27 @@ public:
virtual SalSystem* CreateSalSystem();
+ // frame management
+ void GetWorkArea( Rectangle& rRect );
+ SalFrame* CreateFrame( SalFrame* pParent, sal_uLong nStyle );
+ SalFrame* CreateChildFrame( SystemParentData* pParent, sal_uLong nStyle );
+
// mainloop pieces
virtual void Wakeup();
virtual bool AnyInput( sal_uInt16 nType );
+ // incoming android event handlers:
+ void onAppCmd (struct android_app* app, int32_t cmd);
+ int32_t onInputEvent (struct android_app* app, AInputEvent* event);
+ void RedrawWindows(ANativeWindow *pWindow);
+ SalFrame *getFocusFrame() const;
+
+ void damaged(AndroidSalFrame *frame, const Rectangle &rRect);
protected:
virtual void DoReleaseYield( int nTimeoutMS );
+ struct android_app *mpApp;
Region maRedrawRegion;
+ bool mbQueueReDraw;
};
#endif // ANDROID_SALINST_H