Make findPlugins return plugin name

Required to let users enable them by hand.
This commit is contained in:
TheAssassin
2018-06-19 22:47:01 +02:00
parent 6c6b43a1ce
commit 2a769ac3d9
3 changed files with 21 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
// system includes
#include <set>
#include <map>
#include <string>
// library includes
@@ -66,6 +66,6 @@ namespace linuxdeploy {
/*
* Finds all linuxdeploy plugins in $PATH and the current executable's directory and returns IPlugin instances for them.
*/
std::vector<IPlugin*> findPlugins();
std::map<std::string, IPlugin*> findPlugins();
}
}