summaryrefslogtreecommitdiff
path: root/apps/plugins/searchengine/searchengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/searchengine/searchengine.h')
-rw-r--r--apps/plugins/searchengine/searchengine.h37
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
24extern 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); \
30rb->lcd_update()
31
32extern struct plugin_api* rb;
33
34void *my_malloc(size_t size);
35void setmallocpos(void *pointer);
36
37#endif