Simplify touchscreen scrollbar handling code
[Rockbox.git] / apps / language.h
blob0203b15796084c9407cd391b993e3e72570284b8
1 #ifndef __LANGUAGE_H
2 #define __LANGUAGE_H
3 /***************************************************************************
4 * __________ __ ___.
5 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
6 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
7 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
8 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * \/ \/ \/ \/ \/
10 * $Id$
12 * Copyright (C) 2002, 2008 Daniel Stenberg
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
19 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20 * KIND, either express or implied.
22 ****************************************************************************/
24 /* The following header is generated by the build system and only defines
25 MAX_LANGUAGE_SIZE to be the size of the largest currently available
26 language! */
27 #include "max_language_size.h"
29 /* both these must match the two initial bytes in the binary lang file */
30 #define LANGUAGE_COOKIE 0x1a
31 #define LANGUAGE_VERSION 0x04
33 /* Initialize language array with the builtin strings */
34 void lang_init(void);
36 /* load a given language file */
37 int lang_load(const char *filename);
39 #endif