diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-01 14:36:16 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-01 14:36:16 +0000 |
commit | d7f3d1c8ec502f8e89f7f6fe8fb185ea15715928 (patch) | |
tree | 593c7bc791fb71a32187eb6fec4a03e3b921e1a9 /apps/plugin.h | |
parent | d94f32883854c070780c837068500e2ec5f408ff (diff) | |
download | rockbox-d7f3d1c8ec502f8e89f7f6fe8fb185ea15715928.tar.gz rockbox-d7f3d1c8ec502f8e89f7f6fe8fb185ea15715928.zip |
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.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index f2e86218ea..840d495421 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -69,7 +69,7 @@ | |||
69 | #endif | 69 | #endif |
70 | 70 | ||
71 | /* increase this every time the api struct changes */ | 71 | /* increase this every time the api struct changes */ |
72 | #define PLUGIN_API_VERSION 32 | 72 | #define PLUGIN_API_VERSION 33 |
73 | 73 | ||
74 | /* update this to latest version if a change to the api struct breaks | 74 | /* update this to latest version if a change to the api struct breaks |
75 | backwards compatibility (and please take the opportunity to sort in any | 75 | backwards compatibility (and please take the opportunity to sort in any |
@@ -307,6 +307,9 @@ struct plugin_api { | |||
307 | 307 | ||
308 | /* new stuff at the end, sort into place next time | 308 | /* new stuff at the end, sort into place next time |
309 | the API gets incompatible */ | 309 | the API gets incompatible */ |
310 | #ifndef SIMULATOR | ||
311 | long *cpu_frequency; | ||
312 | #endif | ||
310 | }; | 313 | }; |
311 | 314 | ||
312 | /* defined by the plugin loader (plugin.c) */ | 315 | /* defined by the plugin loader (plugin.c) */ |