Update of /cvsroot/jsynthlib/JSynthLib/core
In directory sc8-pr-cvs1:/tmp/cvs-serv1821
Modified Files:
DoNothingMidiWrapper.java
Log Message:
Forgot to include the isSupported method to the DoNothingMidiWrapper
Index: DoNothingMidiWrapper.java
===================================================================
RCS file: /cvsroot/jsynthlib/JSynthLib/core/DoNothingMidiWrapper.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** DoNothingMidiWrapper.java 9 May 2002 00:49:17 -0000 1.3
--- DoNothingMidiWrapper.java 18 Aug 2003 17:05:24 -0000 1.4
***************
*** 17,19 ****
--- 17,33 ----
public int messagesWaiting(int port)throws Exception{return 0;}
public int readMessage(int port,byte []sysex,int maxSize)throws Exception{return 0;}
+
+ /** This method should return true, if this wrapper is
+ * supported on the actual platform (a wrapper for
+ * MacOSX should return true only on Mac's with OSX
+ * etc.)
+ * @return true, if wrapper is supported, false if wrapper is not supported at this
+ * platform.
+ *
+ */
+ public boolean isSupported() throws Exception {
+ // Yep, that's the real implementation.....
+ return true;
+ }
+
}
|