new record-step-edit icon for track/bus list
[ardour2.git] / libs / ardour / data_type.cc
blob4a43009faf259cfe8f19e8b88ffa832165752a93
1 /*
2 Copyright (C) 2006 Paul Davis
3 Author: David Robillard
5 This program is free software; you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by the Free
7 Software Foundation; either version 2 of the License, or (at your option)
8 any later version.
10 This program is distributed in the hope that it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 for more details.
15 You should have received a copy of the GNU General Public License along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 675 Mass Ave, Cambridge, MA 02139, USA.
20 #include "ardour/data_type.h"
21 #include "i18n.h"
23 const char *
24 ARDOUR::DataType::to_i18n_string () const
26 switch (_symbol) {
27 case AUDIO: return _("audio");
28 case MIDI: return _("MIDI");
29 default: return _("unknown");