~ubuntu-branches/ubuntu/utopic/ardour3/utopic

« back to all changes in this revision

Viewing changes to libs/ardour/data_type.cc

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2013-09-21 19:05:02 UTC
  • Revision ID: package-import@ubuntu.com-20130921190502-8gsftrku6jnzhd7v
Tags: upstream-3.4~dfsg
ImportĀ upstreamĀ versionĀ 3.4~dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
}