lib/sgl/opengl-modules.rb in sgl-0.4.0 vs lib/sgl/opengl-modules.rb in sgl-1.0.0
- old
+ new
@@ -1,22 +1,22 @@
-# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved.
-# License: Ruby License
-
-module SGL
- # module control
- def useMidi() $__a__.useMidi; end
- def useMidiIn(*a) $__a__.useMidiIn(*a) end
-
- class Application
- def useMidi
- require "sgl/sgl-midi"
- $__midi__ = SGLMidi.new
- end
-
- def useMidiIn(num = -1)
- require "sgl/sgl-midiin"
- printMidiDeviceNames
- openMidiIn(num)
- startMidiInThread
- end
- end
-end
+# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved.
+# License: Ruby License
+
+module SGL
+ # module control
+ def useMidi() $__a__.useMidi; end
+ def useMidiIn(*a) $__a__.useMidiIn(*a) end
+
+ class Application
+ def useMidi
+ require "sgl/sgl-midi"
+ $__midi__ = SGLMidi.new
+ end
+
+ def useMidiIn(num = -1)
+ require "sgl/sgl-midiin"
+ printMidiDeviceNames
+ openMidiIn(num)
+ startMidiInThread
+ end
+ end
+end