summaryrefslogtreecommitdiff
path: root/apps/plugins/databox/databox.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2006-12-11 20:21:36 +0000
committerNils Wallménius <nils@rockbox.org>2006-12-11 20:21:36 +0000
commited15e2994d66ce917abfe3ca9996e26b5f5b0e42 (patch)
tree33041bb92c3544277e9c5e8b8e1646d8ce046a13 /apps/plugins/databox/databox.h
parente22649929f693ce9257043885a7bb3d7ad6fd06c (diff)
downloadrockbox-ed15e2994d66ce917abfe3ca9996e26b5f5b0e42.tar.gz
rockbox-ed15e2994d66ce917abfe3ca9996e26b5f5b0e42.zip
1) Delete unused files from old database and old gui files 2) Remove unneccesary includes of the old database header 3) Delete the deprecated databox plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11715 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/databox/databox.h')
-rw-r--r--apps/plugins/databox/databox.h60
1 files changed, 0 insertions, 60 deletions
diff --git a/apps/plugins/databox/databox.h b/apps/plugins/databox/databox.h
deleted file mode 100644
index 49f5891fb9..0000000000
--- a/apps/plugins/databox/databox.h
+++ /dev/null
@@ -1,60 +0,0 @@
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 ****************************************************************************/
19#ifndef DATABOX_H
20#define DATABOX_H
21#include <stdio.h>
22#include <stdlib.h>
23#include <plugin.h>
24#include <database.h>
25
26#include "edittoken.h"
27#include "editparser.h"
28
29extern struct plugin_api* rb;
30
31struct print {
32#ifdef HAVE_LCD_BITMAP
33 struct font *fontfixed;
34 int font_w,font_h;
35#endif
36 int line;
37 int position;
38};
39
40struct editor {
41 struct token *token; /* tokenstream */
42 int currentindex; /* index of the token to change.(+1, 1=0 2=1 3=2 etc.) */
43 int tokencount; /* total amount of tokens */
44 int editingmode; /* defined in databox.h */
45 int valid; /* is the current tokenstream valid ? */
46};
47
48struct editing {
49 int selection_candidates[30]; /* possible options for this selecting */
50 struct token old_token; /* only set when selecting, stores old token */
51 int currentselection; /* current selection index */
52 int selectionmax;
53 int selecting; /* boolean */
54};
55
56extern struct print printing;
57extern struct editor editor;
58extern struct editing editing;
59
60#endif