# generated by 'rake generate'
require 'cocoa/bindings/NSObject'
module Cocoa
  class NSFontManager < Cocoa::NSObject
    attach_method :action, :args=>0, :names=>[], :types=>[], :retval=>":"
    attach_method :addCollection, :args=>2, :names=>[:options], :types=>["@", "q"], :retval=>"B"
    attach_method :addFontDescriptors, :args=>2, :names=>[:toCollection], :types=>["@", "@"], :retval=>"v"
    attach_method :addFontTrait, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :availableFontFamilies, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :availableFontNamesMatchingFontDescriptor, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :availableFontNamesWithTraits, :args=>1, :names=>[], :types=>["Q"], :retval=>"@"
    attach_method :availableFonts, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :availableMembersOfFontFamily, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :collectionNames, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :convertAttributes, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :convertFont, [{:args=>1, :names=>[], :types=>["@"], :retval=>"@"}, {:args=>2, :names=>[:toFace], :types=>["@", "@"], :retval=>"@"}, {:args=>2, :names=>[:toFamily], :types=>["@", "@"], :retval=>"@"}, {:args=>2, :names=>[:toHaveTrait], :types=>["@", "Q"], :retval=>"@"}, {:args=>2, :names=>[:toNotHaveTrait], :types=>["@", "Q"], :retval=>"@"}, {:args=>2, :names=>[:toSize], :types=>["@", "d"], :retval=>"@"}]
    attach_method :convertFontTraits, :args=>1, :names=>[], :types=>["Q"], :retval=>"Q"
    attach_method :convertWeight, :args=>2, :names=>[:ofFont], :types=>["B", "@"], :retval=>"@"
    attach_method :currentFontAction, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :delegate, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :fontDescriptorsInCollection, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :fontMenu, :args=>1, :names=>[], :types=>["B"], :retval=>"@"
    attach_method :fontNamed, :args=>2, :names=>[:hasTraits], :types=>["@", "Q"], :retval=>"B"
    attach_method :fontPanel, :args=>1, :names=>[], :types=>["B"], :retval=>"@"
    attach_method :fontWithFamily, :args=>4, :names=>[:traits, :weight, :size], :types=>["@", "Q", "q", "d"], :retval=>"@"
    attach_method :isEnabled, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isMultiple, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :localizedNameForFamily, :args=>2, :names=>[:face], :types=>["@", "@"], :retval=>"@"
    attach_method :modifyFont, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :modifyFontViaPanel, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :orderFrontFontPanel, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :orderFrontStylesPanel, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :removeCollection, :args=>1, :names=>[], :types=>["@"], :retval=>"B"
    attach_method :removeFontDescriptor, :args=>2, :names=>[:fromCollection], :types=>["@", "@"], :retval=>"v"
    attach_method :removeFontTrait, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :selectedFont, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :sendAction, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :setAction, :args=>1, :names=>[], :types=>[":"], :retval=>"v"
    attach_method :setDelegate, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setEnabled, :args=>1, :names=>[], :types=>["B"], :retval=>"v"
    attach_singular_method :setFontManagerFactory, :args=>1, :names=>[], :types=>["#"], :retval=>"v"
    attach_method :setFontMenu, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_singular_method :setFontPanelFactory, :args=>1, :names=>[], :types=>["#"], :retval=>"v"
    attach_method :setSelectedAttributes, :args=>2, :names=>[:isMultiple], :types=>["@", "B"], :retval=>"v"
    attach_method :setSelectedFont, :args=>2, :names=>[:isMultiple], :types=>["@", "B"], :retval=>"v"
    attach_method :setTarget, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_singular_method :sharedFontManager, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :target, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :traitsOfFont, :args=>1, :names=>[], :types=>["@"], :retval=>"Q"
    attach_method :weightOfFont, :args=>1, :names=>[], :types=>["@"], :retval=>"q"
  end
end
