diff widgets/PluginPathConfigurator.h @ 1296:34b941921ac8 plugin-path-config

Use type keys as indices rather than labels
author Chris Cannam
date Fri, 08 Jun 2018 14:31:47 +0100
parents 6dd15b5c14f9
children
line wrap: on
line diff
--- a/widgets/PluginPathConfigurator.h	Wed Jun 06 15:55:49 2018 +0100
+++ b/widgets/PluginPathConfigurator.h	Fri Jun 08 14:31:47 2018 +0100
@@ -70,7 +70,10 @@
     PluginPathSetter::Paths m_defaultPaths;
     
     void populate();
-    void populateFor(QString type, int makeCurrent);
+    void populateFor(PluginPathSetter::TypeKey, int makeCurrent);
+
+    QString getLabelFor(PluginPathSetter::TypeKey);
+    PluginPathSetter::TypeKey getKeyForLabel(QString label);
 };
 
 #endif