From 3e67e3b1f06488f67d2ebbf844ff40893cc16bf0 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 20 Feb 2009 17:13:08 +0000 Subject: Add a rockbox kernel thread for simulator specific tasks, and use that for calling the screendump function(s). Fixes screendump in simulators for backlight-less targets (Ondio), and reduces mixing of unrelated functionality a bit (screendump was called from backlight thread, triggered by a sim-only system wide event). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20065 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/common/sim_tasks.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 uisimulator/common/sim_tasks.h (limited to 'uisimulator/common/sim_tasks.h') diff --git a/uisimulator/common/sim_tasks.h b/uisimulator/common/sim_tasks.h new file mode 100644 index 0000000000..fe42deeb97 --- /dev/null +++ b/uisimulator/common/sim_tasks.h @@ -0,0 +1,25 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2009 by Jens Arnold + * + * Rockbox simulator specific tasks + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +void sim_tasks_init(void); +void sim_trigger_screendump(void); -- cgit v1.2.3