diff plugin/RealTimePluginFactory.h @ 1527:710e6250a401 zoom

Merge from default branch
author Chris Cannam
date Mon, 17 Sep 2018 13:51:14 +0100
parents 91bb68146dfc
children ad5f892c0c4d
line wrap: on
line diff
--- a/plugin/RealTimePluginFactory.h	Mon Dec 12 15:18:52 2016 +0000
+++ b/plugin/RealTimePluginFactory.h	Mon Sep 17 13:51:14 2018 +0100
@@ -86,17 +86,25 @@
      * Instantiate a plugin.
      */
     virtual RealTimePluginInstance *instantiatePlugin(QString identifier,
-						      int clientId,
-						      int position,
-						      sv_samplerate_t sampleRate,
-						      int blockSize,
-						      int channels) = 0;
+                                                      int clientId,
+                                                      int position,
+                                                      sv_samplerate_t sampleRate,
+                                                      int blockSize,
+                                                      int channels) = 0;
 
     /**
      * Get category metadata about a plugin (without instantiating it).
      */
     virtual QString getPluginCategory(QString identifier) = 0;
 
+    /**
+     * Get the full file path (including both directory and filename)
+     * of the library file that provides a given plugin
+     * identifier. Note getPluginIdentifiers() must have been called
+     * before this has access to the necessary information.
+     */
+    virtual QString getPluginLibraryPath(QString identifier) = 0;
+    
 protected:
     RealTimePluginFactory() { }