From adacb33bf4eadcd49a744177bf3f059e7b2f2f52 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 22 Feb 2010 21:24:34 +0000 Subject: Merge with upstream r2. git-svn-id: http://svn.drobilla.net/lad/trunk/mda-lv2@2471 a436a847-0d15-0410-975c-d299462d15a1 --- src/mdaBandisto.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/mdaBandisto.cpp') diff --git a/src/mdaBandisto.cpp b/src/mdaBandisto.cpp index c4e4cee..87a1f92 100644 --- a/src/mdaBandisto.cpp +++ b/src/mdaBandisto.cpp @@ -82,6 +82,16 @@ void mdaBandisto::getProgramName(char *name) strcpy(name, programName); } +bool mdaBandisto::getProgramNameIndexed (LvzInt32 category, LvzInt32 index, char* name) +{ + if (index == 0) + { + strcpy(name, programName); + return true; + } + return false; +} + void mdaBandisto::setParameter(LvzInt32 index, float value) { switch(index) -- cgit v1.2.1