ardour
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
libs
ardour
data_type.cc
Go to the documentation of this file.
1
/*
2
Copyright (C) 2006 Paul Davis
3
Author: David Robillard
4
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.
9
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.
14
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.
18
*/
19
20
#include "
ardour/data_type.h
"
21
#include "
i18n.h
"
22
23
const
char
*
24
ARDOUR::DataType::to_i18n_string
()
const
25
{
26
switch
(
_symbol
) {
27
case
AUDIO
:
return
_
(
"audio"
);
28
case
MIDI
:
return
_
(
"MIDI"
);
29
default
:
return
_
(
"unknown"
);
30
}
31
}
ARDOUR::DataType::to_i18n_string
const char * to_i18n_string() const
Definition:
data_type.cc:24
_
#define _(Text)
Definition:
i18n.h:11
data_type.h
i18n.h
ARDOUR::DataType::_symbol
Symbol _symbol
Definition:
data_type.h:118
MIDI
Definition:
ardour.h:41
ARDOUR::DataType::AUDIO
Definition:
data_type.h:50
Generated on Sun May 24 2015 12:15:06 for ardour by
1.8.8