summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-06-18 12:50:52 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-06-18 12:50:52 -0400
commiteb2146d6832524865cf78ef72b75d4f9d5ed9217 (patch)
tree5da8d51441127e5e2f487282106cd7995eff6686 /apps/plugin.c
parent57b3d2ffb157e5b2bba8bee02940193c9ea1566f (diff)
downloadrockbox-eb2146d6832524865cf78ef72b75d4f9d5ed9217.tar.gz
rockbox-eb2146d6832524865cf78ef72b75d4f9d5ed9217.zip
plugins: add lang_is_rtl() to the plugin API.
So plugins can put stuff in the correct order, if they care. Change-Id: Iac322bcb8cf78b37d3caef4c8d7b2a14923669f4
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 7934cc1754..7c80e5c6e1 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -47,6 +47,7 @@
47#include "load_code.h" 47#include "load_code.h"
48#include "file.h" 48#include "file.h"
49#include "core_keymap.h" 49#include "core_keymap.h"
50#include "language.h"
50 51
51#if CONFIG_CHARGING 52#if CONFIG_CHARGING
52#include "power.h" 53#include "power.h"
@@ -839,6 +840,7 @@ static const struct plugin_api rockbox_api = {
839 playlist_get_display_index, 840 playlist_get_display_index,
840 filetype_get_plugin, 841 filetype_get_plugin,
841 playlist_entries_iterate, 842 playlist_entries_iterate,
843 lang_is_rtl,
842}; 844};
843 845
844static int plugin_buffer_handle; 846static int plugin_buffer_handle;