diff vamp/vamp.h @ 49:aa64a46320d4

* Rename "name" and "description" to "identifier" and "name"; add new "description" that actually contains a description
author cannam
date Mon, 26 Feb 2007 18:08:48 +0000
parents be8fdfe25693
children b907557b2fb9
line wrap: on
line diff
--- a/vamp/vamp.h	Thu Jan 25 13:39:31 2007 +0000
+++ b/vamp/vamp.h	Mon Feb 26 18:08:48 2007 +0000
@@ -68,9 +68,12 @@
 typedef struct _VampParameterDescriptor
 {
     /** Computer-usable name of the parameter. Must not change. [a-zA-Z0-9_] */
+    const char *identifier;
+
+    /** Human-readable name of the parameter. May be translatable. */
     const char *name;
 
-    /** Human-readable name of the parameter. May be translatable. */
+    /** Human-readable short text about the parameter.  May be translatable. */
     const char *description;
 
     /** Human-readable unit of the parameter. */
@@ -112,9 +115,12 @@
 typedef struct _VampOutputDescriptor
 {
     /** Computer-usable name of the output. Must not change. [a-zA-Z0-9_] */
+    const char *identifier;
+
+    /** Human-readable name of the output. May be translatable. */
     const char *name;
 
-    /** Human-readable name of the output. May be translatable. */
+    /** Human-readable short text about the output. May be translatable. */
     const char *description;
 
     /** Human-readable name of the unit of the output. */
@@ -197,9 +203,12 @@
 typedef struct _VampPluginDescriptor
 {
     /** Computer-usable name of the plugin. Must not change. [a-zA-Z0-9_] */
+    const char *identifier;
+
+    /** Human-readable name of the plugin. May be translatable. */
     const char *name;
 
-    /** Human-readable name of the plugin. May be translatable. */
+    /** Human-readable short text about the plugin. May be translatable. */
     const char *description;
 
     /** Human-readable name of plugin's author or vendor. */