~ubuntu-branches/ubuntu/oneiric/tuxguitar/oneiric

« back to all changes in this revision

Viewing changes to TuxGuitar/src/org/herac/tuxguitar/player/base/MidiPort.java

  • Committer: Bazaar Package Importer
  • Author(s): Philippe Coval
  • Date: 2008-06-19 00:30:30 UTC
  • mto: (5.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20080619003030-h719szrhsngou7c6
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.herac.tuxguitar.player.base;
 
2
 
 
3
public abstract class MidiPort {
 
4
        private String key;
 
5
        private String name;
 
6
        
 
7
        public MidiPort(String key,String name){
 
8
                this.key = key;
 
9
                this.name = name;
 
10
        }
 
11
        
 
12
        public String getKey() {
 
13
                return this.key;
 
14
        }
 
15
        
 
16
        public String getName() {
 
17
                return this.name;
 
18
        }
 
19
        
 
20
        public abstract void open() throws MidiPlayerException;
 
21
        
 
22
        public abstract void close() throws MidiPlayerException;
 
23
        
 
24
        public abstract void check() throws MidiPlayerException;
 
25
        
 
26
        public abstract MidiOut out() throws MidiPlayerException;
 
27
        
 
28
}