- plugins: cleanup

* drop PLUGINDIR_USB
* drop unused 'param' from startPlugin
This commit is contained in:
svenhoefer
2014-03-02 00:43:59 +01:00
parent 580fcc97e5
commit 4b5242c254
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;