summaryrefslogtreecommitdiff
path: root/apps/plugins/databox/editparser.h
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-05-08 14:41:41 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-05-08 14:41:41 +0000
commitb0e010fc5142acc09b10aa4f6453dd6fbdcb8265 (patch)
tree10e9186fcc373354ff387efbcb29ff941fee5fcb /apps/plugins/databox/editparser.h
parenta559cf2e3949fcc0482b656411ed68c1e79bb245 (diff)
downloadrockbox-b0e010fc5142acc09b10aa4f6453dd6fbdcb8265.tar.gz
rockbox-b0e010fc5142acc09b10aa4f6453dd6fbdcb8265.zip
Databox!
The frontend plugin for the searchengine, creates searchengine files (rsp) Its not pretty, but it works. Only compiling for recorder and iriver for now....since i don't know about players... Also, i'm hoping someone will beautify the interface someday. PS. Editing modes aren't fully operational yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6432 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/databox/editparser.h')
-rw-r--r--apps/plugins/databox/editparser.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/apps/plugins/databox/editparser.h b/apps/plugins/databox/editparser.h
new file mode 100644
index 0000000000..3a26cbca70
--- /dev/null
+++ b/apps/plugins/databox/editparser.h
@@ -0,0 +1,34 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2005 by Michiel van der Kolk
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19extern int acceptedmask;
20
21#define INVALID_STRIP 1
22#define INVALID_MARK 2
23#define INVALID_EXPERT 3
24
25void check_accepted(struct token *tstream, int count);
26void parse_stream(struct token *tstream, int count, int inv_mode);
27int check_tokenstream(struct token *tstream, int inv_mode);
28void parser_accept_rparen(void);
29void parser_accept(int bitmask);
30void parse_checktoken(void);
31void parseCompareNum(void);
32void parseCompareString(void);
33void parseExpr(void);
34void parseMExpr(void);