summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-03-01 14:36:16 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-03-01 14:36:16 +0000
commitd7f3d1c8ec502f8e89f7f6fe8fb185ea15715928 (patch)
tree593c7bc791fb71a32187eb6fec4a03e3b921e1a9 /apps/plugin.h
parentd94f32883854c070780c837068500e2ec5f408ff (diff)
downloadrockbox-d7f3d1c8ec502f8e89f7f6fe8fb185ea15715928.zip
rockbox-d7f3d1c8ec502f8e89f7f6fe8fb185ea15715928.tar.gz
rockbox-d7f3d1c8ec502f8e89f7f6fe8fb185ea15715928.tar.bz2
rockbox-d7f3d1c8ec502f8e89f7f6fe8fb185ea15715928.tar.xz
Added cpu_frequency to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6094 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index f2e8621..840d495 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -69,7 +69,7 @@
#endif
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 32
+#define PLUGIN_API_VERSION 33
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -307,6 +307,9 @@ struct plugin_api {
/* new stuff at the end, sort into place next time
the API gets incompatible */
+#ifndef SIMULATOR
+ long *cpu_frequency;
+#endif
};
/* defined by the plugin loader (plugin.c) */