Use PBD string conversion functions in PBD::ConfigurationVariable
[ardour.git] / libs / ardour / vca.cc
index abc74fbdc6b06985acbc66ff4f877dc573b5f1fa..e3476c5d082b16ed0916d72e5afe6518a6656d2d 100644 (file)
@@ -27,7 +27,7 @@
 #include "ardour/session.h"
 #include "ardour/vca.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace ARDOUR;
 using namespace PBD;
@@ -67,7 +67,7 @@ VCA::get_next_vca_number ()
        return next_number;
 }
 
-VCA::VCA (Session& s,  int32_t num, const string& name)
+VCA::VCA (Session& s, int32_t num, const string& name)
        : Stripable (s, name, PresentationInfo (num, PresentationInfo::VCA))
        , Muteable (s, name)
        , Automatable (s)
@@ -103,6 +103,13 @@ VCA::~VCA ()
        }
 }
 
+string
+VCA::full_name() const
+{
+       /* name() is never empty - default is VCA %n */
+       return string_compose (_("VCA %1 : %2"), _number, name());
+}
+
 XMLNode&
 VCA::get_state ()
 {