summaryrefslogtreecommitdiffstats
path: root/tools/checkwps/checkwps.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-07-06 13:23:28 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-07-06 13:23:28 +0000
commitd035f255c95d69c342d3ecbcf4cc88c1f1c01af2 (patch)
treeb12499b9c893086b12c03684986ee80a1abc1472 /tools/checkwps/checkwps.h
parentfeeac4f15fdd6e680522b172f7217ab0a98ad0f7 (diff)
downloadrockbox-d035f255c95d69c342d3ecbcf4cc88c1f1c01af2.tar.gz
rockbox-d035f255c95d69c342d3ecbcf4cc88c1f1c01af2.tar.bz2
rockbox-d035f255c95d69c342d3ecbcf4cc88c1f1c01af2.zip
get checkwps building again (FS#9150) - still doesnt compile on d2 and mr500 though
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17957 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/checkwps/checkwps.h')
-rw-r--r--tools/checkwps/checkwps.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/tools/checkwps/checkwps.h b/tools/checkwps/checkwps.h
new file mode 100644
index 0000000000..fa3b425500
--- /dev/null
+++ b/tools/checkwps/checkwps.h
@@ -0,0 +1,42 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2008 by Jonathan Gordon
+ *
+ * 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 _CHECKWPS_H_
+#define _CHECKWPS_H_
+#include <stdio.h>
+#include <stdlib.h>
+#include <fcntl.h>
+
+/* subset of global_settings needed to build checkwps. */
+struct user_settings {
+ bool statusbar;
+#ifdef HAVE_LCD_COLOR
+ int bg_color; /* background color native format */
+ int fg_color; /* foreground color native format */
+#endif
+};
+
+extern struct user_settings global_settings;
+
+
+
+
+#endif