summaryrefslogtreecommitdiffstats
path: root/apps/gui/gwps-common.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-07-27 07:21:05 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-07-27 07:21:05 +0000
commit5e5fc64cb2e74024e15cb33eab6b832610c2a60b (patch)
tree915ce63e39060b2f7223d60d730ce8f8fa2cf67f /apps/gui/gwps-common.h
parent4e16015427287381e4ef826a61118408c96658f0 (diff)
downloadrockbox-5e5fc64cb2e74024e15cb33eab6b832610c2a60b.tar.gz
rockbox-5e5fc64cb2e74024e15cb33eab6b832610c2a60b.zip
Start of some apps/ and wps cleanup work... Move everything related to the actual drawing of the wps into apps/gui/wps_engine, things related to the actual screen are in apps/gui/music_screen.c (names are temporary unless noone comes up with anything better)
No real code changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22062 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/gwps-common.h')
-rw-r--r--apps/gui/gwps-common.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/apps/gui/gwps-common.h b/apps/gui/gwps-common.h
deleted file mode 100644
index 0d196b28e4..0000000000
--- a/apps/gui/gwps-common.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/***************************************************************************
- * __________ __ ___.
- * Open \______ \ ____ ____ | | _\_ |__ _______ ___
- * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
- * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
- * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
- * \/ \/ \/ \/ \/
- * $Id$
- *
- * Copyright (C) 2002 Björn Stenberg
- *
- * 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.
- *
- ****************************************************************************/
-#ifndef _GWPS_COMMON_
-#define _GWPS_COMMON_
-#include <stdbool.h>
-#include <sys/types.h> /* for size_t */
-
-#include "gwps.h"
-
-/* fades the volume, e.g. on pause or stop */
-void fade(bool fade_in, bool updatewps);
-
-/* Initially display the wps, can fall back to the built-in wps
- * if the chosen wps is invalid.
- *
- * Return true on success, otherwise false */
-bool gui_wps_display(struct gui_wps *gui_wps);
-
-/* return true if screen restore is needed
- return false otherwise */
-bool update_onvol_change(struct gui_wps * gwps);
-
-/* Update track info related stuff, handle cue sheets as well, and redraw */
-bool gui_wps_update(struct gui_wps *gwps);
-
-bool ffwd_rew(int button);
-void display_keylock_text(bool locked);
-
-/* Refresh the WPS according to refresh_mode.
- *
- * Return true on success, otherwise false */
-bool gui_wps_redraw(struct gui_wps *gwps,
- int ffwd_offset,
- unsigned refresh_mode);
-#endif