summaryrefslogtreecommitdiff
path: root/apps/plugins/databox/databox.h
diff options
context:
space:
mode:
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