diff transform/Transform.h @ 1138:a2dbedc0cfee

Make it possible to report that a transform is of unknown type (e.g. invalid transform id, user mixed up filename and transform id, etc)
author Chris Cannam
date Tue, 03 Nov 2015 11:34:07 +0000
parents 26cf6d5251ec
children d094598f84bd
line wrap: on
line diff
--- a/transform/Transform.h	Tue Sep 01 17:05:32 2015 +0100
+++ b/transform/Transform.h	Tue Nov 03 11:34:07 2015 +0000
@@ -67,7 +67,7 @@
     void setIdentifier(TransformId id);
     TransformId getIdentifier() const;
 
-    enum Type { FeatureExtraction, RealTimeEffect };
+    enum Type { FeatureExtraction, RealTimeEffect, UnknownType };
 
     Type getType() const;
     QString getPluginIdentifier() const;