]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface.h
Bug smashed like a boss
[cpPlugins.git] / lib / cpPlugins / Interface.h
index 0a31e63eb6e810ab408063e76398054628fe2c0f..4c7d5e65e56142a172d24daa64500542412568e6 100644 (file)
@@ -47,7 +47,9 @@ namespace cpPlugins
     std::set< std::string > GetPlugins( ) const;
 
   protected:
-    static void* _DLOpen( const std::string& fname );
+    template< class _TList >
+      inline void _AddInstancesLib( _TList& libs, const std::string& path );
+    static void* _DLOpen( const std::string& fname, std::string& error );
     static const char* _DLGetName( void* hnd );
     static TFilters _DLGetFilters( void* hnd );
     static TCreator _DLGetCreator(
@@ -60,6 +62,8 @@ namespace cpPlugins
     TDynLibraries m_DynLibraries;
     TDynFilters   m_DynFilters;
     TFilters      m_Filters;
+
+    static unsigned int InterfacesCount;
   };
 
 } // ecapseman