# generated by 'rake generate'
require 'cocoa/bindings/NSPanel'
module Cocoa
  class NSSavePanel < Cocoa::NSPanel
    attach_method :URL, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :accessoryView, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :allowedFileTypes, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :allowsOtherFileTypes, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :beginSheetForDirectory, :args=>6, :names=>[:file, :modalForWindow, :modalDelegate, :didEndSelector, :contextInfo], :types=>["@", "@", "@", "@", ":", "^v"], :retval=>"v"
    attach_method :beginSheetModalForWindow, :args=>2, :names=>[:completionHandler], :types=>["@", "@?"], :retval=>"v"
    attach_method :beginWithCompletionHandler, :args=>1, :names=>[], :types=>["@?"], :retval=>"v"
    attach_method :canCreateDirectories, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :canSelectHiddenExtension, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :cancel, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :delegate, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :directory, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :directoryURL, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :filename, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :isExpanded, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isExtensionHidden, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :message, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :nameFieldLabel, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :nameFieldStringValue, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :ok, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :prompt, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :requiredFileType, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :runModal, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :runModalForDirectory, :args=>2, :names=>[:file], :types=>["@", "@"], :retval=>"q"
    attach_singular_method :savePanel, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :selectText, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setAccessoryView, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setAllowedFileTypes, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setAllowsOtherFileTypes, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setCanCreateDirectories, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setCanSelectHiddenExtension, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setDelegate, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setDirectory, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setDirectoryURL, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setExtensionHidden, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setMessage, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setNameFieldLabel, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setNameFieldStringValue, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setPrompt, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setRequiredFileType, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setShowsHiddenFiles, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :setTitle, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setTreatsFilePackagesAsDirectories, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_method :showsHiddenFiles, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :title, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :treatsFilePackagesAsDirectories, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :validateVisibleColumns, :args=>0, :names=>[], :types=>[], :retval=>"v"
  end
end
