diff options
Diffstat (limited to 'apps/plugins/searchengine/searchengine.h')
-rw-r--r-- | apps/plugins/searchengine/searchengine.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/apps/plugins/searchengine/searchengine.h b/apps/plugins/searchengine/searchengine.h new file mode 100644 index 0000000000..3f7e4c609e --- /dev/null +++ b/apps/plugins/searchengine/searchengine.h | |||
@@ -0,0 +1,37 @@ | |||
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 SEARCHENGINE_H | ||
20 | #define SEARCHENGINE_H | ||
21 | #include <plugin.h> | ||
22 | #include <database.h> | ||
23 | |||
24 | extern int w, h, y; | ||
25 | #define PUTS(str) do { \ | ||
26 | rb->lcd_putsxy(1, y, str); \ | ||
27 | rb->lcd_getstringsize(str, &w, &h); \ | ||
28 | y += h + 1; \ | ||
29 | } while (0); \ | ||
30 | rb->lcd_update() | ||
31 | |||
32 | extern struct plugin_api* rb; | ||
33 | |||
34 | void *my_malloc(size_t size); | ||
35 | void setmallocpos(void *pointer); | ||
36 | |||
37 | #endif | ||