aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/tizen/form.h
diff options
context:
space:
mode:
authorChris Warren-Smith2013-08-17 08:52:14 +1000
committerChris Warren-Smith2013-08-17 08:52:14 +1000
commit1f4feaffb0c6dc49e8a5f4d2ca1ef10650185ca2 (patch)
treeee2756f1ea091f17b0e72d907d8af22f89213847 /backends/platform/tizen/form.h
parente2856ed85b08b4ab96e5a05cef793052e3232838 (diff)
downloadscummvm-rg350-1f4feaffb0c6dc49e8a5f4d2ca1ef10650185ca2.tar.gz
scummvm-rg350-1f4feaffb0c6dc49e8a5f4d2ca1ef10650185ca2.tar.bz2
scummvm-rg350-1f4feaffb0c6dc49e8a5f4d2ca1ef10650185ca2.zip
TIZEN: updates for tizen 2.2 SDK
Diffstat (limited to 'backends/platform/tizen/form.h')
-rw-r--r--backends/platform/tizen/form.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/backends/platform/tizen/form.h b/backends/platform/tizen/form.h
index 64c447d409..e419c14d24 100644
--- a/backends/platform/tizen/form.h
+++ b/backends/platform/tizen/form.h
@@ -29,6 +29,8 @@
#include <FBase.h>
#include <FUiITouchEventListener.h>
#include <FUiITextEventListener.h>
+#include <FUiCtrlIFormBackEventListener.h>
+#include <FUiCtrlIFormMenuEventListener.h>
#include "config.h"
#include "common/scummsys.h"
@@ -40,6 +42,7 @@
using namespace Tizen::Ui;
using namespace Tizen::Graphics;
using namespace Tizen::Base::Runtime;
+using namespace Tizen::Ui::Controls;
//
// TizenAppForm
@@ -48,7 +51,9 @@ class TizenAppForm :
public Controls::Form,
public IRunnable,
public IOrientationEventListener,
- public ITouchEventListener {
+ public ITouchEventListener,
+ public IFormBackEventListener,
+ public IFormMenuEventListener {
public:
TizenAppForm();
@@ -89,6 +94,8 @@ private:
void OnTouchReleased(const Control &source,
const Point &currentPosition,
const TouchEventInfo &touchInfo);
+ void OnFormBackRequested(Form &source);
+ void OnFormMenuRequested(Form &source);
void pushEvent(Common::EventType type, const Point &currentPosition);
void terminate();