Update of /cvsroot/audacity/audacity-src/src/effects/nyquist
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv23541

Modified Files:
        Nyquist.h 
Log Message:
Fix localization problems with command chains

Index: Nyquist.h
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/effects/nyquist/Nyquist.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Nyquist.h   28 Mar 2006 00:11:22 -0000      1.8
+++ Nyquist.h   15 Apr 2007 02:23:47 -0000      1.9
@@ -20,6 +20,7 @@
 #include <wx/slider.h>
 #include <wx/stattext.h>
 #include <wx/textctrl.h>
+#include <wx/tokenzr.h>
 
 #include "../Effect.h"
 
@@ -61,6 +62,20 @@
       return mName;
    }
    
+   virtual wxString GetEffectIdentifier() {
+      wxStringTokenizer st(mName, wxT(" "));
+      wxString id;
+
+      // CamelCase the name
+      while (st.HasMoreTokens()) {
+         wxString tok = st.GetNextToken();
+
+         id += tok.Left(1).MakeUpper() + tok.Mid(1);
+      }
+
+      return id;
+   }
+   
    virtual wxString GetEffectAction() {
       return mAction;
    }


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to