plugins: cleanup

* drop PLUGINDIR_USB
* drop unused 'param' from startPlugin


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4b5242c254
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-03-02 (Sun, 02 Mar 2014)

Origin message was:
------------------
- plugins: cleanup

* drop PLUGINDIR_USB
* drop unused 'param' from startPlugin


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2014-03-02 00:43:59 +01:00
parent ea1379e04a
commit de9d9c0e5d
6 changed files with 20 additions and 246 deletions

View File

@@ -123,13 +123,13 @@ class CPlugins
inline int getIndex (const int number) const { return plugin_list[number].index ; }
inline neutrino_msg_t getKey (const int number) const { return (neutrino_msg_t)plugin_list[number].key; }
void startPlugin(int number,int param);
void start_plugin_by_name(const std::string & filename,int param);// start plugins by "name=" in .cfg
void startPlugin(int number); // start plugins by number
void startPlugin(const char * const filename); // start plugins by filename
void startPlugin_by_name(const std::string & name); // start plugins by "name=" in .cfg
void startScriptPlugin(int number);
#if ENABLE_LUA
void startLuaPlugin(int number);
#endif
void startPlugin(const char * const filename); // start plugins also by name
bool hasPlugin(CPlugins::p_type_t type);
const std::string& getScriptOutput() const;