_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
maemo.cpp - Maemo platform code. | |
| static osso_context_t * | osso = NULL |
| static SDL_TimerID | timer = NULL |
| static Uint32 | OssoKeepBacklightAlive (Uint32 interval, void *) |
| static void | OssoInitialize (void) |
| static void | OssoDeinitialize (void) |
| void | maemo_init (void) |
| void maemo_init | ( | void | ) |
Main function which initialize Maemo platform code
|
static |
Deinitialize OSSO context and remove registred SDL timer
|
static |
Initialize OSSO context, needed for calling OSSO functions. Create SDL timer for calling OssoKeepBacklightAlive every 50s.
|
static |
Callback function for SDL_AddTimer. Tell OSSO to keep display on and prevent suspending device for 60s.
|
static |
|
static |
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.