upgrade SDL to version 2.0.8
[platform/upstream/SDL.git] / include / SDL_events.h
index 3d39e6a..e1f3458 100755 (executable)
@@ -84,10 +84,25 @@ typedef enum
                                      Called on iOS in applicationDidBecomeActive()
                                      Called on Android in onResume()
                                 */
+    SDL_APP_CONTROL,           /**< The application is launching with some arguments.
+                                     Called on Tizen in _tizen_sdl_control().
+                                */
+    SDL_APP_LOWBATTERY,        /**< The application is low on battery, reduce power consumption if possible.
+                                     Called on Tizen in _tizen_app_low_battery().
+                                */
+    SDL_APP_LANGUAGE_CHANGED,  /**< The application receives this event, when displayed language is changed by system.
+                                     Called on Tizen in _tizen_app_lang_changed().
+                                */
+    SDL_APP_REGION_CHANGED,    /**< The application will receive this event, when displayed language is changed by system.
+                                     Called on Tizen in _tizen_app_region_changed().
+                                */
 
     /* Window events */
     SDL_WINDOWEVENT    = 0x200, /**< Window state change */
     SDL_SYSWMEVENT,             /**< System specific event */
+    SDL_ROTATEEVENT,            /**< Orientation change
+                                  Called on Tizen in _tizen_app_orient_changed().
+                                 */
 
     /* Keyboard events */
     SDL_KEYDOWN        = 0x300, /**< Key pressed */