~ubuntu-branches/ubuntu/hardy/lmms/hardy

« back to all changes in this revision

Viewing changes to include/level_object.h

  • Committer: Bazaar Package Importer
  • Author(s): Tobias Doerffel
  • Date: 2007-09-17 15:00:24 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070917150024-mo0zk4ks81jawqii
Tags: 0.3.0-1ubuntu1
* Resynchronized with Debian (LP: #139759, LP: #90806, LP: #102639,
  LP: #113447, LP: #121172, LP: #124890)
* reverted changes from 0.2.1-1.1ubuntu1 as upstream merged/included them

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * level_object.h - declaration of class levelObject
3
3
 *
4
 
 * Copyright (c) 2006 Javier Serrano Polo <jasp00/at/users.sourceforge.net>
 
4
 * Copyright (c) 2006-2007 Javier Serrano Polo <jasp00/at/users.sourceforge.net>
5
5
 * 
6
6
 * This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
7
7
 *
17
17
 *
18
18
 * You should have received a copy of the GNU General Public
19
19
 * License along with this program (see COPYING); if not, write to the
20
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21
 
 * Boston, MA 02111-1307, USA.
 
20
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
21
 * Boston, MA 02110-1301 USA.
22
22
 *
23
23
 */
24
24
 
26
26
#ifndef _LEVEL_OBJECT_H
27
27
#define _LEVEL_OBJECT_H
28
28
 
29
 
#include "midi_time.h"
30
 
 
31
29
 
32
30
 
33
31
 
50
48
 
51
49
        virtual void setLevel( int _level ) = 0;
52
50
 
53
 
        virtual QString levelToLabel( int _level ) = 0;
 
51
        virtual QString levelToLabel( int _level ) const = 0;
54
52
        virtual int labelToLevel( QString _label ) = 0;
55
53
 
 
54
        virtual QString displayName( void ) const
 
55
        {
 
56
                return( NULL );
 
57
        }
 
58
 
56
59
 
57
60
protected:
58
61
        int m_minLevel;