mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-04-29 04:42:23 -05:00
Implement standard mechanism to find plugins on the system
First searches in current directory, then searches directories in $PATH.
This commit is contained in:
@@ -62,5 +62,10 @@ namespace linuxdeploy {
|
||||
* This function automatically selects the correct subclass implementing the right API level, and
|
||||
*/
|
||||
IPlugin* createPluginInstance(const boost::filesystem::path& path);
|
||||
|
||||
/*
|
||||
* Finds all linuxdeploy plugins in $PATH and the current executable's directory and returns IPlugin instances for them.
|
||||
*/
|
||||
std::vector<IPlugin*> findPlugins();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user