aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/iphone_common.h
diff options
context:
space:
mode:
authorOystein Eftevaag2007-11-25 09:37:15 +0000
committerOystein Eftevaag2007-11-25 09:37:15 +0000
commitece4ee33604d90a0e24e3cbabeaaa52745de6878 (patch)
tree8cc6d3ce68cec5b192ac41c3b394a528596ca85b /backends/platform/iphone/iphone_common.h
parent28e0985061e96cc96f8fb08faaa1437db09df673 (diff)
downloadscummvm-rg350-ece4ee33604d90a0e24e3cbabeaaa52745de6878.tar.gz
scummvm-rg350-ece4ee33604d90a0e24e3cbabeaaa52745de6878.tar.bz2
scummvm-rg350-ece4ee33604d90a0e24e3cbabeaaa52745de6878.zip
Suspend ScummVM when the button is hit (or a call is received), putting it in a sleep loop until it's resumed
svn-id: r29633
Diffstat (limited to 'backends/platform/iphone/iphone_common.h')
-rw-r--r--backends/platform/iphone/iphone_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/iphone/iphone_common.h b/backends/platform/iphone/iphone_common.h
index fec25940a2..3240182354 100644
--- a/backends/platform/iphone/iphone_common.h
+++ b/backends/platform/iphone/iphone_common.h
@@ -30,7 +30,9 @@ enum InputEvent {
kInputMouseDragged,
kInputMouseSecondToggled,
kInputOrientationChanged,
- kInputKeyPressed
+ kInputKeyPressed,
+ kInputApplicationSuspended,
+ kInputApplicationResumed
};
// We need this to be able to call functions from/in Objective-C.