diff Plugins/Engine/SharedLibrary.h @ 887:4066e6f2d134 plugins

PluginsManager
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 14 Jun 2014 19:20:38 +0200
parents 0570a8c859cb
children f57802f8b4dc
line wrap: on
line diff
--- a/Plugins/Engine/SharedLibrary.h	Sat Jun 14 18:50:14 2014 +0200
+++ b/Plugins/Engine/SharedLibrary.h	Sat Jun 14 19:20:38 2014 +0200
@@ -41,6 +41,7 @@
   class SharedLibrary : boost::noncopyable
   {
   private:
+    std::string path_;
     void *handle_;
 
     void* GetFunctionInternal(const std::string& name);
@@ -50,6 +51,11 @@
 
     ~SharedLibrary();
 
+    const std::string& GetPath() const
+    {
+      return path_;
+    }
+
     bool HasFunction(const std::string& name);
 
     void* GetFunction(const std::string& name);