# generated by 'rake generate'
require 'cocoa/bindings/NSObject'
module Cocoa
  class NSSound < Cocoa::NSObject
    attach_singular_method :canInitWithPasteboard, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
    attach_method :channelMapping, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :currentTime, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :delegate, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :duration, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :initWithContentsOfFile, :args=>2, :names=>[:byReference], :types=>["@", "B"], :retval=>"@"
    attach_method :initWithContentsOfURL, :args=>2, :names=>[:byReference], :types=>["@", "B"], :retval=>"@"
    attach_method :initWithData, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :initWithPasteboard, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :isPlaying, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :loops, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :name, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :pause, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :play, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :playbackDeviceIdentifier, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :resume, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :setChannelMapping, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setCurrentTime, :args=>1, :names=>[], :types=>["d"], :retval=>"v"
    attach_method :setDelegate, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setLoops, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setName, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
    attach_method :setPlaybackDeviceIdentifier, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setVolume, :args=>1, :names=>[], :types=>["f"], :retval=>"v"
    attach_singular_method :soundNamed, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_singular_method :soundUnfilteredFileTypes, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :soundUnfilteredPasteboardTypes, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :soundUnfilteredTypes, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :stop, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :volume, :args=>0, :names=>[], :types=>[], :retval=>"f"
    attach_method :writeToPasteboard, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
  end
end
