diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 89b8782cc7..a487f64168 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -7,7 +7,7 @@ | |||
7 | * \/ \/ \/ \/ \/ | 7 | * \/ \/ \/ \/ \/ |
8 | * $Id$ | 8 | * $Id$ |
9 | * | 9 | * |
10 | * Copyright (C) 2002 Bj๖rn Stenberg | 10 | * Copyright (C) 2002 Bjรถrn Stenberg |
11 | * | 11 | * |
12 | * This program is free software; you can redistribute it and/or | 12 | * This program is free software; you can redistribute it and/or |
13 | * modify it under the terms of the GNU General Public License | 13 | * modify it under the terms of the GNU General Public License |
@@ -112,6 +112,7 @@ int plugin_open(const char *plugin, const char *parameter); | |||
112 | #include "core_alloc.h" | 112 | #include "core_alloc.h" |
113 | #include "screen_access.h" | 113 | #include "screen_access.h" |
114 | #include "onplay.h" | 114 | #include "onplay.h" |
115 | #include "screens.h" | ||
115 | 116 | ||
116 | #ifdef HAVE_ALBUMART | 117 | #ifdef HAVE_ALBUMART |
117 | #include "albumart.h" | 118 | #include "albumart.h" |
@@ -156,7 +157,7 @@ int plugin_open(const char *plugin, const char *parameter); | |||
156 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 157 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
157 | 158 | ||
158 | /* increase this every time the api struct changes */ | 159 | /* increase this every time the api struct changes */ |
159 | #define PLUGIN_API_VERSION 250 | 160 | #define PLUGIN_API_VERSION 251 |
160 | 161 | ||
161 | /* update this to latest version if a change to the api struct breaks | 162 | /* update this to latest version if a change to the api struct breaks |
162 | backwards compatibility (and please take the opportunity to sort in any | 163 | backwards compatibility (and please take the opportunity to sort in any |
@@ -942,6 +943,8 @@ struct plugin_api { | |||
942 | #endif | 943 | #endif |
943 | void (*sys_poweroff)(void); | 944 | void (*sys_poweroff)(void); |
944 | void (*sys_reboot)(void); | 945 | void (*sys_reboot)(void); |
946 | bool (*browse_id3)(struct mp3entry *id3, | ||
947 | int playlist_display_index, int playlist_amount); | ||
945 | }; | 948 | }; |
946 | 949 | ||
947 | /* plugin header */ | 950 | /* plugin header */ |