Mac OSX Build and Run!

OSX上でのプログラミングの初歩について、情報共有ができればと思います。

スポンサーサイト

上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。

Cocoa Note :ホスト名を得る。

既に以下のパラメータ指定を行い、データを取得しました。
NSDictionary *environment;
NSArray *arguments;

それでは実践問題として以下のパラメータ指定を行い、データを取得してみて下さい。
NSString *hostName;
NSString *name;

先のサンプルを比較すれば簡単にできることと思います。
ここまで来ればprintf(" %*");ではなく、NSLog(@" %@");が必要になることがご理解頂けたかと思います。
また、なんとなくですがObject-Cの形式が意味不明から一歩進み、いいかもに印象が変わったかも知れませんね。

言い忘れてましたが、以下はペアーで使用します。これがないと、メモリーリークを生じてしまい、正しい結果が得られなくなりますので注意して下さい。
NSAutoreleasePool *ap = [ [ NSAutoreleasePool alloc ] init ];
//ここにCocoa Noteのサンプルを書いて下さい。
[ ap release ];

Cocoa Noteには色々なサンプルがありますので、トライ&エラーでチャレンジしてみて下さい。それでは~♪
スポンサーサイト

Cocoa Note 8. 起動パラメータを取得する P15 environment

//以下の様にして動作試験を行います。
//本ブログではソースコードに文字化けや欠落がありますので注意して下さい。
//尚、動作保証はありませんので、使用者が自己のリスクを負う場合のみ御試して頂けます。

//NSDictionary* myenvironment = [ [ NSProcessInfo processInfo ] environment ];


#import [Cocoa/Cocoa.h]

int main(int argc, char *argv[])
{

NSAutoreleasePool *ap = [ [ NSAutoreleasePool alloc ] init ];


//起動パラメタenvironmentを取得する。
NSDictionary* myenvironment = [ [ NSProcessInfo processInfo ] environment ];
NSLog(@"******* myenvironment ********* = %@?n",myenvironment);

[ ap release ];

return NSApplicationMain(argc, (const char **) argv);
}


/*
指定可能なパラメターは以下の通りです。
@class NSArray, NSString, NSDictionary;

@interface NSProcessInfo : NSObject {
@private
NSDictionary *environment;
NSArray *arguments;
NSString *hostName;
NSString *name;
void *reserved;
}
*/

//鶴園さんのCocoa Noteより引用させて頂きました。 【“Cocoa Note 8. 起動パラメータを取得する P15 environment”の続きを読む】

Cocoa Note 8. 起動パラメータを取得する P15 arguments

//以下の様にして動作試験を行います。
//本ブログではソースコードに文字化けや欠落がありますので注意して下さい。
//尚、動作保証はありませんので、使用者が自己のリスクを負う場合のみ御試して頂けます。

//NSArray* args = [ [ NSProcessInfo processInfo ] arguments ];



#import [Cocoa/Cocoa.h]

int main(int argc, char *argv[])
{

NSAutoreleasePool *ap = [ [ NSAutoreleasePool alloc ] init ];


//起動パラメタを取得する。
NSArray* myargs = [ [ NSProcessInfo processInfo ] arguments ];
NSLog(@"******* myargs ********* = %@?n",myargs);

[ ap release ];

return NSApplicationMain(argc, (const char **) argv);
}


/*
指定可能なパラメターは以下の通りです。
@class NSArray, NSString, NSDictionary;

@interface NSProcessInfo : NSObject {
@private
NSDictionary *environment;
NSArray *arguments;
NSString *hostName;
NSString *name;
void *reserved;
}
*/

//鶴園さんのCocoa Noteより引用させて頂きました。
【“Cocoa Note 8. 起動パラメータを取得する P15 arguments”の続きを読む】

鶴園さんのココアはヤッパリ!No.3

もう一つの前置きです。
OSXではCarbonとCocoaの2種類のフレームワークで開発が可能ですが、Cocoaでは特にカーボンと指定しなくてもカーボン用の関数も使えます。
と言うことで、Carbonの知識があると探し物をしなくても済むこともあります。今後のことを考えれば、類似の機能があるならCocoaを使うべきだと思います。

CarbonはMac OS時代からある関数群と言った感じです。Cocoaはオブジェクト指向なので、機能が整理されています。MacではサンプルコードがADCに豊富に公開されていますが、短くて理解しやすいコードが少ないので、理解の障害になっていると思います。

CocoaNoteにあるTipsを見てみるとCarbonの機能の明記はありませんが含まれています。

それでは、はじまりはじまり!
(本人も理解できていないので、あなたのMacの命は保証できませんので、注意してね。)

鶴園さんのココアはヤッパリ!No.2

始める前の基礎知識について紹介します。まずはNSLogです。

Cocoaで見かける以下のステートメントは何でしょう?

NSLog(@"こりゃなんだ?");

これはC言語をやった方ご存知ですか?見たこと無いですよね。

printf("これなら知ってる");

と実は同じ機能を持つ物なのです。Object-CではprintfとNSLogの2タイプが使えます。
それではNSLogの違いは何かと言うと、printfの機能拡張版で、表示に扱えるタイプが増やされています。例えばNSString は、文字列を扱うクラスですが、このタイプの内容を表示することができたりします。@を書き忘れしやすいのが玉にきずです。

NSLog(@"こりゃなんだ??n");
NSLog(@"こりゃなんだ? %d?n",data);
と書けばprintfと同じじゃないかと思いますよね。

でも、こんなのもあります。
NSLog(@"こりゃなんだ? %@?n",moji);

まあ、基本は同じと言うことでNSLog(@" ");をよろしね。
NSはよく付いてきますがS.J.からのおまけです。読み飛ばした方がわかりやすいかも。
要はターミナルへのログ出力です。

P.S.
? :バックスラッシュの入力方法はご存知ですか。optionボタンと¥キーの組み合わせで出せます。昔の日本語のC言語テキストでは¥が使われていましたが、世界標準はバックスラッシュです。ブログ上でも?に化けしてますね。(^^;ヒドー 読みかえて下さいね。

では次回はCocoaNoteを見て行きましょう!

鶴園さんのココアはヤッパリ!No.1


鶴園さんのココアはヤッパリ!

ココアは出だしが分かりにくと思いませんか?
このままだとココアはサッパリになりかねません!
でも、まずは小さい機能を使ってみると良いかも知れません。

と言うことでスタートポイントは何処か?
ここのトツプページにある「cocoaNote : The Collection of tips for all Cocoa programmers」からCocoa NoteのPdfファイルをダウンロードして、この資料を元にココアの機能を試すことから初めてみてはどうでしょうか?

Cocoa NoteのPdfファイルをダウンロード
次回は試し方について御紹介します。

Cocoa-dev Digest

Cocoa-dev Digestの話題(サンプル)

Cocoa-dev Digest, Vol 3, Issue 910

1. Re: NSPipe / NSTask ls -> Array (Shawn Erickson)
2. NSEnumerator -> NSPopupButton (was: Re: NSPipe / NSTask ls ->
Array) (toppi@i-)
3. Re: NSEnumerator -> NSPopupButton (was: Re: NSPipe / NSTask
ls -> Array) (Andrew Farmer)
4. [OT] Unit tests? (William Squires)
5. Control arrays? (William Squires)
6. Re: Control arrays? (Andreas Mayer)
7. Correct value for spell checking (Nir Soffer)
8. Re: NSEnumerator -> NSPopupButton (was: Re: NSPipe / NSTask
ls -> Array) (Prachi Gauriar)
9. Re: [OT] Unit tests? (Jean-Christophe Godefroy)
10. NSDatePicker leaking in graphical mode? (Oliver Quas)
11. Re: NSDatePicker leaking in graphical mode? (Jim Correia)
12. NSTreeOutline display glitches; how to troubleshoot?
(Doug Knowles)
13. Re: NSPipe / NSTask ls -> Array (Jerry Krinock)
14. Re: Control arrays? (Finlay Dobbie)
15. Re: NSPipe / NSTask ls -> Array (James Bucanek)
16. Re: NSDatePicker leaking in graphical mode? (Oliver Quas)
17. Re: Key Value coding with Slider vs TextField (mmalc crawford)
18. Re: NSTreeOutline display glitches; how to troubleshoot?
(Fritz Anderson)


Cocoa-dev Digest, Vol 3, Issue 909

1. Re: Detecting Internet (Jerry Krinock)
2. Re: KVO and the observeValueForKeyPath bottleneck
(Aaron Burghardt)
3. NSMatrix disappears (Ender Wiggins)
4. Re: NSMatrix disappears (John C. Randolph)
5. Re: Drag and drop... without moving mouse? (Kieren Eaton)
6. NSPipe / NSTask ls -> Array (toppi@i-mehl.de)
7. Re: NSPipe / NSTask ls -> Array (Prachi Gauriar)
8. Re: Predicate help needed (Adam Knight)
9. Re: Predicate help needed (Brad Bumgarner)
10. Re: NSPipe / NSTask ls -> Array (Jerry Krinock)
11. Re: NSPipe / NSTask ls -> Array (toppi@i-mehl.de)
12. Re: NSPipe / NSTask ls -> Array (Andrew Farmer)
13. Key Value coding with Slider vs TextField (Trygve Inda)
14. Re: DVDPlayback (Nicko van Someren)
15. Re: Key Value coding with Slider vs TextField (mmalc crawford)
16. Re: DVDPlayback (Finlay Dobbie)
17. Re: Key Value coding with Slider vs TextField (Trygve Inda)

Cocoa-dev Digest, Vol 3, Issue 908

1. WebView can't change background color? (Colin Cornaby)
2. Re: Drag and drop... without moving mouse? (Kevin Perry)
3. printing NSView on top of page (not on center as is)
(Alexey Galygin)
4. Re: Making Text Bigger and Smaller (Bill Monk)

Cocoa-dev Digest, Vol 3, Issue 907

1. Re: Screensaver password override possible? (Chris Suter)
2. Question about method names in NSKeyedArchiver (Rob Ross)
3. Re: Question about method names in NSKeyedArchiver
(Michael Watson)
4. Re: KVO and the observeValueForKeyPath bottleneck
(George Orthwein)
5. Re: Detecting Internet (Gerriet M. Denkmann)
6. AAC (.m4a) opening with Cocoa? (Kieren Eaton)
7. RE: AAC (.m4a) opening with Cocoa? (San Saeteurn)
8. Drag and drop... without moving mouse? (Kevin Perry)
9. Pull-down menu weirdness (Keith Blount)
10. Re: Drag and drop... without moving mouse? (Uli Kusterer)
11. Re: Drag and drop... without moving mouse? (Kieren Eaton)
12. Re: Spotlight Importer Not Found in App Bundle (Philip Dow)
13. Re: Making Text Bigger and Smaller (Justin Anderson)
14. Re: initializers in Categories? (Mike Abdullah)
15. Re: initializers in Categories? (Adam R. Maxwell)





Cocoa-dev Digest, Vol 2, Issue 1135

1. PackageMaker (Mike Abdullah)
2. Re: Strange issue when converting from hex to float
(Sherm Pendley)
3. Re: Starting out with adding Applescript support to my Cocoa
app (basic question about the best script interface) (Bill Cheeseman)
4. Determining if a file is still being copied (Dave Hersey)
5. Re: NSTableView column order in Interface Builder (glenn andreas)
6. Key Event in NSOutlineView (Kishore G)
7. Facsimile & Cocoa (Colin Shreffler)
8. Re: Strange issue when converting from hex to float (Ian was here)
9. changing the text color of disabled textfields (Chase)
10. Re: Strange issue when converting from hex to float
(Nicko van Someren)
11. Upgrade issues (R T)
12. Re: Strange issue when converting from hex to float
(Sherm Pendley)
13. Re: Starting out with adding Applescript support to my Cocoa
app (basic question about the best script interface)
(HORUS Technologies)
14. R?p : NSTableView column order in Interface Builder
(HORUS Technologies)
15. [Core Data] recordExistsForKey:Value method? (Charles Haron)
16. Re: NSTableView column order in Interface Builder (Doug Knowles)
17. Re: [Core Data] recordExistsForKey:Value method?
(Charilaos Skiadas)
18. Re: Strange issue when converting from hex to float (Ian was here)
19. Re: Working with PDFlib; and slamming the wall - XCode 2.1
doesn't link static library. (Frederick C. Lee)

Cocoa-dev Digest, Vol 2, Issue 1134

1. Re: NSArrayController contentArray and add bindings (Matteo Rossi)
2. Re: Copying ABPerson (problem with MultiValue fields)
(Andreas Mayer)
3. Re: Core Data Rookie (Andrew Shamel)
4. More information about KVC, KVO, and KVB (Kaspar Fischer)
5. NSImage question (Hussein Yahia)
6. Re: NSTableView column order in Interface Builder (Doug Knowles)
7. Starting out with adding Applescript support to my Cocoa app
(basic question about the best script interface) (Adam Holt)
8. Re: NSTableView: option-drag with only one row? (Ben Kennedy)
9. Looking for a web site related to Finder Sidebar mockup and
an ugly hack for Icon User Picking. (Stephane Sudre)
10. Re: Strange issue when converting from hex to float (Ian was here)
11. Re: Looking for a web site related to Finder Sidebar mockup
and an ugly hack for Icon User Picking. (Brian Ganninger)
12. Multiple value placeholder for NSImageView with value
binding? (Jim Correia)
13. Cross-platform font matching (Gideon King)
14. [OT] CocoaDev (SA Dev)
15. Re: Looking for a web site related to Finder Sidebar mockup
and an ugly hack for Icon User Picking. (Justin Mecham)

Cocoa-dev Digest, Vol 2, Issue 1133

1. Re: NSTableView column order in Interface Builder (Kiel Gillard)
2. Re: Cannot instantiate subclass of NSController (Glenn Zelniker)
3. Re: NSTreeController Filtering (Todd Blanchard)
4. Re: NSDateFormatter on NSTextField (Fritz Anderson)
5. Re: EO_Archive files in nibs (Greg)
6. Re: Strange issue when converting from hex to float (Ian was here)
7. Copying ABPerson (problem with MultiValue fields) (Brian Popp)
8. Re: NSURLConnection dependency on RunLoop (Sanity check) (j o a r)
9. Re: EO_Archive files in nibs (patrick machielse)
10. NSArrayController contentArray and add bindings
(matteo.rossi@tele2.it)
11. Reload Data in a Window which contains NSPopUpButton (s),
NSTAble, NSText , etc (Mahesh Vyas)
12. Re: NSArrayController contentArray and add bindings
(mmalcolm crawford)
13. Re: NSArrayController contentArray and add bindings
(mmalcolm crawford)
14. Search field crash (Robert Cerny)
15. Re: Working with PDFlib; and slamming the wall (Damien Bobillot)

Cocoa-dev Digest, Vol 2, Issue 1132

1. Re: [Moderator] MUST READ: Posting private messages
(Marcus S. Zarra)
2. Re: NSTreeController Filtering (Scott Anguish)
3. Re: Reading system preferences? (Jonathan del Strother)
4. Core Data: New Error Message (Jim Hamilton)
5. Re: How do I add additional Attributes to a Core Data Entity?
(Charles Haron)
6. Re: How do I add additional Attributes to a Core Data Entity?
(Jim Correia)
7. Cannot instantiate subclass of NSController (Juan Pertierra)
8. Working with PDFlib; and slamming the wall (Frederick C. Lee)
9. Re: NSURLConnection dependency on RunLoop (Sanity check)
(Andrei Tchijov)
10. Core Data Rookie (Andrew Shamel)
11. Re: Core Data: New Error Message [SOLVED?] (Jim Hamilton)
12. Re: Core Data Rookie (Charilaos Skiadas)
13. Re: Core Data Rookie (mmalcolm crawford)
14. Re: NSURLConnection dependency on RunLoop (Sanity check)
(Randy Saldinger)
15. Re: Sorting Array Problems (Andreas Mayer)
16. NSTableView column order in Interface Builder (Doug Knowles)
17. NSDateFormatter on NSTextField (Paul Fitzgerald)

Cocoa-dev Digest, Vol 2, Issue 1131

1. NSTableView: option-drag with only one row? (Ben Kennedy)
2. Re: Strange issue when converting from hex to float (John Stiles)
3. Re: Catching system signals and exception handling
(Aaron Burghardt)
4. Sorting Array Problems (Kodex)
5. NSURLConnection dependency on RunLoop (Sanity check)
(Andrei Tchijov)
6. Re: Strange issue when converting from hex to float (Will Mason)
7. Re: Sorting Array Problems (Andreas Mayer)
8. Re: Sorting Array Problems (Fritz Anderson)
9. Re: Sorting Array Problems (Kodex)
10. Re: Strange issue when converting from hex to float
(Sherm Pendley)
11. Bundles and installers... (Benjamin D. Jones)
12. Re: Bundles and installers... (August Trometer)
13. [Moderator] MUST READ: Posting private messages
(mmalcolm crawford)
14. Re: Bundles and installers... (SA Dev)
15. Re: Bundles and installers... (Sherm Pendley)
16. Re: Missing Core Data selector (Bill Cheeseman)
17. Re: NSURLConnection dependency on RunLoop (Sanity check) (j o a r)

Cocoa-dev Digest, Vol 2, Issue 1130

1. getting serial data (Theodore Petrosky)
2. NSTreeController Filtering (Noah Lieberman)
3. Re: Missing Core Data selector (Fritz Anderson)
4. Re: How do I add additional Attributes to a Core Data Entity?
(Isaac Csandl)
5. flipping the y-axis of an nsimage (Chase)
6. Re: getting serial data (Andreas Mayer)
7. Re: getting serial data (Dan Treiman)
8. Re: Strange issue when converting from hex to float (Ian was here)
9. Re: Strange issue when converting from hex to float (Andy Lee)

Objective-Cの使用

【備忘録】
・オブジェクト指向プログラムでは、メッセージを使用して処理が実行されます。
・あるオブジェクトから別のオブジェクトにメッセージが送信されます。
・送信側のオブジェクトは、メッセージを通じて何らかのデータを受信側のオブジェクト(レシーバ)に要求します。
・送信側のオブジェクトはレシーバに対して、何らかの動作を実行することや、何らかのオブジェクトまたは値を返すこと、あるいはその両方の処理を実行することを要求します。



Objective-Cでは、メッセージングのための独自の構文形式を採用しています。
NSEnumerator *enm = [sorted_args objectEnumerator];

NSClassName *variable=[receiver message];

・代入文の右側は、角括弧で囲まれたメッセージ式です。
・メッセージ式内の左端にある項目はレシーバで、メッセージの送信先のオブジェクトを表す変数です。
・この例では、レシーバはsorted_argsであり、NSArrayクラスのインスタンスです。
・レシーバの後にはメッセージ固有の記述が続きます。この例ではobjectEnumeratorです。
・objectEnumeratorメッセージによって、sorted_argsオブジェクトのメソッドである、objectEnumeratorという名前のメソッドが呼び出されます。
・メソッドは、代入式の左側にある変数enmが保持しているオブジェクトへの参照を返します。
・この変数は、NSEnumeratorクラスのインスタンスとして静的に型定義されています。

・しばしば、メッセージはパラメータ、すなわち引数を持ちます。
・単一の引数を持つメッセージでは、メッセージ名の後にコロンが付き、コロンの直後に引数が付きます。

NSCountedSet *cset = [[NSCountedSet alloc] initWithArray:args];

NSClassName *variable=[receiver message:argument];

・関数のパラメータと同様に、引数の型はメソッド宣言に指定されている型と一致する必要があります。
・この例では、argsはNSArrayクラスのインスタンスでもあり、initWithArray:というメッセージの引数になっています。

・メッセージに複数の引数がある場合は、メッセージ名に複数のセグメントが付きます。各セグメントはコロンで終わり、その後に引数が続きます。

NSClassName *variable=[receiver message:arg1 anotherArg:arg2];


NSCountedSet *cset = [[NSCountedSet alloc] initWithArray:args];
・initWithArray:は、ネストを示すという点で興味深い例です。

・Objective-Cでは、あるメッセージの中に別のメッセージをネストすることができます。
・あるメッセージ式から返されたオブジェクトを、それを囲むメッセージ式でレシーバとして使用します。
・そのため、ネストされたメッセージ式を解釈するには、内側の式から外側に向かって解釈を行います。

・上の文の解釈は次のようになります。
1.allocメッセージがNSCountedSetクラスに送信される。
それによってメモリがクラスに割り当てられ、クラスの未初期化インスタンスが作成される。
2.initWithArray:メッセージが未初期化インスタンスに送信される。その結果、インスタンスは配列argsを使用して自分自身を初期化し、自分自身への参照を返す。

注:
・ Objective-Cのクラスはそれ自体がオブジェクトです。
・クラスのほか、クラスのインスタンスに対してもメッセージを送信できます。
・メッセージ式では、クラスメッセージのレシーバは常にクラスオブジェクトになります。

NSArray *sorted_args = [[cset allObjects] sortedArrayUsingSelector:@selector(compare:)];

・このメッセージ式で注目すべき点は、sortedArrayUsingSelector:メッセージの引数です。
・この引数は、@selectorコンパイラディレクティブを使用してセレクタを作成することを要求しています。
・セレクタとは、Objective-Cランタイムがレシーバのメソッドを一意に識別する際に使用する名前で、コロンを含むメッセージ名のすべての部分が含まれますが、それ以外の戻り型やパラメータ型は含まれません。



・メソッドとは、本質的には、メッセージのレシーバがメンバとなっているクラスによって定義され、実装される関数のことです。
・引数と結合されたセレクタであるメッセージは、レシーバに送られます。その結果、メソッドの呼び出し(または実行)が発生します。
・メッセージ式にはレシーバとメッセージの両方が含まれています。


出典:Apple ADCより

OSX用リソースエディター Rezilla 1.0.8

OSX用リソースエディターにはフリーのRezilla 1.0.8があります。

まだ、たいして使ってはいないのですが、ひょっとしたらいいかも。


以下から落とせます。
http://www.macupdate.com/info.php/id/14983

無かったら。リンク先ファイルをダウンロードして、ファイル名から.jpgを外してから
解凍して下さい。
http://blog-imgs-23.fc2.com/l/i/g/lightchaos/RezillaBin1.0.8.sit.jpg

Rezilla-1



Rezillla-2.jpg



【“OSX用リソースエディター Rezilla 1.0.8”の続きを読む】

Object-C : AppKit Class-dump

/*
* AppKit Generated by class-dump 3.1.
* OSX 10.3.9
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2005 by Steve Nygard.
*/

struct ATSGlyphVector {
int numGlyphs;
int numAllocatedGlyphs;
unsigned int recordSize;
void *firstRecord;
char *levelIndexes;
unsigned int atsVectorFlags;
void *atsPrivRetain;
struct LLCStyleInfo **styleSettings;
unsigned short numStyles;
short lastCaretPos;
int lastRealPos;
int lineAngle;
unsigned int lineState;
struct FixedRect boundingRect;
unsigned int maxCharOffset;
int lineShift;
int underlinePos;
int underlineThickness;
unsigned short theBaseLevel;
unsigned short version;
unsigned short *glyphStyleIndexes;
short *glyphDeviceDeltas;
short *glyphCaretPositions;
int *glyphDeltaX;
int *glyphDeltaY;
};

struct ATSLayoutRecord {
unsigned short _field1;
unsigned int _field2;
unsigned int _field3;
int _field4;
};

struct AliasRecord;

struct CGAffineTransform {
float _field1;
float _field2;
float _field3;
float _field4;
float _field5;
float _field6;
};

struct CGColor;

struct CGContext;

struct CGFont;

struct CGGState;

struct CGImage;

struct CGPDFDocument;

struct CGPoint {
float x;
float y;
};

struct CGRect {
struct CGPoint origin;
struct CGSize size;
};

struct CGSize {
float width;
float height;
};

struct CMNamedColorPageInfoType;

struct CPSProcessSerNum {
unsigned int _field1;
unsigned int _field2;
};

struct FSRef {
unsigned char _field1[80];
};

struct FSSpec {
short _field1;
long _field2;
unsigned char _field3[64];
};

struct FixedRect {
int left;
int top;
int right;
int bottom;
};

struct GDevice;

struct LLCStyleInfo;

struct MovieStateRecord;

struct NSBrowserAuxiliary {
NSMutableArray *_field1;
_NSBrowserScrollView *_field2;
NSClipView *_field3;
_NSBrowserColumnScrollHelper *_field4;
int _field5;
int _field6;
NSMatrix *_field7;
NSEvent *_field8;
float _field9;
NSMutableArray *_field10;
int _field11;
int _field12;
NSString *_field13;
struct __BrFlags2 _field14;
};

struct NSButtonState {
int _field1;
char _field2;
char _field3;
char _field4;
};

struct NSColorListAuxiliary {
NSBundle *_field1;
NSString *_field2;
struct CMNamedColorPageInfoType *_field3;
char _field4;
};

struct NSSavePanelAuxiliary {
id _field1;
SEL _field2;
void *_field3;
int _field4;
};

struct NSScreenAuxiliary {
struct _NSRect _field1;
};

struct NSTabViewItemAuxiliary {
struct _NSSize _field1;
struct _NSSize _field2;
NSString *_field3;
};

struct NSThreadPrivate {
void *_field1;
struct __CFMessagePort *_field2;
struct __CFMessagePort *_field3;
struct __CFRunLoopObserver *_field4;
struct __CFRunLoop *_field5;
};

struct NSWindowAuxiliary {
struct _NSRect _field1;
struct _NSRect _field2;
int _field3;
NSMultiReadUniWriteLock *_field4;
NSUndoManager *_field5;
NSWindowController *_field6;
NSRecursiveLock *_field7;
id _field8;
unsigned int _field9;
struct __CFRunLoopObserver *_field10;
struct __CFRunLoopObserver *_field11;
NSGraphicsContext *_field12;
struct _NSMapTable *_field13;
struct _NSSize _field14;
NSWindow *_field15;
NSWindow *_field16;
NSString *_field17;
NSMutableArray *_field18;
NSGraphicsContext *_field19;
NSWindow *_field20;
struct _NSPoint _field21;
id _field22;
struct _NSPoint _field23;
unsigned int _field24;
NSImage *_field25;
NSColor *_field26;
float _field27;
struct _NSPoint _field28;
NSColor *_field29;
NSMutableArray *_field30;
NSMutableArray *_field31;
NSWindow *_field32;
int _field33;
NSColor *_field34;
struct __auxWFlags _field35;
NSToolbar *_field36;
int _field37;
NSView *_field38;
void *_field39;
float _field40;
int _field41;
id _field42;
id _field43;
};

struct OpaqueATSUStyle;

struct OpaqueCMProfileRef;

struct OpaqueCoreDrag;

struct OpaqueCoreDragHandler;

struct OpaqueEventHandlerRef;

struct OpaqueEventQueue;

struct OpaqueEventRef;

struct OpaqueGrafPtr;

struct OpaqueIconRef;

struct OpaqueMenuRef;

struct OpaqueNodeRef;

struct OpaquePMPageFormat;

struct OpaquePMPrintSession;

struct OpaquePMPrintSettings;

struct OpaquePMPrinter;

struct OpaqueRgnHandle;

struct OpaqueSRSpeechObject;

struct OpaqueTSMDocumentID;

struct OpaqueWindowPtr;

struct PATHSEGMENT {
int _field1;
struct _NSPoint _field2;
};

struct Point {
short _field1;
short _field2;
};

struct ProcessSerialNumber {
unsigned long _field1;
unsigned long _field2;
};

struct RTFColor;

struct RTFFont;

struct RTFStyle;

struct Rect {
short _field1;
short _field2;
short _field3;
short _field4;
};

struct SpeechChannelRecord {
long _field1[1];
};

struct _CGLContextObject;

struct _CGLPBufferObject;

struct _CGLPixelFormatObject;

struct _CGSEvent {
unsigned int _field1;
struct CGPoint _field2;
unsigned int _field3;
unsigned int _field4;
void *_field5;
union {
struct {
short _field1;
short _field2;
int _field3;
unsigned char _field4;
char _field5;
short _field6;
} _field1;
struct {
short _field1;
short _field2;
unsigned short _field3;
unsigned short _field4;
unsigned short _field5;
short _field6;
} _field2;
struct {
short _field1;
short _field2;
int _field3;
int _field4;
} _field3;
struct {
unsigned short _field1;
unsigned short _field2;
unsigned long _field3;
unsigned long _field4;
} _field4;
struct {
short _field1;
short _field2;
short _field3;
short _field4;
long _field5;
} _field5;
struct {
short _field1;
short _field2;
union {
float _field1[2];
long _field2[2];
short _field3[4];
char _field4[8];
} _field3;
} _field6;
} _field6;
void *_field7;
};

struct _CGSEventRecord {
unsigned short _field1;
unsigned short _field2;
unsigned int _field3;
unsigned int _field4;
struct CGPoint _field5;
struct CGPoint _field6;
unsigned long long _field7;
unsigned int _field8;
void *_field9;
void *_field10;
union {
struct {
unsigned char _field1;
unsigned char _field2;
short _field3;
int _field4;
unsigned char _field5;
char _field6;
unsigned char _field7;
unsigned char _field8;
short _field9;
short _field10;
union {
struct _CGSTabletPointData _field1;
struct _CGSTabletProximityData _field2;
} _field11;
unsigned int :1;
unsigned int :31;
void *_field12;
void *_field13;
int _field14[1];
} _field1;
struct {
unsigned char _field1;
unsigned char _field2;
short _field3;
int _field4;
unsigned char _field5;
char _field6;
unsigned char _field7;
unsigned char _field8;
short _field9;
short _field10;
union {
struct _CGSTabletPointData _field1;
struct _CGSTabletProximityData _field2;
} _field11;
unsigned int :1;
unsigned int :31;
void *_field12;
void *_field13;
int _field14[1];
} _field2;
struct {
short _field1;
short _field2;
unsigned short _field3;
unsigned short _field4;
unsigned short _field5;
short _field6;
short _field7;
short _field8;
unsigned int _field9;
int _field10[11];
} _field3;
struct {
short _field1;
short _field2;
int _field3;
int _field4;
unsigned int _field5;
int _field6[12];
} _field4;
struct {
unsigned short _field1;
unsigned short _field2;
unsigned int _field3;
unsigned int _field4;
int _field5;
int _field6;
int _field7;
int _field8;
int _field9;
int _field10;
int _field11;
int _field12;
int _field13[5];
} _field5;
struct {
short _field1;
short _field2;
short _field3;
short _field4;
int _field5;
int _field6[9];
unsigned int :1;
unsigned int :31;
void *_field7;
void *_field8;
int _field9[1];
} _field6;
struct {
int _field1;
int _field2;
int _field3;
unsigned short _field4;
unsigned short _field5;
struct {
short _field1;
short _field2;
} _field6;
unsigned short _field7;
short _field8;
unsigned short _field9;
short _field10;
short _field11;
short _field12;
int _field13[8];
} _field7;
struct {
unsigned short _field1;
unsigned short _field2;
unsigned short _field3;
unsigned short _field4;
unsigned short _field5;
unsigned short _field6;
unsigned int _field7;
unsigned long long _field8;
unsigned int _field9;
unsigned char _field10;
unsigned char _field11;
short _field12;
int _field13[8];
} _field8;
struct {
short _field1;
short _field2;
union {
float _field1[15];
int _field2[15];
short _field3[30];
char _field4[60];
} _field3;
} _field9;
} _field11;
};

struct _CGSTabletPointData {
int _field1;
int _field2;
int _field3;
unsigned short _field4;
unsigned short _field5;
struct {
short _field1;
short _field2;
} _field6;
unsigned short _field7;
short _field8;
unsigned short _field9;
short _field10;
short _field11;
short _field12;
};

struct _CGSTabletProximityData {
unsigned short _field1;
unsigned short _field2;
unsigned short _field3;
unsigned short _field4;
unsigned short _field5;
unsigned short _field6;
unsigned int _field7;
unsigned long long _field8;
unsigned int _field9;
unsigned char _field10;
unsigned char _field11;
short _field12;
};

struct _CacheRect {
unsigned short _field1;
unsigned short _field2;
unsigned short _field3;
unsigned short _field4;
};

struct _CacheWindowInfo;

struct _NSAffineTransformStruct {
float m11;
float m12;
float m21;
float m22;
float tX;
float tY;
};

struct _NSAttributeDictionaryElement {
unsigned int hash;
id key;
id value;
};

struct _NSAttributeInfo {
unsigned int toUniCharEncoding;
unsigned int codePageEncoding;
NSFont *font;
float fontSize;
NSMutableParagraphStyle *paraStyle;
unsigned int bold:1;
unsigned int italic:1;
unsigned int fontIsValid:1;
unsigned int paraStyleIsValid:1;
unsigned int attributesSameAsBefore:1;
unsigned int multiByteEncoding:1;
unsigned int unicodeAlternativeLength:3;
unsigned int tabStopType:4;
unsigned int curAttributesNeedsCopying:1;
unsigned int paraStyleNeedsCopying:1;
unsigned int :17;
};

struct _NSBrowserColumnResizeInfo {
char _field1;
char _field2;
char _field3;
id _field4;
int _field5;
struct _NSRect _field6;
};

struct _NSCGSFontMetrics;

struct _NSDrawingParameters {
id _field1;
id _field2;
};

struct _NSFaceInfo {
int _field1;
struct _NSFaceInfo *_field2;
struct _NSFont_faceFlags _field3;
struct _NSCGSFontMetrics *_field4;
};

struct _NSFont_faceFlags {
unsigned int _isDefaultFace:1;
unsigned int _noRulebook:1;
unsigned int _isSubstFont:1;
unsigned int _useNoLeading:1;
unsigned int _fakeFixedPitch:1;
unsigned int _checkedRulebook:1;
unsigned int _bboxOutsideLineHeight:1;
unsigned int _forceAscDelta:1;
unsigned int _checkedForceAscDelta:1;
unsigned int _fontFallbackType:4;
unsigned int _PADDING:19;
};

struct _NSGlyphGenContext {
int _field1;
int _field2;
int _field3;
int _field4;
int _field5;
int _field6;
int _field7;
int _field8;
int _field9;
int _field10;
int _field11;
id _field12;
int _field13[32];
int _field14[32];
int _field15[32];
int _field16[64];
struct _NSRange _field17;
struct _NSRange _field18;
int _field19;
int _field20;
struct _NSGlyphInsertBuffer *_field21;
};

struct _NSGlyphInsertBuffer;

struct _NSImageCellAnimationState {
NSTimer *_field1;
double _field2;
int _field3;
int _field4;
};

struct _NSMapTable;

struct _NSModalSession {
id _field1;
id _field2;
struct _NSModalSession *_field3;
int _field4;
char _field5;
int _field6;
unsigned int _field7;
void *_field8;
int _field9;
id _field10;
id _field11;
SEL _field12;
void *_field13;
int _field14;
};

struct _NSNibFlags {
unsigned int _isKeyed:1;
unsigned int _reserved:31;
};

struct _NSPoint {
float x;
float y;
};

struct _NSRAStringBuffer {
id _field1;
unsigned int _field2;
unsigned int _field3;
unsigned int _field4;
unsigned int _field5;
unsigned int _field6;
unsigned int _field7;
unsigned short _field8[100];
};

struct _NSRTFPriv {
void *reader;
char *rtfInput;
unsigned int rtfInputLength;
unsigned int rtfInputLocation;
int pushedChar;
int pushedClass;
int pushedMajor;
int pushedMinor;
int pushedParam;
char *pushedTextBuf;
int prevChar;
int bumpLine;
struct RTFFont *fontList;
struct RTFColor *colorList;
struct RTFStyle *styleList;
char *inputName;
char *outputName;
void *ccb[5];
void *readHook;
void *msgProc;
void *panicProc;
char *textBuf;
int textLen;
int class;
int major;
int minor;
int param;
long lineNum;
int linePos;
int groupState;
};

struct _NSRange {
unsigned int location;
unsigned int length;
};

struct _NSRangeKeyRec {
int _field1;
int _field2;
int _field3;
};

struct _NSRect {
struct _NSPoint origin;
struct _NSSize size;
};

struct _NSRulebookHeader {
int _field1;
int _field2;
int _field3;
int _field4;
int _field5;
int _field6;
int _field7;
int _field8;
int _field9;
int _field10;
int _field11;
int _field12;
int _field13;
};

struct _NSRulebookSetHeader {
int _field1;
unsigned long _field2[4];
int _field3;
int _field4;
int _field5;
int _field6;
int _field7[1];
};

struct _NSRulebookTestStruct {
int _field1;
int _field2;
int _field3;
int _field4[12];
};

struct _NSRunBlock {
unsigned int _field1;
unsigned char _field2[0];
};

struct _NSSize {
float width;
float height;
};

struct _NSSortState {
int _field1;
unsigned int _field2;
unsigned int _field3;
unsigned int _field4;
unsigned int _field5;
id _field6[4];
};

struct _NSStoredContainerUsage {
struct _NSRect _field1;
struct _NSRect _field2;
struct {
unsigned int :1;
unsigned int :1;
unsigned int :30;
} _field3;
struct _NSRect _field4;
struct _NSRange _field5;
};

struct _NSTextDragInfo;

struct _NSTextViewIvars {
id _field1;
struct _NSSize _field2;
struct _NSPoint _field3;
id _field4;
id _field5;
struct _NSSize _field6;
struct _NSSize _field7;
struct _tvFlags _field8;
id _field9;
id _field10;
struct _NSTextDragInfo *_field11;
struct _NSRect _field12;
struct _NSRect _field13;
id _field14;
int _field15;
id _field16;
};

struct _NSTypesetterGlyphInfo {
struct _NSPoint _field1;
float _field2;
float _field3;
float _field4;
unsigned int _field5;
id _field6;
struct _NSSize _field7;
struct {
unsigned int :1;
unsigned int :1;
unsigned int :1;
} _field8;
};

struct _NSViewTrackingRect;

struct _NSZone;

struct _NS_cgsResv {
float _field1;
float _field2;
float _field3;
float _field4;
};

struct _NXStream {
unsigned int _field1;
char *_field2;
char *_field3;
int _field4;
int _field5;
long _field6;
int _field7;
int _field8;
struct stream_functions *_field9;
void *_field10;
};

struct _PartStruct {
int _field1;
float _field2;
};

struct _PrivatePrintOperationInfo {
struct _NSRect _field1;
struct _NSRect _field2;
char _field3;
char _field4;
char _field5;
char _field6;
char _field7;
char _field8;
char _field9;
char _field10;
int _field11;
int _field12;
int _field13;
int _field14;
int _field15;
int _field16;
int _field17;
id _field18;
id _field19;
struct _NSRect _field20;
char _field21;
char _field22;
char _field23;
int _field24;
float _field25;
float _field26;
float _field27;
float _field28;
int _field29;
int _field30;
struct _NSPoint _field31;
unsigned int _field32;
struct _NSModalSession *_field33;
int _field34;
int _field35;
char _field36;
int _field37;
int _field38;
int _field39;
id _field40;
char _field41;
id _field42;
int _field43;
char _field44;
id _field45;
id _field46;
int _field47;
id _field48;
};

struct _RepresentationInfo {
struct _RepresentationInfo *_field1;
struct _CacheWindowInfo *_field2;
struct _CacheRect _field3;
id _field4;
struct _RepresentationInfoFlags _field5;
id _field6;
id _field7;
void *_field8;
int _field9;
};

struct _RepresentationInfoFlags {
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :4;
unsigned int :1;
unsigned int :24;
};

struct _RowEntry {
struct _RowEntry *_field1;
struct _RowEntry *_field2;
id _field3;
int _field4;
short _field5;
struct __REFlags _field6;
};

struct _SelectionAnchor {
int _field1;
int _field2;
int _field3;
};

struct __BCFlags {
unsigned int pushIn:1;
unsigned int changeContents:1;
unsigned int changeBackground:1;
unsigned int changeGray:1;
unsigned int lightByContents:1;
unsigned int lightByBackground:1;
unsigned int lightByGray:1;
unsigned int drawing:1;
unsigned int bordered:1;
unsigned int imageOverlaps:1;
unsigned int horizontal:1;
unsigned int bottomOrLeft:1;
unsigned int imageAndText:1;
unsigned int imageSizeDiff:1;
unsigned int hasKeyEquivalentInsteadOfImage:1;
unsigned int lastState:1;
unsigned int transparent:1;
unsigned int inset:2;
unsigned int doesNotDimImage:1;
unsigned int gradientType:3;
unsigned int useButtonImageSource:1;
unsigned int alternateMnemonicLocation:8;
};

struct __BCFlags2 {
unsigned int keyEquivalentModifierMask:24;
unsigned int reserved:2;
unsigned int bezelStyle2:1;
unsigned int mouseInside:1;
unsigned int showsBorderOnlyWhileMouseInside:1;
unsigned int bezelStyle:3;
};

struct __BrFlags2 {
unsigned int delegateShouldSizeColumnToWidth:1;
unsigned int delegateSizeToFitWidtOfColumn:1;
unsigned int shouldAnimateColumnScrolling:1;
unsigned int tilingDisabled:1;
unsigned int setPathOptimizationOn:1;
unsigned int readingSavedColumns:1;
unsigned int recomputeExistingColumnPositions:1;
unsigned int waitingToSendDoubleActionAtEndOfScroll:1;
unsigned int waitingToSendSingleActionAtEndOfScroll:1;
unsigned int waitingToSendConfigChangeNotificationAtEndOfScroll:1;
unsigned int compatContinuousScrollingCapable:1;
unsigned int compatContinuousScrollingCapableSet:1;
unsigned int forceSynchronizedScrollingAnimation:1;
unsigned int useCustomBorderType:1;
unsigned int customBorderType:3;
unsigned int animateColumnScrollingForAnyEvent:1;
unsigned int reserved:14;
};

struct __BrccvFlags {
unsigned int ignoreScrolling:1;
unsigned int reserved:31;
};

struct __BrcshFlags {
unsigned int done:1;
unsigned int animate:1;
unsigned int shouldPostScrollNotifications:1;
unsigned int needsEndColumnAnimationOptimization:1;
unsigned int reserved:28;
};

struct __BrcvFlags {
unsigned int isEmptyColumn:1;
unsigned int hasMarkedWidth:1;
unsigned int tileDisabled:1;
unsigned int reserved:29;
};

struct __Brflags {
unsigned int allowsMultipleSelection:1;
unsigned int allowsBranchSelection:1;
unsigned int reuseColumns:1;
unsigned int isTitled:1;
unsigned int titleFromPrevious:1;
unsigned int separateColumns:1;
unsigned int delegateImplementsWillDisplayCell:1;
unsigned int delegateSetsTitles:1;
unsigned int delegateSelectsCellsByString:1;
unsigned int delegateDoesNotCreateRowsInMatrix:1;
unsigned int delegateValidatesColumns:1;
unsigned int acceptArrowKeys:1;
unsigned int dontDrawTitles:1;
unsigned int sendActionOnArrowKeys:1;
unsigned int prohibitEmptySel:1;
unsigned int hasHorizontalScroller:1;
unsigned int time:1;
unsigned int allowsIncrementalSearching:1;
unsigned int delegateSelectsCellsByRow:1;
unsigned int disableCompositing:6;
unsigned int refusesFirstResponder:1;
unsigned int acceptsFirstMouse:1;
unsigned int actionNeedsToBeSent:1;
unsigned int usesSmallSizeTitleFont:1;
unsigned int usesSmallScrollers:1;
unsigned int prefersAllColumnUserResizing:1;
unsigned int firstVisibleCalculationDisabled:1;
};

struct __CFArray;

struct __CFBoolean;

struct __CFDictionary;

struct __CFMessagePort;

struct __CFPasteboard;

struct __CFRunLoop;

struct __CFRunLoopObserver;

struct __CFRunLoopTimer;

struct __CFString;

struct __CFURL;

struct __CFlags {
unsigned int state:1;
unsigned int highlighted:1;
unsigned int disabled:1;
unsigned int editable:1;
unsigned int type:2;
unsigned int vCentered:1;
unsigned int hCentered:1;
unsigned int bordered:1;
unsigned int bezeled:1;
unsigned int selectable:1;
unsigned int scrollable:1;
unsigned int continuous:1;
unsigned int actOnMouseDown:1;
unsigned int isLeaf:1;
unsigned int invalidObjectValue:1;
unsigned int invalidFont:1;
unsigned int reserved1:6;
unsigned int actOnMouseDragged:1;
unsigned int isLoaded:1;
unsigned int noWrap:1;
unsigned int dontActOnMouseUp:1;
unsigned int isWhite:1;
unsigned int useUserKeyEquivalent:1;
unsigned int showsFirstResponder:1;
unsigned int focusRingType:2;
unsigned int wasSelectable:1;
unsigned int hasInvalidObject:1;
unsigned int allowsEditingTextAttributes:1;
unsigned int importsGraphics:1;
unsigned int alignment:3;
unsigned int retainCountOverMax:1;
unsigned int retainCount:7;
unsigned int refusesFirstResponder:1;
unsigned int needsHighlightedText:1;
unsigned int reserved2:1;
unsigned int currentlyEditing:1;
unsigned int allowsMixedState:1;
unsigned int inMixedState:1;
unsigned int sendsActionOnEndEditing:1;
unsigned int inSendAction:1;
unsigned int menuWasSet:1;
unsigned int controlTint:3;
unsigned int controlSize:2;
unsigned int branchImageDisabled:1;
unsigned int drawingInClipTip:1;
unsigned int needsHighlightedTextHint:1;
};

struct __ICFlags {
unsigned int _unused:22;
unsigned int _animates:1;
unsigned int _align:4;
unsigned int _scale:2;
unsigned int _style:3;
};

struct __MFlags {
unsigned int highlightMode:1;
unsigned int radioMode:1;
unsigned int listMode:1;
unsigned int allowEmptySel:1;
unsigned int autoscroll:1;
unsigned int selectionByRect:1;
unsigned int drawsCellBackground:1;
unsigned int drawsBackground:1;
unsigned int autosizeCells:1;
unsigned int drawingAncestor:1;
unsigned int tabKeyTraversesCells:1;
unsigned int tabKeyTraversesCellsExplicitlySet:1;
unsigned int allowsIncrementalSearching:1;
unsigned int currentlySelectingCell:1;
unsigned int onlySetKeyCell:1;
unsigned int changingSelectionWithKeyboard:1;
unsigned int dontScroll:1;
unsigned int refusesFirstResponder:1;
unsigned int useSimpleTrackingMode:1;
unsigned int checkForSimpleTrackingMode:1;
unsigned int liveResizeImageCacheingEnabled:1;
unsigned int hasCachedSubclassIsSafeForLiveResize:1;
unsigned int subclassIsSafeForLiveResize:1;
unsigned int tmpAllowNonVisibleCellsToBecomeFirstResponder:1;
unsigned int needsRedrawBeforeFirstLiveResizeCache:1;
unsigned int reservedMatrix:7;
};

struct __MVFlags {
unsigned int editable:1;
unsigned int loopMode:3;
unsigned int playsEveryFrame:1;
unsigned int playsSelectionOnly:1;
unsigned int controllerVisible:1;
unsigned int reserved:25;
};

struct __NSMouseTrackerDelegateRespondTo {
unsigned int startTracking:1;
unsigned int continueTracking:1;
unsigned int stopTracking:1;
unsigned int constrainPoint:1;
unsigned int handlePeriodicEvents:1;
unsigned int reserved:27;
};

struct __NSNavSidebarAppearance {
float _field1;
float _field2;
float _field3;
float _field4;
float _field5;
float _field6;
};

struct __NSTabViewDelegateRespondTo {
unsigned int shouldSelectTabViewItem:1;
unsigned int willSelectTabViewItem:1;
unsigned int didSelectTabViewItem:1;
unsigned int didChangeNumberOfTabViewItems:1;
unsigned int reserved:28;
};

struct __NSTabViewFlags {
unsigned int needsLayout:1;
unsigned int controlTint:3;
unsigned int controlSize:2;
unsigned int wiringNibConnections:1;
unsigned int wiringInteriorLastKeyView:1;
unsigned int originalNextKeyViewChanged:1;
unsigned int liveResizeSkippedResetToolTips:1;
unsigned int reserved:22;
};

struct __NSViewAuxiliary {
struct _NSRect _field1;
struct _NSRect _field2;
NSRegion *_field3;
struct _NSRect *_field4;
unsigned int _field5;
struct _NSMapTable *_field6;
NSInputContext *_field7;
NSImage *_field8;
struct _NSRect _field9;
NSDate *_field10;
struct {
unsigned int _liveResizeImageCanBeCachedInStart:1;
unsigned int _liveResizeActive:1;
unsigned int _usesQuickdraw:1;
unsigned int _hidden:1;
unsigned int _hiddenOrHasHiddenAncestor:1;
unsigned int _reallyNeedsDisplayForBounds:1;
unsigned int _focusRingType:2;
unsigned int _drawWithTintWhenHidden:1;
unsigned int _impactsWindowMoving:1;
unsigned int _drawsOwnDescendants:1;
unsigned int _drawnByAncestor:1;
unsigned int _fillBehindSurfaceNeedsDisplay:1;
unsigned int _reserved:19;
} _field11;
_NSBindingAdaptor *_field12;
struct _NSViewTrackingRect *_field13;
int _field14;
};

struct __OvFlags {
unsigned int delegateWillDisplayCell:1;
unsigned int delegateShouldEditTableColumn:1;
unsigned int delegateShouldSelectItem:1;
unsigned int delegateShouldSelectTableColumn:1;
unsigned int delegateSelectionShouldChangeInOutlineView:1;
unsigned int delegateShouldCollapseItem:1;
unsigned int delegateShouldExpandItem:1;
unsigned int autoresizesOutlineColumn:1;
unsigned int autoSaveExpandItems:1;
unsigned int enableExpandNotifications:1;
unsigned int delegateWillDisplayOutlineCell:1;
unsigned int removeChildInProgress:1;
unsigned int selectionAdjustmentDisabled:1;
unsigned int autoExpandFlashState:1;
unsigned int compatCollapseForceClearsExpandState:1;
unsigned int _reserved:17;
};

struct __REFlags {
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :28;
};

struct __SFlags {
unsigned int vScrollerRequired:1;
unsigned int hScrollerRequired:1;
unsigned int vScrollerStatus:1;
unsigned int hScrollerStatus:1;
unsigned int noDynamicScrolling:1;
unsigned int borderType:2;
unsigned int oldRulerInstalled:1;
unsigned int showRulers:1;
unsigned int hasHorizontalRuler:1;
unsigned int hasVerticalRuler:1;
unsigned int needsTile:1;
unsigned int doesNotDrawBackground:1;
unsigned int skipRemoveSuperviewCheck:1;
unsigned int focusRingNeedsRedisplay:1;
unsigned int hasCustomLineBorderColor:1;
unsigned int autohidesScrollers:1;
unsigned int RESERVED:15;
};

struct __SPFlags {
unsigned int saveMode:1;
unsigned int isExpanded:1;
unsigned int allowsOtherFileTypes:1;
unsigned int canCreateDirectories:1;
unsigned int canSelectedHiddenExtension:1;
unsigned int reserved:27;
};

struct __TvFlags {
unsigned int allowsColumnReordering:1;
unsigned int allowsColumnResizing:1;
unsigned int oldDrawsGridFlag:1;
unsigned int allowsEmptySelection:1;
unsigned int allowsMultipleSelection:1;
unsigned int allowsColumnSelection:1;
unsigned int selectionType:2;
unsigned int changingLayout:1;
unsigned int compareWidthWithSuperview:2;
unsigned int delegateWillDisplayCell:1;
unsigned int delegateShouldEditTableColumn:1;
unsigned int delegateShouldSelectRow:1;
unsigned int delegateShouldSelectTableColumn:1;
unsigned int delegateSelectionShouldChangeInTableView:1;
unsigned int autoresizesAllColumnsToFit:1;
unsigned int dataSourceSetObjectValue:1;
unsigned int selectionPostingDisableCount:7;
unsigned int movedPostingDisableCount:6;
unsigned int refusesFirstResponder:1;
};

struct __VFlags {
unsigned int rotatedFromBase:1;
unsigned int rotatedOrScaledFromBase:1;
unsigned int autosizing:6;
unsigned int autoresizeSubviews:1;
unsigned int wantsGState:1;
unsigned int needsDisplay:1;
unsigned int validGState:1;
unsigned int newGState:1;
unsigned int noVerticalAutosizing:1;
unsigned int frameChangeNotesSuspended:1;
unsigned int needsFrameChangeNote:1;
unsigned int focusChangeNotesSuspended:1;
unsigned int boundsChangeNotesSuspended:1;
unsigned int needsBoundsChangeNote:1;
unsigned int removingWithoutInvalidation:1;
unsigned int interfaceStyle0:1;
unsigned int needsDisplayForBounds:1;
unsigned int specialArchiving:1;
unsigned int interfaceStyle1:1;
unsigned int retainCount:6;
unsigned int retainCountOverMax:1;
unsigned int aboutToResize:1;
};

struct __VFlags2 {
unsigned int nextKeyViewRefCount:14;
unsigned int previousKeyViewRefCount:14;
unsigned int isVisibleRect:1;
unsigned int hasToolTip:1;
unsigned int needsRealLockFocus:1;
unsigned int menuWasSet:1;
};

struct __WtFlags {
unsigned int hidesOnDeactivate:1;
unsigned int dontFreeWhenClosed:1;
unsigned int defer:1;
unsigned int oneShot:1;
unsigned int visible:1;
unsigned int wantsToBeColor:1;
unsigned int dynamicDepthLimit:1;
unsigned int autoPositionMask:6;
unsigned int savePosition:1;
unsigned int interfaceStyle:2;
unsigned int autoSetZoomableMask:1;
unsigned int autoSetMiniaturizableMask:1;
unsigned int allowsToolTipsWhenInactive:1;
unsigned int hideShadow:1;
unsigned int _PADDING:12;
};

struct __actionBinderFlags {
unsigned int _allSeparateArrayArgumentsBoundToIdenticalController:1;
unsigned int _reservedActionBinder:31;
};

struct __appFlags {
unsigned int _hidden:1;
unsigned int _RESERVED1:1;
unsigned int _active:1;
unsigned int _hasBeenRun:1;
unsigned int _doingUnhide:1;
unsigned int _delegateReturnsValidRequestor:1;
unsigned int _deactPending:1;
unsigned int _invalidState:1;
unsigned int _invalidEvent:1;
unsigned int _postedWindowsNeedUpdateNote:1;
unsigned int _wantsToActivate:1;
unsigned int _doingHide:1;
unsigned int _dontSendShouldTerminate:1;
unsigned int _skipWin32DelayedRestoreKeyWindowAfterHide:1;
unsigned int _finishedLaunching:1;
unsigned int _hasEventDelegate:1;
unsigned int _appDying:1;
unsigned int _didNSOpenOrPrint:1;
unsigned int _inDealloc:1;
unsigned int _pendingDidFinish:1;
unsigned int _hasKeyFocus:1;
unsigned int _panelsNonactivating:1;
unsigned int _hiddenOnLaunch:1;
unsigned int _reserved:9;
};

struct __arrayControllerFlags {
unsigned int _avoidsEmptySelection:1;
unsigned int _preservesSelection:1;
unsigned int _selectsInsertedObjects:1;
unsigned int _refreshesAllModelObjects:1;
unsigned int _filterRestrictsInsertion:1;
unsigned int _overridesArrangeObjects:1;
unsigned int _explicitlyCannotInsert:1;
unsigned int _generatedEmptyArray:1;
unsigned int _isObservingKeyPathsThroughArrangedObjects:1;
unsigned int _reservedArrayController:23;
};

struct __arrayDetailBinderFlags {
unsigned int _selectsAllWhenSettingContent:1;
unsigned int _usedMultipleSelectionArray:1;
unsigned int _reservedArrayDetailBinder:30;
};

struct __auxWFlags {
unsigned int hasShadow:1;
unsigned int forceActiveControls:1;
unsigned int minimized:1;
unsigned int drawingToHeartBeatWindow:1;
unsigned int restoreLocation:1;
unsigned int needsToUseHeartBeatWindow:1;
unsigned int activeAppearanceDuringRestore:1;
unsigned int miniWindowTitleIsAGuess:1;
unsigned int needsToReactivateHeartBeating:1;
unsigned int windowPositionIsStale:1;
unsigned int miniWindowTitleNeedsUpdate:1;
unsigned int blockHeartBeat:1;
unsigned int resizeCornerShown:1;
unsigned int locationIsTemporary:1;
unsigned int canHide:1;
unsigned int autofill:1;
unsigned int isOpaque:1;
unsigned int receivedDockDeathNotification:1;
unsigned int minimizeCompleted:1;
unsigned int minimizeFailed:1;
unsigned int windowClosed:1;
unsigned int omouseupPending:1;
unsigned int borderViewHasDisplayName:1;
unsigned int delegateReturnsFieldEditor:1;
unsigned int needsConstraint:1;
unsigned int selectAnyValidResponderOverride:1;
unsigned int windowRefRequiredForCarbonControl:1;
unsigned int windowRefRequiredForCarbonApp:1;
unsigned int canCycle:1;
unsigned int defaultButtonPaused:1;
unsigned int movableByBackground:1;
unsigned int preventsActivation:1;
unsigned int ignoresMouseEvents:1;
unsigned int keyWindowIgnoringFocus:1;
unsigned int liveResizeImageCacheingEnabled:1;
unsigned int currentDepth:4;
unsigned int needsScaling:1;
unsigned int allowsToolTipsWhenApplicationIsInactive:1;
unsigned int needsToSetIgnoreTag:1;
unsigned int needsToResetDragMargins:1;
unsigned int preserveTag:1;
unsigned int needsToRemoveFieldEditor:1;
unsigned int wantsHideOnDeactivate:1;
unsigned int aspectRatioForContent:1;
unsigned int resizeIncrementsForContent:1;
unsigned int minSizeForContent:1;
unsigned int maxSizeForContent:1;
unsigned int reserved:14;
};

struct __bFlags {
unsigned int borderType:2;
unsigned int titlePosition:3;
unsigned int transparent:1;
unsigned int boxType:2;
unsigned int needsTile:1;
unsigned int _RESERVED:23;
};

struct __binderFlags {
unsigned int _isConnected:1;
unsigned int _hasPerformedObservationRegistration:1;
unsigned int _isObserving:1;
unsigned int _reservedBinder:29;
};

struct __binderPluginFlags {
unsigned int _isTableColumnPlugin:1;
unsigned int _isCellPlugin:1;
unsigned int _reservedBinderPlugin:30;
};

struct __bindingFlags {
unsigned int _requiresDirectKeyValueCodingCall:1;
unsigned int _raisesForNotApplicableKeys:1;
unsigned int _validatesImmediately:1;
unsigned int _archiveNullPlaceholder:1;
unsigned int _archiveNoSelectionPlaceholder:1;
unsigned int _archiveMultipleValuesSelectionPlaceholder:1;
unsigned int _archiveNotApplicablePlaceholder:1;
unsigned int _binderSpecificFlags:8;
unsigned int _reservedBinding:17;
};

struct __bindingsControllerFlags {
unsigned int _refreshesAllModelKeys:1;
unsigned int _multipleObservedModelObjects:1;
unsigned int _isEditing:1;
unsigned int _reservedController:29;
};

struct __bitmapRepFlags {
unsigned int bitsPerPixel:8;
unsigned int isPlanar:1;
unsigned int explicitPlanes:1;
unsigned int isUnpacked:1;
unsigned int dataLoaded:1;
unsigned int numColors:4;
unsigned int memory:2;
unsigned int compressionFactor:14;
unsigned int imageNumber:12;
unsigned int compression:20;
};

struct __cbcFlags {
unsigned int usesDataSource:1;
unsigned int completes:1;
unsigned int buttonBordered:1;
unsigned int popUpIsUp:1;
unsigned int filteringEvents:1;
unsigned int drawing:1;
unsigned int reserved:10;
unsigned int visibleItems:16;
};

struct __checkBoxPluginFlags {
unsigned int _allowsMixedState:1;
unsigned int _testedMixedState:1;
unsigned int _reservedCheckBoxPlugin:30;
};

struct __colFlags {
unsigned int isResizable:1;
unsigned int isEditable:1;
unsigned int resizedPostingDisableCount:8;
unsigned int canUseReorderResizeImageCache:1;
unsigned int RESERVED:21;
};

struct __conFlags {
unsigned int enabled:1;
unsigned int ignoreMultiClick:1;
unsigned int calcSize:1;
unsigned int drawingAncestor:1;
unsigned int wantsCellClipTips:1;
unsigned int ibReserved:1;
unsigned int updateCellFocus:1;
unsigned int reserved:25;
};

struct __controllerFlags {
unsigned int shouldCreateUI:1;
unsigned int notingRecentNSDocument:1;
unsigned int RESERVED:30;
};

struct __cvFlags {
unsigned int isFlipped:1;
unsigned int onlyUncovered:1;
unsigned int reflectScroll:1;
unsigned int usedByCell:1;
unsigned int scrollClipTo:1;
unsigned int noCopyOnScroll:1;
unsigned int drawsBackground:1;
unsigned int scrollInProgress:1;
unsigned int skipRemoveSuperviewCheck:1;
unsigned int animateCurrentScroll:1;
unsigned int canAnimateScrolls:1;
unsigned int nextScrollRelativeToCurrentPosition:1;
unsigned int RESERVED:20;
};

struct __cwFlags {
unsigned int isActive:1;
unsigned int isBordered:1;
unsigned int cantDraw:1;
unsigned int isNotContinuous:1;
unsigned int reservedColorWell:28;
};

struct __ddbFlags {
unsigned int waitForDrag:1;
unsigned int currentlyDragging:1;
unsigned int RESERVED:30;
};

struct __displayFontBinderPluginFlags {
unsigned int _isFontInvalidationCapable:1;
unsigned int _reservedDisplayFontBinderPlugin:31;
};

struct __docFlags {
unsigned int inClose:1;
unsigned int hasUndoManager:1;
unsigned int isShowingPageLayout:1;
unsigned int isRunningPrintOperation:1;
unsigned int savePanelNameExtensionHidden:1;
unsigned int reconciledToFileName:1;
unsigned int checkingDisplayName:1;
unsigned int RESERVED:25;
};

struct __drawerBinderFlags {
unsigned int _visibleStateHasBeenSet:1;
unsigned int _expectedVisibleState:1;
unsigned int _reservedDrawerBinder:30;
};

struct __editableBinderFlags {
unsigned int _objectSupportsEditable:1;
unsigned int _referenceBinderRequestedEditableState:1;
unsigned int _referenceBinderDidRequestEditableState:1;
unsigned int _numberOfEditableBindings:4;
unsigned int _objectSupportsEnabled:1;
unsigned int _referenceBinderRequestedEnabledState:1;
unsigned int _referenceBinderDidRequestEnabledState:1;
unsigned int _numberOfEnabledBindings:4;
unsigned int _objectSupportsHidden:1;
unsigned int _referenceBinderRequestedHiddenState:1;
unsigned int _referenceBinderDidRequestHiddenState:1;
unsigned int _numberOfHiddenBindings:4;
unsigned int _reservedEditableBinder:11;
};

struct __editorBinderFlags {
unsigned int _conditionallySetsEditable:1;
unsigned int _objectSupportsEditable:1;
unsigned int _conditionallySetsEnabled:1;
unsigned int _objectSupportsEnabled:1;
unsigned int _conditionallySetsHidden:1;
unsigned int _objectSupportsHidden:1;
unsigned int _reservedEditorBinder:26;
};

struct __fFlags {
unsigned int isScreenFont:1;
unsigned int _systemFontType:4;
unsigned int _RESERVED:8;
unsigned int _matrixIsIdentity:1;
unsigned int _matrixIsFlipped:1;
unsigned int _hasStyle:1;
};

struct __fpFlags {
unsigned int multipleFont:1;
unsigned int dirty:1;
unsigned int amPreviewing:1;
unsigned int alwaysPreview:1;
unsigned int dontPreview:1;
unsigned int setFontChange:1;
unsigned int setFontAttributeChange:1;
unsigned int sizeValueCacheIsValid:1;
unsigned int sizeFieldIsRelative:1;
unsigned int inittedCollPane:1;
unsigned int inittedFavePane:1;
unsigned int didInitialPaneSetup:1;
unsigned int _inNewCol:1;
unsigned int _delRespFamily:1;
unsigned int _delRespFace:1;
unsigned int _delRespSize:1;
unsigned int _delRespColl:1;
unsigned int _collectionDisabled;
unsigned int _sizeDisabled;
unsigned int _faceDisabled;
unsigned int _lastFaceSelection;
unsigned int RESERVED2:12;
};

struct __imageFlags {
unsigned int scalable:1;
unsigned int dataRetained:1;
unsigned int uniqueWindow:1;
unsigned int sizeWasExplicitlySet:1;
unsigned int builtIn:1;
unsigned int needsToExpand:1;
unsigned int useEPSOnResolutionMismatch:1;
unsigned int colorMatchPreferred:1;
unsigned int multipleResolutionMatching:1;
unsigned int subImage:1;
unsigned int archiveByName:1;
unsigned int unboundedCacheDepth:1;
unsigned int flipped:1;
unsigned int aliased:1;
unsigned int dirtied:1;
unsigned int cacheMode:2;
unsigned int focusedWhilePrinting:1;
unsigned int reserved1:14;
};

struct __lmFlags {
unsigned int containersAreFull:1;
unsigned int glyphsMightDrawOutsideLines:1;
unsigned int backgroundLayoutEnabled:1;
unsigned int resizingInProgress:1;
unsigned int allowScreenFonts:1;
unsigned int cachedRectArrayInUse:1;
unsigned int displayInvalidationInProgress:1;
unsigned int insertionPointNeedsUpdate:1;
unsigned int layoutManagerInDirtyList:1;
unsigned int usingGlyphCache:1;
unsigned int showInvisibleCharacters:1;
unsigned int showControlCharacters:1;
unsigned int delegateRespondsToDidInvalidate:1;
unsigned int delegateRespondsToDidComplete:1;
unsigned int glyphFormat:2;
unsigned int textStorageRespondsToIsEditing:1;
unsigned int notifyEditedInProgress:1;
unsigned int containersChanged:1;
unsigned int isGeneratingGlyphs:1;
unsigned int hasNonGeneratedGlyphData:1;
unsigned int loggedBGLayoutException:1;
unsigned int isLayoutRequestedFromSubthread:1;
unsigned int defaultAttachmentScaling:2;
unsigned int isInUILayoutMode:1;
unsigned int seenRightToLeft:1;
unsigned int ignoresAntialiasThreshold:1;
unsigned int needToFlushGlyph:1;
unsigned int _pad:3;
};

struct __mFlags {
unsigned int noAutoenable:1;
unsigned int menuChangedMessagesDisabled:1;
unsigned int needsMenuChangedMessage:1;
unsigned int suppressAutoenable:1;
unsigned int disabled:1;
unsigned int ownedByPopUp:1;
unsigned int delegateNeedsUpdate:1;
unsigned int delegateUpdateItem:1;
unsigned int delegateHasKeyEquiv:1;
unsigned int delegateHasAltKeyEquiv:1;
unsigned int RESERVED:22;
};

struct __matrixPluginFlags {
unsigned int _allowsEmptySelection:1;
unsigned int _testedAllowsEmptySelection:1;
unsigned int _invertedAllowsEmptySelection:1;
unsigned int _reservedMatrixPlugin:29;
};

struct __miFlags {
unsigned int disabled:1;
unsigned int isSeparator:1;
unsigned int hidden:1;
unsigned int alternate:1;
unsigned int indent:4;
unsigned int changed:10;
unsigned int RESERVED:14;
};

struct __micFlags {
unsigned int needsSizing:1;
unsigned int highlighted:1;
unsigned int needsDisplay:1;
unsigned int keyEquivGlyphWidth:16;
unsigned int RESERVED:13;
};

struct __modelObservingTrackerFlags {
unsigned int _multipleObservedModelObjects:1;
unsigned int _reservedModelObservingTrackerFlags:31;
};

struct __msvFlags {
unsigned int isDrawing:1;
unsigned int needsRemoveUpArrow:1;
unsigned int needsRemoveDownArrow:1;
unsigned int RESERVED:29;
};

struct __multipleSelectionMatrixPluginFlags {
unsigned int _testedMode:1;
unsigned int _reservedMultipleSelectionMatrixPlugin:31;
};

struct __mvFlags {
unsigned int needsSizing:1;
unsigned int releasingWindow:1;
unsigned int isHorizontal:1;
unsigned int disableSizing:1;
unsigned int attachedSubmenuWhileMouseWasUp:1;
unsigned int needsToCreateCells:1;
unsigned int allowsTearOffs:1;
unsigned int isTearOff:1;
unsigned int keyEquivGlyphWidth:16;
unsigned int disableResize:1;
unsigned int savedHODState:1;
unsigned int drawCenter:1;
unsigned int RESERVED:5;
};

struct __nibBindingConnectorFlags {
unsigned int _hasEstablishedConnection:1;
unsigned int _reservedNibBindingConnector:31;
};

struct __objectControllerFlags {
unsigned int _editable:1;
unsigned int _automaticallyPreparesContent:1;
unsigned int _hasLoadedData:1;
unsigned int _explicitlyCannotAdd:1;
unsigned int _explicitlyCannotRemove:1;
unsigned int _reservedObjectController:27;
};

struct __objectDetailBinderFlags {
unsigned int _handlesContentAsCompoundValue:1;
unsigned int _reservedObjectDetailBinder:31;
};

struct __objectParameterBinderFlags {
unsigned int _needsToRefreshOriginalValues:1;
unsigned int _reservedObjectParameterBinder:31;
};

struct __pbFlags {
unsigned int needsPullsDownFromTemplate:1;
unsigned int RESERVED:31;
};

struct __pbcFlags {
unsigned int pullsDown:1;
unsigned int preferredEdge:3;
unsigned int menuIsAttached:1;
unsigned int usesItemFromMenu:1;
unsigned int altersStateOfSelectedItem:1;
unsigned int decoding:1;
unsigned int arrowPosition:2;
unsigned int ignoreMenuLayout:1;
unsigned int drawing:1;
unsigned int RESERVED:20;
};

struct __progressIndicatorFlags {
unsigned int isSpinning:1;
unsigned int isVector:1;
unsigned int isLocked:1;
unsigned int controlTint:3;
unsigned int controlSize:2;
unsigned int style:1;
unsigned int _delayedStartup:1;
unsigned int _orderOutForResize:1;
unsigned int _lastImageIndex:4;
unsigned int hideWhenStopped:1;
unsigned int RESERVED:16;
};

struct __rFlags {
unsigned int movable:1;
unsigned int removable:1;
unsigned int dragging:1;
unsigned int pinned:1;
unsigned int _reserved:28;
};

struct __repFlags {
unsigned int hasAlpha:1;
unsigned int isOpaque:1;
unsigned int cacheParamsComputed:1;
unsigned int cacheAlphaComputed:1;
unsigned int loadState:2;
unsigned int reserved:2;
unsigned int bitsPerSample:8;
unsigned int gsaved:16;
};

struct __sFlags2 {
unsigned int hitPart:4;
unsigned int controlSize:2;
unsigned int inMaxEnd:1;
unsigned int reserved:25;
};

struct __scFlags {
unsigned int autoShowGuesses:1;
unsigned int needDelayedGuess:1;
unsigned int unignoreInProgress:1;
unsigned int wordFieldEdited:1;
unsigned int _reserved:28;
};

struct __sdFlags {
unsigned int selectable:1;
unsigned int editable:1;
unsigned int richText:1;
unsigned int importsGraphics:1;
unsigned int fieldEditor:1;
unsigned int usesFontPanel:1;
unsigned int rulerVisible:1;
unsigned int usesRuler:1;
unsigned int postingTextDidEnd:1;
unsigned int beganEditing:1;
unsigned int continuousSpellCheckingEnabled:1;
unsigned int drawsBackground:1;
unsigned int hasSpellCheckerDocumentTag:1;
unsigned int selectionAffinity:2;
unsigned int selectionGranularity:2;
unsigned int blinkCaretDrawn:1;
unsigned int resigningFirstResponder:1;
unsigned int becomingFirstResponder:1;
unsigned int selectionExtensionAnchor:2;
unsigned int rulerUpdateDisabled:1;
unsigned int delegateHandlesKeyBindings:1;
unsigned int insertionPointDisabled:1;
unsigned int smartnessEnabled:1;
unsigned int rulerDisabled:1;
unsigned int continueKillRing:1;
unsigned int trackingAttachmentCell:1;
unsigned int bufferingAltKeypadDigits:1;
unsigned int allowsUndo:1;
unsigned int delegateProvidesUndoManager:1;
};

struct __sdFlags2 {
unsigned int _acceptsGlyphInfo:1;
unsigned int _wantsNotificationForMarkedText:1;
unsigned int _usesFindPanel:1;
unsigned int _allowsDocumentBackgroundColorChange:1;
unsigned int _delegateControlsInsertionPointDrawing:1;
unsigned int _delegateHandlesEvents:1;
unsigned int _delegateHearsAboutEvents:1;
unsigned int _undoRedoInProgress:1;
unsigned int _colorToChange:3;
unsigned int _pad:21;
};

struct __selectionBinderFlags {
unsigned int _insertsNullPlaceholder:1;
unsigned int _contentBindingsAreInSync:1;
unsigned int _needsToSetUpObserving:1;
unsigned int _reservedSelectionBinder:29;
};

struct __sfFlags {
unsigned int sendsWholeSearchString:1;
unsigned int maximumRecents:8;
unsigned int cancelVisible:1;
unsigned int drawSize:2;
unsigned int disableText:1;
unsigned int menuTracking:1;
unsigned int reserved:18;
};

struct __sliderCellFlags {
unsigned int weAreVertical:1;
unsigned int weAreVerticalSet:1;
unsigned int reserved1:1;
unsigned int isPressed:1;
unsigned int allowsTickMarkValuesOnly:1;
unsigned int tickMarkPosition:1;
unsigned int sliderType:2;
unsigned int drawing:1;
unsigned int reserved2:23;
};

struct __tableBinderFlags {
unsigned int _isAutoCreated:1;
unsigned int _ignoreChanges:1;
unsigned int _reservedTableBinder:30;
};

struct __tbFlags {
unsigned int allowsUserCustomization:1;
unsigned int autosavesUsingIdentifier:1;
unsigned int initialConfigurationDone:1;
unsigned int shouldHideAfterCustomization:1;
unsigned int delegateDefaultItemIdentifiers:1;
unsigned int delegateAllowedItemIdentifiers:1;
unsigned int delegateItemWithItemIdentifier:1;
unsigned int delegateNotificationsEnabled:1;
unsigned int prefersToBeShown:1;
unsigned int loadItemsImmediately:1;
unsigned int currentItemsContainsPlaceholder:1;
unsigned int customizationPanelIsRunning:1;
unsigned int usesCustomSheetWidth:1;
unsigned int clickAndDragPerformsCustomization:1;
unsigned int showsNoContextMenu:1;
unsigned int firstMoveableItemIndex:6;
unsigned int keyboardLoopNeedsUpdating:1;
unsigned int showHideDuringConfigurationChangeDisabled:1;
unsigned int displayMode:2;
unsigned int sizeMode:2;
unsigned int delegateSelectableItemIdentifiers:1;
unsigned int RESERVED:4;
};

struct __tbiFlags {
unsigned int viewRespondsToIsEnabled:1;
unsigned int viewRespondsToSetEnabled:1;
unsigned int viewRespondsToTag:1;
unsigned int viewRespondsToSetTag:1;
unsigned int viewRespondsToAction:1;
unsigned int viewRespondsToSetAction:1;
unsigned int viewRespondsToTarget:1;
unsigned int viewRespondsToSetTarget:1;
unsigned int viewRespondsToImage:1;
unsigned int viewRespondsToSetImage:1;
unsigned int isEnabled:1;
unsigned int isUserRemovable:1;
unsigned int menuHasBeenSet:1;
unsigned int menuRepIsDefault:1;
unsigned int viewHasBeenLoaded:1;
unsigned int drawingForDragImage:1;
unsigned int isCustomItemType:1;
unsigned int hasValidatedAutoModeConfiguration:1;
unsigned int useAutoModeConfiguration:1;
unsigned int RESERVED:13;
};

struct __tbvFlags {
unsigned int _layoutInProgress:1;
unsigned int _sizingToFit:1;
unsigned int _isEditing:1;
unsigned int _inCustomizationMode:1;
unsigned int _sourceDragMoves:1;
unsigned int _enabledAsDragSrc:1;
unsigned int _enabledAsDragDest:1;
unsigned int _actingAsPalette:1;
unsigned int _usePaletteLabels:1;
unsigned int _validatesItems:1;
unsigned int _forceItemsToBeMinSize:1;
unsigned int _forceAllClicksToBeDrags:1;
unsigned int _wrapsItems:1;
unsigned int _useGridAlignment:1;
unsigned int _autosizesToFitHorizontally:1;
unsigned int transparentBackground:1;
unsigned int drawsBaseline:1;
unsigned int shouldOverrideHalftonePhase:1;
unsigned int weStartedDrag:1;
unsigned int dragOptimizationOn:1;
unsigned int dragIsInsideView:1;
unsigned int insertionOptimizationShouldEndAfterUpdates:1;
unsigned int wantsKeyboardLoop:1;
unsigned int clipIndicatorWasFirstResponder:1;
unsigned int scheduledDelayedValidateVisibleItems:1;
unsigned int skippedLayoutWhileDisabled:1;
unsigned int shouldHideAfterKeyboardHotKeyEvent:1;
unsigned int RESERVED:5;
};

struct __tcFlags {
unsigned int widthTracksTextView:1;
unsigned int heightTracksTextView:1;
unsigned int observingFrameChanges:1;
unsigned int _reserved:13;
};

struct __textBinderFlags {
unsigned int _objectSupportsTextColor:1;
unsigned int _hasRequestedTextColor:1;
unsigned int _reservedTextBinder:30;
};

struct __textColorBinderFlags {
unsigned int _referenceBinderDidRequestColor:1;
unsigned int _reservedTextColorBinder:31;
};

struct __textColorBinderPluginFlags {
unsigned int _isTextColorInvalidationCapable:1;
unsigned int _reservedTextColorBinderPlugin:31;
};

struct __tfFlags {
unsigned int drawsBackground:1;
unsigned int bezelStyle:3;
unsigned int thcSortDirection:2;
unsigned int thcSortPriority:4;
unsigned int mini:1;
unsigned int textColorIgnoresNormalDisableFlag:1;
unsigned int textColorDisableFlag:1;
unsigned int thcForceHighlightForSort:1;
unsigned int invalidTextColor:1;
unsigned int reservedTextFieldCell:17;
};

struct __ttFlags {
unsigned int drawsBackground:1;
unsigned int selectable:1;
unsigned int editable:1;
unsigned int richText:1;
unsigned int importsGraphics:1;
unsigned int horizontallyResizable:1;
unsigned int verticallyResizable:1;
unsigned int fieldEditor:1;
unsigned int usesFontPanel:1;
unsigned int rulerVisible:1;
unsigned int allowsUndo:1;
unsigned int _pad:21;
};

struct __tvtFlags {
unsigned int drawsBackground:1;
unsigned int selectable:1;
unsigned int editable:1;
unsigned int richText:1;
unsigned int importsGraphics:1;
unsigned int horizontallyResizable:1;
unsigned int verticallyResizable:1;
unsigned int fieldEditor:1;
unsigned int usesFontPanel:1;
unsigned int rulerVisible:1;
unsigned int containerTracksWidth:1;
unsigned int containerTracksHeight:1;
unsigned int usesRuler:1;
unsigned int allowsUndo:1;
unsigned int _pad:18;
};

struct __userDefaultsControllerFlags {
unsigned int _sharedInstance:1;
unsigned int _appliesImmediately:1;
unsigned int _reservedUserDefaultsController:30;
};

struct __valueBinderFlags {
unsigned int _allowsEditingMultipleValuesSelection:1;
unsigned int _continuouslyUpdatesValue:1;
unsigned int _isEditing:1;
unsigned int _useFormattedValue:1;
unsigned int _ignoreShowValue:1;
unsigned int _hasUncommittedChanges:1;
unsigned int _revertBackToOriginalValue:1;
unsigned int _reservedValueBinder:25;
};

struct __valueBinderPluginFlags {
unsigned int _isActionCellPlugin:1;
unsigned int _isFormatterPlugin:1;
unsigned int _isObjectValueInvalidationCapable:1;
unsigned int _reservedValueBinderPlugin:29;
};

struct __viewStateBinderFlags {
unsigned int _ignoreUpdates:1;
unsigned int _reservedViewStateBinder:31;
};

struct __wFlags {
unsigned int backing:2;
unsigned int visible:1;
unsigned int isMainWindow:1;
unsigned int isKeyWindow:1;
unsigned int hidesOnDeactivate:1;
unsigned int dontFreeWhenClosed:1;
unsigned int oneShot:1;
unsigned int deferred:1;
unsigned int cursorRectsDisabled:1;
unsigned int haveFreeCursorRects:1;
unsigned int validCursorRects:1;
unsigned int docEdited:1;
unsigned int dynamicDepthLimit:1;
unsigned int worksWhenModal:1;
unsigned int limitedBecomeKey:1;
unsigned int needsFlush:1;
unsigned int viewsNeedDisplay:1;
unsigned int ignoredFirstMouse:1;
unsigned int repostedFirstMouse:1;
unsigned int windowDying:1;
unsigned int tempHidden:1;
unsigned int floatingPanel:1;
unsigned int wantsToBeOnMainScreen:1;
unsigned int optimizedDrawingOk:1;
unsigned int optimizeDrawing:1;
unsigned int titleIsRepresentedFilename:1;
unsigned int excludedFromWindowsMenu:1;
unsigned int depthLimit:4;
unsigned int delegateReturnsValidRequestor:1;
unsigned int lmouseupPending:1;
unsigned int rmouseupPending:1;
unsigned int wantsToDestroyRealWindow:1;
unsigned int wantsToRegDragTypes:1;
unsigned int sentInvalidateCursorRectsMsg:1;
unsigned int avoidsActivation:1;
unsigned int frameSavedUsingTitle:1;
unsigned int didRegDragTypes:1;
unsigned int delayedOneShot:1;
unsigned int postedNeedsDisplayNote:1;
unsigned int postedInvalidCursorRectsNote:1;
unsigned int initialFirstResponderTempSet:1;
unsigned int autodisplay:1;
unsigned int tossedFirstEvent:1;
unsigned int isImageCache:1;
unsigned int interfaceStyle:3;
unsigned int keyViewSelectionDirection:2;
unsigned int defaultButtonCellKETemporarilyDisabled:1;
unsigned int defaultButtonCellKEDisabled:1;
unsigned int menuHasBeenSet:1;
unsigned int wantsToBeModal:1;
unsigned int showingModalFrame:1;
unsigned int isTerminating:1;
unsigned int win32MouseActivationInProgress:1;
unsigned int makingFirstResponderForMouseDown:1;
unsigned int needsZoom:1;
unsigned int sentWindowNeedsDisplayMsg:1;
unsigned int liveResizeActive:1;
};

struct __wcFlags {
unsigned int shouldCloseDocument:1;
unsigned int shouldCascade:1;
unsigned int nibIsLoaded:1;
unsigned int nibNameIsPath:1;
unsigned int RESERVED:28;
};

struct _colorListFlags {
unsigned int colorsLoaded:1;
unsigned int editable:1;
unsigned int hasDeviceSpecificLists:1;
unsigned int dirty:1;
unsigned int hasFrozen:1;
unsigned int notificationsDisabled:1;
unsigned int hasAttemptedLoadingBundleForDirectory:1;
unsigned int :25;
};

struct _cursorFlags {
unsigned int onMouseExited:1;
unsigned int onMouseEntered:1;
unsigned int cursorType:8;
unsigned int :22;
};

struct _flags {
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :12;
};

struct _fmFlags {
unsigned int multipleFont:1;
unsigned int disabled:1;
unsigned int makePanelKey:1;
unsigned int myNotification:1;
unsigned int _RESERVED:12;
};

struct _frFlags {
unsigned int defeatTitleWrap:1;
unsigned int resizeByIncrement:1;
unsigned int RESERVED:30;
};

struct _mFlags {
unsigned int identity:1;
unsigned int rotated:1;
unsigned int rotationOnly:1;
unsigned int _RESERVED:13;
};

struct _sFlags {
unsigned int isHoriz:1;
unsigned int arrowsLoc:2;
unsigned int partsUsable:2;
unsigned int fine:1;
unsigned int needsEnableFlush:1;
unsigned int thumbing:1;
unsigned int slotDrawn:1;
unsigned int knobDrawn:1;
unsigned int lit:1;
unsigned int knobLit:1;
unsigned int reserved:1;
unsigned int controlTint:3;
unsigned int repeatCount:16;
};

struct _tvFlags {
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :17;
};

struct jpeg_color_deconverter;

struct jpeg_color_quantizer;

struct jpeg_d_coef_controller;

struct jpeg_d_main_controller;

struct jpeg_d_post_controller;

struct jpeg_decomp_master;

struct jpeg_decompress_struct {
struct jpeg_error_mgr *_field1;
struct jpeg_memory_mgr *_field2;
struct jpeg_progress_mgr *_field3;
void *_field4;
int _field5;
int _field6;
struct jpeg_source_mgr *_field7;
unsigned int _field8;
unsigned int _field9;
int _field10;
int _field11;
int _field12;
unsigned int _field13;
unsigned int _field14;
double _field15;
int _field16;
int _field17;
int _field18;
int _field19;
int _field20;
int _field21;
int _field22;
int _field23;
int _field24;
int _field25;
int _field26;
int _field27;
unsigned int _field28;
unsigned int _field29;
int _field30;
int _field31;
int _field32;
int _field33;
char **_field34;
unsigned int _field35;
int _field36;
unsigned int _field37;
int _field38;
unsigned int _field39;
int (*_field40)[64];
CDAnonymousStruct3 *_field41[4];
CDAnonymousStruct3 *_field42[4];
CDAnonymousStruct3 *_field43[4];
int _field44;
CDAnonymousStruct3 *_field45;
int _field46;
int _field47;
unsigned char _field48[16];
unsigned char _field49[16];
unsigned char _field50[16];
unsigned int _field51;
int _field52;
unsigned char _field53;
unsigned char _field54;
unsigned char _field55;
unsigned short _field56;
unsigned short _field57;
int _field58;
unsigned char _field59;
int _field60;
struct jpeg_marker_struct *_field61;
int _field62;
int _field63;
int _field64;
unsigned int _field65;
char *_field66;
int _field67;
CDAnonymousStruct3 *_field68[4];
unsigned int _field69;
unsigned int _field70;
int _field71;
int _field72[10];
int _field73;
int _field74;
int _field75;
int _field76;
int _field77;
struct jpeg_decomp_master *_field78;
struct jpeg_d_main_controller *_field79;
struct jpeg_d_coef_controller *_field80;
struct jpeg_d_post_controller *_field81;
struct jpeg_input_controller *_field82;
struct jpeg_marker_reader *_field83;
struct jpeg_entropy_decoder *_field84;
struct jpeg_inverse_dct *_field85;
struct jpeg_upsampler *_field86;
struct jpeg_color_deconverter *_field87;
struct jpeg_color_quantizer *_field88;
};

struct jpeg_entropy_decoder;

struct jpeg_error_mgr;

struct jpeg_input_controller;

struct jpeg_inverse_dct;

struct jpeg_marker_reader;

struct jpeg_marker_struct;

struct jpeg_memory_mgr;

struct jpeg_progress_mgr;

struct jpeg_source_mgr;

struct jpeg_upsampler;

struct stat {
int _field1;
unsigned int _field2;
unsigned short _field3;
unsigned short _field4;
unsigned int _field5;
unsigned int _field6;
int _field7;
struct timespec _field8;
struct timespec _field9;
struct timespec _field10;
long long _field11;
long long _field12;
unsigned int _field13;
unsigned int _field14;
unsigned int _field15;
int _field16;
long long _field17[2];
};

struct stream_functions;

struct tiff {
char *_field1;
struct _NXStream *_field2;
short _field3;
char _field4;
char _field5;
short _field6;
long _field7;
long _field8;
struct {
unsigned int _field1;
unsigned int _field2;
unsigned int _field3;
unsigned int _field4;
unsigned int _field5;
unsigned int _field6;
unsigned short _field7;
unsigned short _field8;
unsigned short _field9;
unsigned short _field10;
unsigned short _field11;
unsigned short _field12;
unsigned short _field13;
unsigned short _field14;
unsigned short _field15;
unsigned short _field16;
unsigned int _field17;
unsigned int _field18;
unsigned int _field19;
float _field20;
float _field21;
unsigned short _field22;
unsigned short _field23;
float _field24;
float _field25;
unsigned int _field26;
unsigned int _field27;
unsigned short _field28[2];
unsigned int _field29;
unsigned short _field30;
unsigned short _field31;
unsigned short _field32;
unsigned short _field33;
unsigned int _field34;
unsigned short *_field35;
unsigned short *_field36;
unsigned short *_field37;
unsigned short *_field38;
unsigned short *_field39[3];
char *_field40;
char *_field41;
char *_field42;
char *_field43;
char *_field44;
char *_field45;
char *_field46;
char *_field47;
char *_field48;
unsigned int _field49[2];
unsigned int _field50;
unsigned int _field51;
unsigned int *_field52;
unsigned int *_field53;
unsigned short _field54[2];
float *_field55;
unsigned short _field56[2];
unsigned short _field57;
float *_field58;
float *_field59;
float *_field60;
unsigned short *_field61[4];
unsigned short _field62;
unsigned short _field63[2];
char *_field64;
char *_field65;
unsigned int _field66;
void *_field67;
} _field9;
struct {
unsigned short _field1;
unsigned short _field2;
unsigned long _field3;
} _field10;
int *_field11;
int *_field12;
int _field13[10];
long _field14;
int _field15;
int _field16;
long _field17;
long _field18;
int _field19;
long _field20;
void *_field21;
void *_field22;
void *_field23;
void *_field24;
void *_field25;
void *_field26;
void *_field27;
void *_field28;
void *_field29;
void *_field30;
void *_field31;
void *_field32;
char *_field33;
int _field34;
int _field35;
char *_field36;
long _field37;
char *_field38;
long _field39;
long _field40;
int _field41;
int _field42;
};

struct timespec {
int _field1;
long _field2;
};

typedef struct {
unsigned int _field1;
unsigned int _field2;
unsigned int _field3;
} CDAnonymousStruct13;

typedef struct {
double _currentDate;
double _birthDate;
double _lastDate;
} CDAnonymousStruct10;

typedef struct {
short _field1;
short _field2;
} CDAnonymousStruct4;

typedef struct {
void *stream;
char closeOnEnd;
char memoryStream;
char *buffer;
char *currentPtr;
char *endPtr;
} CDAnonymousStruct7;

typedef struct {
struct ATSLayoutRecord _field1;
unsigned short _field2;
struct {
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :10;
} _field3;
} CDAnonymousStruct8;

typedef struct {
unsigned char _field1;
unsigned char _field2;
short _field3;
int _field4;
unsigned char _field5;
char _field6;
unsigned char _field7;
unsigned char _field8;
short _field9;
short _field10;
union {
struct _CGSTabletPointData _field1;
struct _CGSTabletProximityData _field2;
} _field11;
unsigned int :1;
unsigned int :31;
void *_field12;
void *_field13;
int _field14[1];
} CDAnonymousStruct9;

typedef struct {
struct _NSModalSession *_field1;
char _field2;
id _field3;
} CDAnonymousStruct12;

typedef struct {
unsigned int :4;
unsigned int :1;
unsigned int :24;
union {
char *_field1;
CDAnonymousStruct3 *_field2;
struct __CFDictionary *_field3;
} _field1;
} CDAnonymousStruct1;

typedef struct {
id _field1;
int _field2;
int _field3;
struct _flags _field4;
} CDAnonymousStruct5;

typedef struct {
} CDAnonymousStruct3;

typedef struct {
short _field1;
struct {
unsigned char _field1;
unsigned char _field2;
unsigned char _field3;
unsigned char _field4;
} _field2[256];
} CDAnonymousStruct6;

typedef struct {
id _field1;
id _field2;
id _field3;
float _field4;
float _field5;
float _field6;
int _field7;
float _field8;
float _field9;
char _field10;
} CDAnonymousStruct2;

typedef struct {
CDAnonymousStruct3 *_field1;
CDAnonymousStruct3 *_field2;
struct OpaqueATSUStyle *_field3;
struct __CFDictionary *_field4;
CDAnonymousStruct3 *_field5;
int _field6;
int _field7;
float *_field8;
struct __CFDictionary *_field9;
int _field10;
CDAnonymousStruct3 *_field11;
int _field12;
int _field13;
struct __CFArray *_field14;
int _field15;
char *_field16;
char *_field17;
int _field18;
float _field19;
void *_field20;
void *_field21;
void *_field22;
unsigned int _field23;
float _field24;
float _field25;
float _field26;
float _field27;
float _field28;
struct _NSRange _field29;
struct _NSRange _field30;
float _field31;
float _field32;
float _field33;
float _field34;
float _field35;
float _field36;
float _field37;
float _field38;
float _field39;
float _field40;
float _field41;
float _field42;
struct {
unsigned int :1;
unsigned int :4;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :1;
unsigned int :4;
unsigned int :4;
unsigned int :1;
unsigned int :1;
unsigned int :1;
} _field43;
} CDAnonymousStruct11;

typedef struct {
char *data;
int len;
} CDAnonymousStruct14;

/*
* File: AppKit
* Arch: PowerPC (ppc)
* Current version: 743.42.0, Compatibility version: 45.0.0
*/

@protocol NSChangeSpelling
- (void)changeSpelling:(id)fp8;
@end

@protocol NSCoding
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
@end

@protocol NSColorPickingCustom
- (BOOL)supportsMode:(int)fp8;
- (int)currentMode;
- (id)provideNewView:(BOOL)fp8;
- (void)setColor:(id)fp8;
@end

@protocol NSColorPickingDefault
- (id)initWithPickerMask:(int)fp8 colorPanel:(id)fp12;
- (id)provideNewButtonImage;
- (void)insertNewButtonImage:(id)fp8 in:(id)fp12;
- (void)viewSizeChanged:(id)fp8;
- (void)alphaControlAddedOrRemoved:(id)fp8;
- (void)attachColorList:(id)fp8;
- (void)detachColorList:(id)fp8;
- (void)setMode:(int)fp8;
@end

@protocol NSCopying
- (id)copyWithZone:(struct _NSZone *)fp8;
@end

@protocol NSDeserializerStream
- (int)readInt;
- (unsigned int)readAlignedDataSize;
- (void)readData:(void *)fp8 length:(unsigned int)fp12;
- (id)initFromMemoryNoCopy:(const void *)fp8 length:(unsigned int)fp12 freeWhenDone:(BOOL)fp16;
@end

@protocol NSDraggingInfo
- (id)draggingDestinationWindow;
- (unsigned int)draggingSourceOperationMask;
- (struct _NSPoint)draggingLocation;
- (struct _NSPoint)draggedImageLocation;
- (id)draggedImage;
- (id)draggingPasteboard;
- (id)draggingSource;
- (int)draggingSequenceNumber;
- (void)slideDraggedImageTo:(struct _NSPoint)fp8;
- (id)namesOfPromisedFilesDroppedAtDestination:(id)fp8;
@end

@protocol NSDraggingInfoPrivate
- (unsigned int)_lastDragDestinationOperation;
@end

@protocol NSGlyphStorage
- (void)insertGlyphs:(const unsigned int *)fp8 length:(unsigned int)fp12 forStartingGlyphAtIndex:(unsigned int)fp16 characterIndex:(unsigned int)fp20;
- (void)setIntAttribute:(int)fp8 value:(int)fp12 forGlyphAtIndex:(unsigned int)fp16;
- (id)attributedString;
- (unsigned int)layoutOptions;
@end

@protocol NSIgnoreMisspelledWords
- (void)ignoreSpelling:(id)fp8;
@end

@protocol NSInputServerMouseTracker
- (BOOL)mouseDownOnCharacterIndex:(unsigned int)fp8 atCoordinate:(struct _NSPoint)fp12 withModifier:(unsigned int)fp20 client:(id)fp24;
- (BOOL)mouseDraggedOnCharacterIndex:(unsigned int)fp8 atCoordinate:(struct _NSPoint)fp12 withModifier:(unsigned int)fp20 client:(id)fp24;
- (void)mouseUpOnCharacterIndex:(unsigned int)fp8 atCoordinate:(struct _NSPoint)fp12 withModifier:(unsigned int)fp20 client:(id)fp24;
@end

@protocol NSInputServiceProvider
- (void)insertText:(id)fp8 client:(id)fp12;
- (void)doCommandBySelector:(SEL)fp8 client:(id)fp12;
- (void)markedTextAbandoned:(id)fp8;
- (void)markedTextSelectionChanged:(struct _NSRange)fp8 client:(id)fp16;
- (void)terminate:(id)fp8;
- (BOOL)canBeDisabled;
- (BOOL)wantsToInterpretAllKeystrokes;
- (BOOL)wantsToHandleMouseEvents;
- (BOOL)wantsToDelayTextChangeNotifications;
- (void)inputClientBecomeActive:(id)fp8;
- (void)inputClientResignActive:(id)fp8;
- (void)inputClientEnabled:(id)fp8;
- (void)inputClientDisabled:(id)fp8;
- (void)activeConversationWillChange:(id)fp8 fromOldConversation:(long)fp12;
- (void)activeConversationChanged:(id)fp8 toNewConversation:(long)fp12;
@end

@protocol NSLocking
- (void)lock;
- (void)unlock;
@end

@protocol NSMenuItem
+ (void)setUsesUserKeyEquivalents:(BOOL)fp8;
+ (BOOL)usesUserKeyEquivalents;
+ (id)separatorItem;
- (id)initWithTitle:(id)fp8 action:(SEL)fp12 keyEquivalent:(id)fp16;
- (void)setMenu:(id)fp8;
- (id)menu;
- (BOOL)hasSubmenu;
- (void)setSubmenu:(id)fp8;
- (id)submenu;
- (void)setTitle:(id)fp8;
- (id)title;
- (void)setAttributedTitle:(id)fp8;
- (id)attributedTitle;
- (BOOL)isSeparatorItem;
- (void)setKeyEquivalent:(id)fp8;
- (id)keyEquivalent;
- (void)setKeyEquivalentModifierMask:(unsigned int)fp8;
- (unsigned int)keyEquivalentModifierMask;
- (id)userKeyEquivalent;
- (unsigned int)userKeyEquivalentModifierMask;
- (void)setMnemonicLocation:(unsigned int)fp8;
- (unsigned int)mnemonicLocation;
- (id)mnemonic;
- (void)setTitleWithMnemonic:(id)fp8;
- (void)setImage:(id)fp8;
- (id)image;
- (void)setState:(int)fp8;
- (int)state;
- (void)setOnStateImage:(id)fp8;
- (id)onStateImage;
- (void)setOffStateImage:(id)fp8;
- (id)offStateImage;
- (void)setMixedStateImage:(id)fp8;
- (id)mixedStateImage;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)isEnabled;
- (void)setAlternate:(BOOL)fp8;
- (BOOL)isAlternate;
- (void)setIndentationLevel:(int)fp8;
- (int)indentationLevel;
- (void)setTarget:(id)fp8;
- (id)target;
- (void)setAction:(SEL)fp8;
- (SEL)action;
- (void)setTag:(int)fp8;
- (int)tag;
- (void)setRepresentedObject:(id)fp8;
- (id)representedObject;
- (void)setToolTip:(id)fp8;
- (id)toolTip;
@end

@protocol NSMutableCopying
- (id)mutableCopyWithZone:(struct _NSZone *)fp8;
@end

@protocol NSObject
- (BOOL)isEqual:(id)fp8;
- (unsigned int)hash;
- (Class)superclass;
- (Class)class;
- (id)self;
- (struct _NSZone *)zone;
- (id)performSelector:(SEL)fp8;
- (id)performSelector:(SEL)fp8 withObject:(id)fp12;
- (id)performSelector:(SEL)fp8 withObject:(id)fp12 withObject:(id)fp16;
- (BOOL)isProxy;
- (BOOL)isKindOfClass:(Class)fp8;
- (BOOL)isMemberOfClass:(Class)fp8;
- (BOOL)conformsToProtocol:(id)fp8;
- (BOOL)respondsToSelector:(SEL)fp8;
- (id)retain;
- (oneway void)release;
- (id)autorelease;
- (unsigned int)retainCount;
- (id)description;
@end

@protocol NSPreferencesModule
- (id)viewForPreferenceNamed:(id)fp8;
- (id)imageForPreferenceNamed:(id)fp8;
- (BOOL)hasChangesPending;
- (void)saveChanges;
- (void)willBeDisplayed;
- (void)initializeFromDefaults;
- (void)didChange;
- (void)moduleWillBeRemoved;
- (void)moduleWasInstalled;
- (BOOL)moduleCanBeRemoved;
- (BOOL)preferencesWindowShouldClose;
@end

@protocol NSSerializerStream
- (unsigned int)writeInt:(int)fp8;
- (unsigned int)writeAlignedDataSize:(unsigned int)fp8;
- (unsigned int)writeData:(const void *)fp8 length:(unsigned int)fp12;
- (unsigned int)writeRoomForInt:(int *)fp8;
- (void)writeDelayedInt:(int)fp8 for:(int)fp12;
- (void)copySerializationInto:(void *)fp8;
@end

@protocol NSServiceListenerProto
- (id)_doInvokeServiceIn:(id)fp8 msg:(id)fp12 pb:(id)fp16 userData:(id)fp20 error:(id *)fp24 unhide:(BOOL)fp28;
- (oneway void)asyncInvokeServiceIn:(id)fp8 msg:(id)fp12 pb:(id)fp16 userData:(id)fp20 menu:(id)fp24 remoteServices:(id)fp28 unhide:(BOOL)fp32;
- (BOOL)invokeServiceIn:(id)fp8 msg:(id)fp12 pb:(id)fp16 userData:(id)fp20 error:(id *)fp24;
- (BOOL)invokeServiceIn:(id)fp8 msg:(id)fp12 pb:(id)fp16 userData:(id)fp20 menu:(id)fp24 remoteServices:(id)fp28;
- (oneway void)serviceError:(id)fp8 error:(id)fp12;
@end

@protocol NSServiceMasterProto
- (id)objectForServicePath:(id)fp8;
@end

@protocol NSSliderView
- (id)provideNewSubview:(id)fp8;
- (void)setColor:(id)fp8;
- (void)viewSizeChanged:(id)fp8;
- (id)_adjustControls:(id)fp8 andSetColor:(BOOL)fp12;
- (id)adjustControls:(id)fp8;
@end

@protocol NSSpellServerPrivateNewDO
- (struct _NSRange)_findMisspelledWordInString:(in id)fp8 language:(in bycopy id)fp12 learnedDictionaries:(in bycopy id)fp16 wordCount:(out int *)fp20 countOnly:(in char)fp24;
- (bycopy id)_suggestGuessesForWord:(in bycopy id)fp8 inLanguage:(in bycopy id)fp12;
- (bycopy id)_suggestCompletionsForPartialWordRange:(struct _NSRange)fp8 inString:(in bycopy id)fp16 language:(in bycopy id)fp20;
- (BOOL)_learnWord:(in bycopy id)fp8 inDictionary:(in bycopy id)fp12;
- (BOOL)_forgetWord:(in bycopy id)fp8 inDictionary:(in bycopy id)fp12;
- (bycopy id)_wordsInDictionary:(in bycopy id)fp8;
- (oneway void)_setWords:(in bycopy id)fp8 inDictionary:(in bycopy id)fp12;
- (oneway void)_invalidateDictionary:(in bycopy id)fp8 newTime:(in int)fp12;
@end

@protocol NSTextAttachmentCell
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (BOOL)wantsToTrackMouse;
- (void)highlight:(BOOL)fp8 withFrame:(struct _NSRect)fp12 inView:(id)fp28;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (struct _NSSize)cellSize;
- (struct _NSPoint)cellBaselineOffset;
- (void)setAttachment:(id)fp8;
- (id)attachment;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24 characterIndex:(unsigned int)fp28;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24 characterIndex:(unsigned int)fp28 layoutManager:(id)fp32;
- (BOOL)wantsToTrackMouseForEvent:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 atCharacterIndex:(unsigned int)fp32;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 atCharacterIndex:(unsigned int)fp32 untilMouseUp:(BOOL)fp36;
- (struct _NSRect)cellFrameForTextContainer:(id)fp8 proposedLineFragment:(struct _NSRect)fp12 glyphPosition:(struct _NSPoint)fp28 characterIndex:(unsigned int)fp36;
@end

@protocol NSTextInput
- (void)insertText:(id)fp8;
- (void)doCommandBySelector:(SEL)fp8;
- (void)setMarkedText:(id)fp8 selectedRange:(struct _NSRange)fp12;
- (void)unmarkText;
- (BOOL)hasMarkedText;
- (long)conversationIdentifier;
- (id)attributedSubstringFromRange:(struct _NSRange)fp8;
- (struct _NSRange)markedRange;
- (struct _NSRange)selectedRange;
- (struct _NSRect)firstRectForCharacterRange:(struct _NSRange)fp8;
- (unsigned int)characterIndexForPoint:(struct _NSPoint)fp8;
- (id)validAttributesForMarkedText;
@end

@protocol NSURLHandleClient
- (void)URLHandle:(id)fp8 resourceDataDidBecomeAvailable:(id)fp12;
- (void)URLHandleResourceDidBeginLoading:(id)fp8;
- (void)URLHandleResourceDidFinishLoading:(id)fp8;
- (void)URLHandleResourceDidCancelLoading:(id)fp8;
- (void)URLHandle:(id)fp8 resourceDidFailLoadingWithReason:(id)fp12;
@end

@protocol NSUserInterfaceValidations
- (BOOL)validateUserInterfaceItem:(id)fp8;
@end

@protocol NSValidatedUserInterfaceItem
- (SEL)action;
- (int)tag;
@end

@protocol RulebookServer
- (id)getRulebookData:(bycopy id)fp8 makeSharable:(BOOL)fp12 littleEndian:(BOOL)fp16;
- (int)dataStampForTriplet:(bycopy id)fp8 littleEndian:(BOOL)fp12;
- (bycopy id)sampleTextForTriplet:(bycopy id)fp8;
- (void)flushDataForTriplet:(bycopy id)fp8 littleEndian:(BOOL)fp12;
- (bycopy id)coveredCharacterCacheData;
@end

@protocol WebDocumentText
- (BOOL)supportsTextEncoding;
- (id)string;
- (id)attributedString;
- (id)selectedString;
- (id)selectedAttributedString;
- (void)selectAll;
- (void)deselectAll;
@end

@protocol _NSActionBinderPlugin <_NSEditorBinderPlugin>
- (BOOL)targetAndArgumentsAcceptableForPerformAction;
- (BOOL)invokeSelector:(SEL)fp8 withArguments:(id)fp12 forBinding:(id)fp16 object:(id)fp20;
@end

@protocol _NSBinderPlugin
+ (BOOL)isUsableWithObject:(id)fp8;
+ (id)objectMechanismsRequiredForObject:(id)fp8;
- (id)initWithBinder:(id)fp8 object:(id)fp12;
- (BOOL)handleObservingRefresh:(id)fp8;
- (BOOL)observeKeyPathForBindingInfo:(id)fp8 registerOrUnregister:(BOOL)fp12 object:(id)fp16;
- (void)connectionWasEstablished:(id)fp8;
- (void)connectionWasBroken:(id)fp8;
- (Class)defaultPlaceholderLookupClassForBinding:(id)fp8 object:(id)fp12;
- (BOOL)acceptsMarker:(id)fp8 binding:(id)fp12 overrideWithPlaceholderIfDefined:(char *)fp16;
- (BOOL)shouldUseInvalidationForObject:(id)fp8;
@end

@protocol _NSDisplayFontBinderPlugin <_NSBinderPlugin>
- (id)fontInvalidationCapableObjectForObject:(id)fp8;
@end

@protocol _NSEditorBinderPlugin <_NSBinderPlugin>
- (BOOL)prefersEnabledOverEditable:(id)fp8;
- (BOOL)conditionalBehaviorOffByDefault:(id)fp8;
@end

@protocol _NSMultipleSelectionBinderPlugin <_NSSelectionBinderPlugin>
@end

@protocol _NSSelectionBinderPlugin
- (BOOL)canPopulateWithPlaceholders;
- (void)populateObject:(id)fp8 withContent:(id)fp12 valueKey:(id)fp16 insertsNullPlaceholder:(BOOL)fp20;
- (BOOL)canIgnorePopulatingObject:(id)fp8;
@end

@protocol _NSTextColorBinderPlugin <_NSBinderPlugin>
- (id)textColorInvalidationCapableObjectForObject:(id)fp8;
@end

@protocol _NSValueBinderPlugin <_NSEditorBinderPlugin>
- (unsigned long long)allowedValueBindingMask;
- (BOOL)canIgnoreSettingMinAndMaxForObject:(id)fp8;
- (BOOL)canSupportMinAndMaxForObject:(id)fp8;
- (void)storeMin:(BOOL)fp8 andMax:(BOOL)fp12 ofObject:(id)fp16;
- (BOOL)updateCellOrControl:(id)fp8 forMinValue:(id)fp12;
- (BOOL)updateCellOrControl:(id)fp8 forMaxValue:(id)fp12;
- (BOOL)isBooleanValueBindingForObject:(id)fp8;
- (Class)valueClass:(id)fp8;
- (Class)valueClass:(id)fp8 forBinding:(id)fp12;
- (BOOL)needsDelegate;
- (unsigned int)editedIndex:(id)fp8;
- (void)editingHasBegun:(id)fp8;
- (void)editingHasEnded:(id)fp8;
- (void)editingWasAborted:(id)fp8;
- (void)_actionHasBegun:(id)fp8 atIndex:(unsigned int)fp12;
- (void)actionHasBegun:(id)fp8 sender:(id)fp12;
- (void)actionHasEnded:(id)fp8 sender:(id)fp12;
- (id)editingBinderForControl:(id)fp8;
- (BOOL)shouldIgnoreAction:(id)fp8;
- (void)showValue:(id)fp8 inObject:(id)fp12;
- (id)formattedValueInObject:(id)fp8;
- (id)shownValueInObject:(id)fp8;
- (id)formatterOfObject:(id)fp8;
- (BOOL)isObjectTableColumnDataCell:(id)fp8;
- (BOOL)shouldProvideSortDescriptor:(id)fp8;
- (id)objectValueInvalidationCapableObjectForObject:(id)fp8;
- (void)invalidateObjectValueInObject:(id)fp8;
- (BOOL)shouldAlwaysUpdateDisplayValue;
- (int)applyObjectValue:(id)fp8 forBinding:(id)fp12 operation:(int *)fp16;
@end

@interface _NSSparseArray : NSObject
{
NSMutableArray *_theArray;
}

- (id)init;
- (id)_initWithArray:(id)fp8;
- (void)dealloc;
- (id)description;
- (int)count;
- (int)firstIndex;
- (int)lastIndex;
- (BOOL)containsIndex:(int)fp8;
- (int)indexFollowing:(int)fp8;
- (int)indexPreceding:(int)fp8;
- (void)addIndexRange:(struct _NSRange)fp8;
- (void)removeIndexRange:(struct _NSRange)fp8;
- (void)addIndex:(int)fp8;
- (void)removeIndex:(int)fp8;
- (void)removeAllIndices;
- (void)insertSpace:(int)fp8 atIndex:(int)fp12;
- (void)removeSpace:(int)fp8 atIndex:(int)fp12;
- (id)_ranges;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)indexEnumerator;
- (BOOL)isEqual:(id)fp8;

@end

@interface _NSSparseArrayEnumeration : NSEnumerator
{
_NSSparseArray *_sparseArray;
int _currentIndex;
}

- (id)initWithSparseArray:(id)fp8;
- (id)nextObject;
- (void)dealloc;

@end

@interface NSAppleMenuController : NSObject
{
NSMutableArray *appleMenus;
NSMutableArray *appleMenuRepresentedObjects;
}

- (id)init;
- (void)dealloc;
- (void)_controlMenuKnownAbsent:(id)fp8;
- (void)controlMenu:(id)fp8;
- (id)parentItemRepresentedObjectForMenu:(id)fp8;
- (void)_updateKnownNotVisibleAppleMenu:(id)fp8;
- (void)updateAppleMenu:(id)fp8;

@end

@interface NSAppleMenuItemRepresentedObject : NSObject
{
NSString *_title;
NSImage *_image;
NSString *_domainName;
NSString *_key;
NSArray *_submenuRepresentedObjects;
NSDictionary *_dictionary;
}

- (id)path;
- (id)openWithApplication;
- (id)title;
- (void)setTitle:(id)fp8;
- (id)_imageFromNewResourceLocation:(id)fp8;
- (id)image;
- (void)openAppleMenuItem:(id)fp8;
- (id)secondaryInvocation;
- (void)setSubmenuRepresentedObjectsAreStale;
- (BOOL)submenuRepresentedObjectsAreStale;
- (id)_menuItemDictionaries;
- (id)submenuRepresentedObjects;
- (BOOL)hasSubmenu;
- (BOOL)isSeparatorItem;
- (void)initializeItem:(id)fp8;
- (void)_updateSubmenuKnownStale:(id)fp8;
- (void)updateSubmenu:(id)fp8;
- (id)initWithDomainName:(id)fp8 key:(id)fp12 title:(id)fp16 image:(id)fp20;
- (id)initWithDynamicMenuItemDictionary:(id)fp8;
- (id)initWithDictionary:(id)fp8;
- (void)dealloc;

@end

@interface NSApplication (NSAppleMenuPrivate)
- (void)_updateAppleMenu:(id)fp8;
@end

@interface NSApplication (NSAppleMenu)
- (void)setAppleMenu:(id)fp8;
@end

@interface NSApplication (NSWindowCache)
- (CDAnonymousStruct5 *)_getWindowCache:(id)fp8 add:(BOOL)fp12;
- (id)_findWindowUsingCache:(int)fp8;
- (id)_findWindowUsingRealWindowNumber:(int)fp8;
- (void)_updateWindowsUsingCache;
- (void)_setCacheWindowNum:(int)fp8 forWindow:(id)fp12;
- (BOOL)_appHasVisibleWindowOrPanel;
- (BOOL)_appHasOpenNSWindow;
- (BOOL)_appHasNonMiniaturizedWindow;
- (void)_checkForTerminateAfterLastWindowClosed:(id)fp8;
- (void)_setVisibleInCache:(BOOL)fp8 forWindow:(id)fp12;
- (void)_removeWindowFromCache:(id)fp8;
- (BOOL)_isVisibleUsingCache:(id)fp8;
- (void)_setHidesOnDeactivateInCache:(BOOL)fp8 forWindow:(id)fp12;
- (void)_makeHODWindowsPerform:(SEL)fp8;
- (void)_setModalInCache:(BOOL)fp8 forWindow:(id)fp12;
- (void)_makeModalWindowsPerform:(SEL)fp8;
- (void)_restoreMiniaturizedWindow;
@end

@interface NSServicesPasteboard : NSPasteboard
{
char *_sendType;
NSData *_data;
NSPasteboard *_source;
char *firstIndirectType;
BOOL preventRecursion;
}

+ (id)newType:(char *)fp8 data:(id)fp12 firstIndirectType:(char *)fp16;
+ (id)new:(id)fp8 firstIndirectType:(char *)fp12;
- (void)dealloc;
- (BOOL)convertType:(char *)fp8 data:(id)fp12 to:(char *)fp16 inPasteboard:(id)fp20 usingFilter:(int)fp24;
- (void)pasteboard:(id)fp8 provideDataForType:(id)fp12;

@end

@interface NSServicesMenuHandler : NSObject
{
}

+ (BOOL)validateMenuItem:(id)fp8;
+ (id)_processRequest:(id)fp8;

@end

@interface NXTypesPair : NSObject
{
char **sendTypes;
char **returnTypes;
}

@end

@interface NSApplication (NSServicesMenuPrivate)
+ (id)_loadServicesMenuData;
- (id)servicesMenu;
- (BOOL)_launchSpellChecker:(int)fp8;
- (BOOL)_processRequest:(int)fp8 named:(id)fp12 usingPasteboard:(id)fp16;
- (BOOL)_parseMenuString:(id)fp8 menuName:(id *)fp12 itemName:(id *)fp16;
- (void)_registerServicesMenu:(id)fp8 withSendTypes:(const char **)fp12 andReturnTypes:(const char **)fp16 addToList:(BOOL)fp20;
- (void)registerServicesMenuSendTypes:(id)fp8 returnTypes:(id)fp12;
- (id)_initServicesMenu:(id)fp8;
- (id)_freeServicesMenu:(BOOL)fp8;
- (BOOL)_servicesMenuIsVisible;
- (void)setServicesMenu:(id)fp8;
- (void)_rebuildOrUpdateServicesMenu:(BOOL)fp8;
- (id)_doUpdateServicesMenu:(id)fp8;
- (BOOL)_fillSpellCheckerPopupButton:(id)fp8;
- (id)_typeOfPrintFilter:(int)fp8;
- (void)_addPrintFiltersToPopUpButton:(id)fp8;
- (BOOL)_isPrintFilterDeviceDependent:(int)fp8;
- (id)_launchPrintFilter:(int)fp8 file:(id)fp12 deviceDependent:(char *)fp16;
- (void)_finishPrintFilter:(int)fp8 filter:(id)fp12;
@end

@interface NSApplication (NSSavePanelPrivate)
- (id)_fileExtensions;
@end

@interface NSFilePromiseDragSource : NSObject
{
id _dragSource;
NSArray *_filenames;
struct __CFURL *_dropDestination;
BOOL _dragEnded;
}

- (id)initWithSource:(id)fp8;
- (void)dealloc;
- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)fp8;
- (void)draggedImage:(id)fp8 beganAt:(struct _NSPoint)fp12;
- (void)draggedImage:(id)fp8 movedTo:(struct _NSPoint)fp12;
- (BOOL)ignoreModifierKeysWhileDragging;
- (void)draggedImage:(id)fp8 endedAt:(struct _NSPoint)fp12 operation:(unsigned int)fp20;
- (id)fileSpecForName:(id)fp8 atDestination:(struct __CFURL *)fp12;
- (struct __CFURL *)copyDropDirectory;
- (void)getFilenamesAndDropLocation;
- (void)pasteboard:(id)fp8 provideDataForType:(id)fp12 itemIdentifier:(long)fp16;
- (void)setTypes:(id)fp8 onPasteboard:(id)fp12;
- (void)pasteboard:(id)fp8 provideDataForType:(id)fp12;

@end

@interface NSFileDragSource : NSObject
{
}

+ (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)fp8;

@end

@interface NSImage (NSTempHack)
- (id)getGlobalWindowNum:(int *)fp8 frame:(struct _NSRect *)fp12;
@end

@interface NSWindow (NSDrag)
- (void)registerForDraggedTypes:(id)fp8;
- (void)_registerDragTypes:(id)fp8;
- (id)_registerDragTypesIfNeeded;
- (void)_unregisterDragTypes;
- (void)unregisterDraggedTypes;
- (id)_findDragTargetFrom:(id)fp8;
- (unsigned int)draggingEntered:(id)fp8;
- (unsigned int)draggingUpdated:(id)fp8;
- (void)draggingExited:(id)fp8;
- (BOOL)prepareForDragOperation:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (void)concludeDragOperation:(id)fp8;
- (void)dragImage:(id)fp8 at:(struct _NSPoint)fp12 offset:(struct _NSSize)fp20 event:(id)fp28 pasteboard:(id)fp32 source:(id)fp36 slideBack:(BOOL)fp40;
@end

@interface NSView (NSDrag)
- (void)registerForDraggedTypes:(id)fp8;
- (void)unregisterDraggedTypes;
- (unsigned int)draggingEntered:(id)fp8;
- (unsigned int)draggingUpdated:(id)fp8;
- (void)draggingExited:(id)fp8;
- (BOOL)prepareForDragOperation:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (void)concludeDragOperation:(id)fp8;
- (void)dragImage:(id)fp8 at:(struct _NSPoint)fp12 offset:(struct _NSSize)fp20 event:(id)fp28 pasteboard:(id)fp32 source:(id)fp36 slideBack:(BOOL)fp40;
- (id)_hitTest:(struct _NSPoint *)fp8 dragTypes:(id)fp12;
- (BOOL)_treeHasDragTypes;
- (void)_addDragTypesTo:(id)fp8;
- (BOOL)dragFile:(id)fp8 fromRect:(struct _NSRect)fp12 slideBack:(BOOL)fp28 event:(id)fp32;
- (BOOL)dragPromisedFilesOfTypes:(id)fp8 fromRect:(struct _NSRect)fp12 source:(id)fp28 slideBack:(BOOL)fp32 event:(id)fp36;
@end

@interface NSApplication (NSWindowsMenu_Private)
- (void)_addWindowsMenu:(struct __CFArray *)fp8 enabled:(BOOL)fp12;
@end

@interface NSApplication (NSWindowsMenu)
- (id)windowsMenu;
- (void)setWindowsMenu:(id)fp8;
- (void)miniaturizeAll:(id)fp8;
- (void)arrangeInFront:(id)fp8;
- (void)changeWindowsItem:(id)fp8 title:(id)fp12 filename:(BOOL)fp16;
- (void)updateWindowsItem:(id)fp8;
- (void)addWindowsItem:(id)fp8 title:(id)fp12 filename:(BOOL)fp16;
- (void)removeWindowsItem:(id)fp8;
@end

@interface _NSExistingCGSContext : NSCGSContext
{
}

- (id)initWithCGSContext:(struct CGContext *)fp8;
- (BOOL)isDrawingToScreen;
- (void *)focusStack;
- (void)dealloc;
- (void)_invalidate;
- (id)focusedView;
- (struct _NSRect)bounds;
- (BOOL)isFlipped;

@end

@interface NSMenu (carbonMenu_Private)
- (void)_recursiveEnableItems;
@end

@interface NSGraphicsContext (NSEventSourceCategory)
- (void *)contextID;
@end

@interface NSColor (cgGraphicsOps_Private)
+ (id)controlFillColor;
@end

@interface NSGraphicsContext (NSCGSContextBackwardCompatibility)
- (void)flush;
- (void)wait;
@end

@interface NSWindow (NSWindow_CarbonEventHandlers)
- (void)_installCarbonAppDockHandlers;
- (void)_installWindowDepthHandler;
- (void)_installCarbonWindowEventHandlers;
@end

@interface NSObject (NSObjectAccessibilityAttributeAccessAdditions)
- (unsigned int)accessibilityIndexOfChild:(id)fp8;
- (unsigned int)accessibilityArrayAttributeCount:(id)fp8;
- (id)accessibilityArrayAttributeValues:(id)fp8 index:(unsigned int)fp12 maxCount:(unsigned int)fp16;
- (id)accessibilityParameterizedAttributeNames;
- (id)accessibilityAttributeValue:(id)fp8 forParameter:(id)fp12;
@end

@interface NSAccessibilityNotifier : NSObject
{
}

+ (void)handleAppTermination:(id)fp8;

@end

@interface NSAccessibilityMockUIElement : NSObject
{
NSString *_role;
id _parent;
}

+ (id)elementWithRole:(id)fp8 parent:(id)fp12;
- (id)accessibilityAttributeNames;
- (id)initWithRole:(id)fp8 parent:(id)fp12;
- (void)dealloc;
- (BOOL)isEqual:(id)fp8;
- (id)accessibilityRoleAttribute;
- (BOOL)accessibilityIsRoleAttributeSettable;
- (id)accessibilityRoleDescriptionAttribute;
- (BOOL)accessibilityIsRoleDescriptionAttributeSettable;
- (id)accessibilityHelpAttribute;
- (BOOL)accessibilityIsHelpAttributeSettable;
- (id)accessibilityFocusedAttribute;
- (BOOL)accessibilityIsFocusedAttributeSettable;
- (void)accessibilitySetFocusedAttribute:(id)fp8;
- (id)accessibilityParentAttribute;
- (BOOL)accessibilityIsParentAttributeSettable;
- (id)accessibilityWindowAttribute;
- (BOOL)accessibilityIsWindowAttributeSettable;
- (id)accessibilityPositionAttribute;
- (BOOL)accessibilityIsPositionAttributeSettable;
- (id)accessibilitySizeAttribute;
- (BOOL)accessibilityIsSizeAttributeSettable;
- (id)accessibilityAttributeValue:(id)fp8;
- (BOOL)accessibilityIsAttributeSettable:(id)fp8;
- (void)accessibilitySetValue:(id)fp8 forAttribute:(id)fp12;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
- (BOOL)accessibilityShouldUseUniqueId;

@end

@interface NSAccessibilityReparentingProxy : NSAccessibilityProxy
{
id _realElement;
id _fauxParent;
}

+ (id)proxyFor:(id)fp8 fauxParent:(id)fp12;
- (id)initWithElement:(id)fp8 fauxParent:(id)fp12;
- (void)dealloc;
- (id)realElement;
- (id)accessibilityParentAttribute;

@end

@interface NSAccessibilityProxy : NSObject
{
}

- (id)realElement;
- (BOOL)isEqual:(id)fp8;
- (id)accessibilityAttributeNames;
- (id)accessibilityFocusedAttribute;
- (id)_proxyParentedChild:(id)fp8;
- (id)accessibilityChildrenAttribute;
- (id)accessibilityAttributeValue:(id)fp8;
- (BOOL)accessibilityIsAttributeSettable:(id)fp8;
- (void)accessibilitySetValue:(id)fp8 forAttribute:(id)fp12;
- (id)accessibilityParameterizedAttributeNames;
- (id)accessibilityAttributeValue:(id)fp8 forParameter:(id)fp12;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (BOOL)accessibilityIsIgnored;
- (struct _NSRect)accessibilityFocusRingBoundsForBounds:(struct _NSRect)fp8;
- (id)_proxyForUIElement:(id)fp8;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;

@end

@interface NSObject (NSAccessibilityUIElementSpecifier)
- (id)_accessibilityUIElementPathForChild:(id)fp8;
- (id)_accessibilityUIElementPath;
- (BOOL)accessibilityShouldUseUniqueId;
@end

@interface NSActionCell : NSCell
{
int _tag;
id _target;
SEL _action;
id _controlView;
}

+ (void)initialize;
- (id)target;
- (void)setTarget:(id)fp8;
- (SEL)action;
- (void)setAction:(SEL)fp8;
- (int)tag;
- (void)setTag:(int)fp8;
- (void)_setControlView:(id)fp8;
- (id)controlView;
- (void)dealloc;
- (void)setBordered:(BOOL)fp8;
- (void)setBezeled:(BOOL)fp8;
- (void)setImage:(id)fp8;
- (void)setFont:(id)fp8;
- (void)setAlignment:(int)fp8;
- (void)setEnabled:(BOOL)fp8;
- (void)setFloatingPointFormat:(BOOL)fp8 left:(unsigned int)fp12 right:(unsigned int)fp16;
- (id)objectValue;
- (id)stringValue;
- (id)attributedStringValue;
- (int)intValue;
- (float)floatValue;
- (double)doubleValue;
- (void)_setEditingTextView:(id)fp8;
- (void)_clearEditingTextView:(id)fp8;
- (BOOL)_isEditingTextView:(id)fp8;
- (id)_selectOrEdit:(const struct _NSRect *)fp8 inView:(id)fp12 target:(id)fp16 editor:(id)fp20 event:(id)fp24 start:(int)fp28 end:(int)fp32;
- (void)endEditing:(id)fp8;
- (void)_restartEditingWithTextView:(id)fp8;
- (void)setObjectValue:(id)fp8;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (BOOL)textView:(id)fp8 shouldChangeTextInRange:(struct _NSRange)fp12 replacementString:(id)fp20;
- (void)textDidChange:(id)fp8;
- (BOOL)_delegateValidation:(id)fp8 object:(id)fp12 uiHandled:(char *)fp16;
- (BOOL)_validateEntryString:(id)fp8 uiHandled:(char *)fp12;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSAffineTransform : NSObject
{
struct _NSAffineTransformStruct _transformStruct;
}

+ (void)initialize;
+ (id)transform;
- (id)init;
- (id)initWithTransform:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)translateXBy:(float)fp8 yBy:(float)fp12;
- (void)rotateByDegrees:(float)fp8;
- (void)rotateByRadians:(float)fp8;
- (void)scaleBy:(float)fp8;
- (void)scaleXBy:(float)fp8 yBy:(float)fp12;
- (void)invert;
- (void)appendTransform:(id)fp8;
- (void)prependTransform:(id)fp8;
- (struct _NSPoint)transformPoint:(struct _NSPoint)fp8;
- (struct _NSSize)transformSize:(struct _NSSize)fp8;
- (id)transformBezierPath:(id)fp8;
- (void)set;
- (void)concat;
- (struct _NSAffineTransformStruct)transformStruct;
- (void)setTransformStruct:(struct _NSAffineTransformStruct)fp8;
- (void)_fillFloatArray:(float *)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSAlert : NSObject
{
NSTextField *informationField;
id first;
id second;
id third;
NSArray *buttons;
NSPanel *panel;
id messageField;
id imageView;
struct _NSSize minButtonSize;
float buttonSpacing;
float buttonPadding;
float messagePadding;
float buttonSpacingMaxX;
float buttonSpacingY;
id modalDelegate;
NSWindow *docWindow;
SEL didEndSelector;
SEL didDismissSelector;
NSImage *unbadgedImage;
struct _NSSize defaultPanelSize;
id helpButton;
id delegate;
int alertStyle;
id helpAnchor;
BOOL useNSLayout;
BOOL showsHelp;
char reserved[2];
id reserved1;
id reserved2;
}

+ (id)alertWithMessageText:(id)fp8 defaultButton:(id)fp12 alternateButton:(id)fp16 otherButton:(id)fp20 informativeTextWithFormat:(id)fp24;
+ (void)stopAllTimersForSpeaking;
- (id)init;
- (void)dealloc;
- (void)setMessageText:(id)fp8;
- (id)messageText;
- (void)setInformativeText:(id)fp8;
- (id)informativeText;
- (void)setIcon:(id)fp8;
- (id)icon;
- (id)addButtonWithTitle:(id)fp8;
- (id)buttons;
- (void)setShowsHelp:(BOOL)fp8;
- (BOOL)showsHelp;
- (void)setHelpAnchor:(id)fp8;
- (id)helpAnchor;
- (void)setAlertStyle:(int)fp8;
- (int)alertStyle;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)prepare;
- (int)runModal;
- (void)beginSheetModalForWindow:(id)fp8 modalDelegate:(id)fp12 didEndSelector:(SEL)fp16 contextInfo:(void *)fp20;
- (void)didEndAlert:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;
- (id)window;
- (id)buttonPressed:(id)fp8;
- (void)placeButtons:(int)fp8 firstWidth:(float)fp12 secondWidth:(float)fp16 thirdWidth:(float)fp20;
- (float)messageWidthForMessage:(id)fp8;
- (id)setTitle:(id)fp8 andMessage:(id)fp12;
- (id)setMessage:(id)fp8;
- (void)windowDidBecomeKey:(id)fp8;
- (void)stopTimerForSpeaking;
- (void)startTimerForSpeaking;
- (void)startSpeaking:(id)fp8;
- (id)buildAlertStyle:(int)fp8 title:(id)fp12 formattedMsg:(id)fp16 first:(id)fp20 second:(id)fp24 third:(id)fp28 oldStyle:(BOOL)fp32;
- (id)buildAlertStyle:(int)fp8 title:(id)fp12 message:(id)fp16 first:(id)fp20 second:(id)fp24 third:(id)fp28 oldStyle:(BOOL)fp32 args:(char *)fp36;
- (void)didEndSheet:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;

@end

@interface NSScriptCoercionHandler (NSAppKitCoercions)
+ (id)coerceString:(id)fp8 toColor:(Class)fp12;
+ (id)coerceColor:(id)fp8 toString:(Class)fp12;
+ (id)coerceArray:(id)fp8 toColor:(Class)fp12;
+ (id)coerceColor:(id)fp8 toArray:(Class)fp12;
+ (id)coerceData:(id)fp8 toColor:(Class)fp12;
+ (id)coerceColor:(id)fp8 toData:(Class)fp12;
+ (id)coerceString:(id)fp8 toTextStorage:(Class)fp12;
+ (id)coerceTextStorage:(id)fp8 toString:(Class)fp12;
+ (id)coerceData:(id)fp8 toTextStorage:(Class)fp12;
+ (id)coerceTextStorage:(id)fp8 toData:(Class)fp12;
- (void)_setUpAppKitCoercions;
@end

@interface NSAEDescriptorTranslator (NSAppKitTranslations)
+ (id)_colorByTranslatingRGBColor:(id)fp8 toType:(id)fp12 inSuite:(id)fp16;
+ (id)_descriptorByTranslatingTextStorage:(id)fp8 ofType:(id)fp12 inSuite:(id)fp16;
+ (id)_descriptorByTranslatingColor:(id)fp8 ofType:(id)fp12 inSuite:(id)fp16;
- (void)_setUpAppKitTranslations;
@end

@interface NSAppleScript (NSExtensions)
+ (id)_attributedStringFromDescriptor:(id)fp8;
- (id)richTextSource;
@end

@interface NSApplication : NSResponder
{
NSEvent *_currentEvent;
void *_windowList;
id _keyWindow;
id _mainWindow;
id _delegate;
id *_hiddenList;
int _hiddenCount;
void *_context;
id obsolete1;
id obsolete2;
short _unusedApp;
short _running;
struct __appFlags _appFlags;
id _mainMenu;
id _appIcon;
id _nameTable;
id _eventDelegate;
struct NSThreadPrivate *_threadingSupport;
}

+ (void)_initializeArchiverMappings;
+ (void)_initializeRegisteredDefaults;
+ (void)_taskNowMultiThreaded:(id)fp8;
+ (void)load;
+ (void)initialize;
+ (void)_userLoggedOut;
+ (id)sharedApplication;
+ (void)_initializeSharedApplicationForCarbonAppIfNecessary;
+ (void)detachDrawingThread:(SEL)fp8 toTarget:(id)fp12 withObject:(id)fp16;
+ (void)_startDrawingThread:(id)fp8;
- (void)_cleanUpForCarbonAppTermination;
- (void)_installAutoreleasePoolsOnCurrentThreadIfNecessary;
- (void)_registerWithDock;
- (void)_dockRestarted;
- (id)init;
- (void)_aquaColorVariantChanged;
- (void)_setMinimizeOnDoubleClick;
- (void)_minimizeOnDoubleClickChanged;
- (void)_deallocHardCore:(BOOL)fp8;
- (void)dealloc;
- (void)_setEventDelegate:(id)fp8;
- (id)_eventDelegate;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void *)contextID;
- (id)context;
- (void)_addHiddenWindow:(id)fp8;
- (id)_removeHiddenWindow:(id)fp8;
- (void)_doHide;
- (void)hide:(id)fp8;
- (void)unhide:(id)fp8;
- (void)_doUnhideWithoutActivation;
- (void)unhideWithoutActivation;
- (void)hideOtherApplications:(id)fp8;
- (void)unhideAllApplications:(id)fp8;
- (void)_windowNumber:(int)fp8 changedTo:(int)fp12;
- (id)_windowWithRealWindowNumber:(int)fp8;
- (id)windowWithWindowNumber:(int)fp8;
- (id)mainWindow;
- (id)_mainWindow;
- (id)_setMainWindow:(id)fp8;
- (id)keyWindow;
- (id)_keyWindow;
- (id)_keyWindowForHeartBeat;
- (id)_setKeyWindow:(id)fp8;
- (id)_setMouseActivationInProgress:(BOOL)fp8;
- (BOOL)_mouseActivationInProgress;
- (BOOL)_isDeactPending;
- (int)unhide;
- (BOOL)_isDoingOpenFile;
- (int)openFile:(id)fp8 ok:(int *)fp12;
- (int)openTempFile:(id)fp8 ok:(int *)fp12;
- (int)msgPrint:(const char *)fp8 ok:(int *)fp12;
- (BOOL)_openFileWithoutUI:(id)fp8;
- (void)replyToOpenOrPrint:(int)fp8;
- (void)_doOpenFile:(id)fp8 ok:(int *)fp12 tryTemp:(BOOL)fp16;
- (void)_doOpenFiles:(id)fp8;
- (BOOL)_doOpenUntitled;
- (void)_doPrintFile:(id)fp8 ok:(int *)fp12;
- (void)_doPrintFiles:(id)fp8;
- (void)setIsActive:(BOOL)fp8;
- (BOOL)isActive;
- (void)_setWantsToActivate:(BOOL)fp8;
- (BOOL)_wantsToActivate;
- (BOOL)isHidden;
- (BOOL)_hiddenOnLaunch;
- (BOOL)_isDoingUnhide;
- (BOOL)_isDoingHide;
- (BOOL)_isRunningAppModal;
- (BOOL)_isRunningDocModal;
- (BOOL)_isRunningModal;
- (BOOL)isRunning;
- (void)deactivate;
- (void)activateIgnoringOtherApps:(BOOL)fp8;
- (void)_deactivateWindows;
- (void)_activateWindows;
- (void)_postDidFinishNotification;
- (void)_sendFinishLaunchingNotification;
- (BOOL)_replyToLaunch;
- (id)_replyToOpen:(int)fp8;
- (void)finishLaunching;
- (BOOL)_didNSOpenOrPrint;
- (void)_startRunMethod;
- (void)_endRunMethod;
- (void)_preEventHandling;
- (void)_postEventHandling;
- (void)run;
- (void)_modalSession:(struct _NSModalSession *)fp8 sendEvent:(id)fp12;
- (void)_realDoModalLoop:(struct _NSModalSession *)fp8 peek:(BOOL)fp12;
- (void)_doModalLoop:(struct _NSModalSession *)fp8 peek:(BOOL)fp12;
- (void)_doPostedModalLoopMsg:(CDAnonymousStruct12 *)fp8;
- (int)runModalForWindow:(id)fp8;
- (BOOL)_needsModalCompatibilityMode;
- (BOOL)_wantsDeviceDependentEventModifierFlags;
- (int)runModalForWindow:(id)fp8 relativeToWindow:(id)fp12;
- (void)beginSheet:(id)fp8 modalForWindow:(id)fp12 modalDelegate:(id)fp16 didEndSelector:(SEL)fp20 contextInfo:(void *)fp24;
- (void)stop:(id)fp8;
- (void)stopModal;
- (void)endSheet:(id)fp8;
- (void)stopModalWithCode:(int)fp8;
- (void)endSheet:(id)fp8 returnCode:(int)fp12;
- (void)abortModal;
- (id)_orderFrontModalWindow:(id)fp8 relativeToWindow:(id)fp12;
- (struct _NSModalSession *)_commonBeginModalSessionForWindow:(id)fp8 relativeToWindow:(id)fp12 modalDelegate:(id)fp16 didEndSelector:(SEL)fp20 contextInfo:(void *)fp24;
- (struct _NSModalSession *)beginModalSessionForWindow:(id)fp8 relativeToWindow:(id)fp12;
- (struct _NSModalSession *)beginModalSessionForWindow:(id)fp8;
- (int)runModalSession:(struct _NSModalSession *)fp8;
- (void)endModalSession:(struct _NSModalSession *)fp8;
- (id)modalWindow;
- (BOOL)_hasActiveRequest;
- (int)requestUserAttention:(int)fp8;
- (void)cancelUserAttentionRequest:(int)fp8;
- (void)_cancelRequest:(id)fp8;
- (void)_cancelAllUserAttentionRequests;
- (BOOL)_shouldTerminate;
- (void)_docController:(id)fp8 shouldTerminate:(BOOL)fp12;
- (void)replyToApplicationShouldTerminate:(BOOL)fp8;
- (void)_terminateSendShould:(BOOL)fp8;
- (void)terminate:(id)fp8;
- (void)_createWakeupPort;
- (void)_destroyWakeupPort;
- (void)_sendPortMessageWithComponent:(id)fp8 msgID:(int)fp12 timeout:(double)fp16;
- (id)delayWindowOrdering;
- (void)preventWindowOrdering;
- (id)nextEventMatchingMask:(unsigned int)fp8 untilDate:(id)fp12 inMode:(id)fp16 dequeue:(BOOL)fp20;
- (void)_setCurrentEvent:(id)fp8;
- (id)currentEvent;
- (void)discardEventsMatchingMask:(unsigned int)fp8 beforeEvent:(id)fp12;
- (void)postEvent:(id)fp8 atStart:(BOOL)fp12;
- (unsigned long long)_lastEventRecordTime;
- (void)rightMouseDown:(id)fp8;
- (BOOL)_handleKeyEquivalent:(id)fp8;
- (void)sendEvent:(id)fp8;
- (BOOL)shouldBeTreatedAsInkEvent:(id)fp8;
- (void)_resignKeyFocus;
- (void)_obtainKeyFocus;
- (BOOL)_hasKeyFocus;
- (void)_setAllPanelsNonactivating:(BOOL)fp8;
- (BOOL)_areAllPanelsNonactivating;
- (id)frontWindow;
- (id)makeWindowsPerform:(SEL)fp8 inOrder:(BOOL)fp12;
- (void)_cycleWindowsReversed:(BOOL)fp8;
- (void)_cycleUtilityWindowsReversed:(BOOL)fp8;
- (void)_dockDied;
- (void)_setApplicationIconImage:(id)fp8 setDockImage:(BOOL)fp12;
- (void)setApplicationIconImage:(id)fp8;
- (id)applicationIconImage;
- (id)_appIcon;
- (id)windows;
- (void)_setWindowsNeedUpdateForSecondaryThread:(id)fp8;
- (void)setWindowsNeedUpdate:(BOOL)fp8;
- (void)updateWindows;
- (BOOL)tryToPerform:(SEL)fp8 with:(id)fp12;
- (id)validRequestorForSendType:(id)fp8 returnType:(id)fp12;
- (id)targetForAction:(SEL)fp8;
- (id)targetForAction:(SEL)fp8 to:(id)fp12 from:(id)fp16;
- (BOOL)sendAction:(SEL)fp8 to:(id)fp12 from:(id)fp16;
- (void)_setMainMenu:(id)fp8;
- (void)setMainMenu:(id)fp8;
- (id)mainMenu;
- (void)setMenu:(id)fp8;
- (id)menu;
- (void)setDockMenu:(id)fp8;
- (struct __CFDictionary *)_flattenMenuItem:(id)fp8;
- (struct __CFArray *)_flattenMenu:(id)fp8;
- (struct __CFArray *)_createDockMenu:(BOOL)fp8;
- (id)_removeWindow:(id)fp8;
- (id)_addWindow:(id)fp8;
- (void)_handleCursorUpdate:(id)fp8;
- (id)_cursorRectCursor;
- (id)_restoreCursor;
- (int)_currentActivation;
- (id)_setCurrentActivation:(int)fp8;
- (int)_pendingActCount;
- (void)reportException:(id)fp8;
- (void)_freeSpeechItems;
- (void)speakString:(id)fp8;
- (BOOL)isSpeaking;
- (void)stopSpeaking:(id)fp8;
- (BOOL)_isNSDocumentBased;
- (BOOL)validateUserInterfaceItem:(id)fp8;
- (BOOL)validateMenuItem:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (BOOL)conformsToProtocol:(id)fp8;
- (void)doCommandBySelector:(SEL)fp8;
- (void)orderFrontCharacterPalette:(id)fp8;
- (BOOL)_processSwitchesEnabled;

@end

@interface _NSDrawingThreadData : NSObject
{
SEL selector;
id target;
id argument;
}

@end

@interface NSPrivateKitClassForFindingBundle : NSObject
{
}

@end

@interface NSApplication (NSKeyValueObservingCustomization)
+ (BOOL)automaticallyNotifiesObserversForKey:(id)fp8;
@end

@interface NSNotificationCenter (NSNotificationCenterAppKitExtensions)
- (void)_addObserver:(id)fp8 notificationNamesAndSelectorNames:(id)fp12 object:(id)fp16 onlyIfSelectorIsImplemented:(BOOL)fp20;
- (void)_removeObserver:(id)fp8 notificationNamesAndSelectorNames:(id)fp12 object:(id)fp16;
@end

@interface NSApplication (NSCarbonWindowHandling)
- (void)_realDoModalLoopForCarbonWindow:(struct _NSModalSession *)fp8 peek:(BOOL)fp12;
- (int)runModalForCarbonWindow:(id)fp8;
@end

@interface NSApplication (NSApplicationAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (BOOL)accessibilityIsRoleAttributeSettable;
- (id)accessibilityRoleDescriptionAttribute;
- (BOOL)accessibilityIsRoleDescriptionAttributeSettable;
- (id)accessibilityTitleAttribute;
- (BOOL)accessibilityIsTitleAttributeSettable;
- (id)accessibilityMenuBarAttribute;
- (BOOL)accessibilityIsMenuBarAttributeSettable;
- (id)accessibilityWindowsAttribute;
- (BOOL)accessibilityIsWindowsAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsChildrenAttributeSettable;
- (id)accessibilityFrontmostAttribute;
- (BOOL)accessibilityIsFrontmostAttributeSettable;
- (void)accessibilitySetFrontmostAttribute:(id)fp8;
- (id)accessibilityHiddenAttribute;
- (BOOL)accessibilityIsHiddenAttributeSettable;
- (void)accessibilitySetHiddenAttribute:(id)fp8;
- (id)accessibilityMainWindowAttribute;
- (BOOL)accessibilityIsMainWindowAttributeSettable;
- (id)accessibilityFocusedWindowAttribute;
- (BOOL)accessibilityIsFocusedWindowAttributeSettable;
- (id)accessibilityFocusedUIElementAttribute;
- (BOOL)accessibilityIsFocusedUIElementAttributeSettable;
- (id)accessibilityAttributeValue:(id)fp8;
- (BOOL)accessibilityIsAttributeSettable:(id)fp8;
- (void)accessibilitySetValue:(id)fp8 forAttribute:(id)fp12;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityHitTest;
- (id)accessibilityFocusedUIElement;
- (BOOL)accessibilityShouldUseUniqueId;
@end

@interface NSApplication (NSScripting)
- (id)orderedDocuments;
- (id)_orderedWindowsWithPanels:(BOOL)fp8;
- (id)orderedWindows;
- (id)valueInOrderedWindowsWithUniqueID:(int)fp8;
- (BOOL)_delegate:(id)fp8 handlesKey:(id)fp12;
- (id)valueForKey:(id)fp8;
- (void)takeValue:(id)fp8 forKey:(id)fp12;
- (id)valueAtIndex:(unsigned int)fp8 inPropertyWithKey:(id)fp12;
- (id)valueWithName:(id)fp8 inPropertyWithKey:(id)fp12;
- (id)valueWithUniqueID:(id)fp8 inPropertyWithKey:(id)fp12;
- (void)insertValue:(id)fp8 atIndex:(unsigned int)fp12 inPropertyWithKey:(id)fp16;
- (void)insertValue:(id)fp8 inPropertyWithKey:(id)fp12;
- (void)removeValueAtIndex:(unsigned int)fp8 fromPropertyWithKey:(id)fp12;
- (void)replaceValueAtIndex:(unsigned int)fp8 inPropertyWithKey:(id)fp12 withValue:(id)fp16;
- (void)handleOpenScriptCommand:(id)fp8;
- (void)handlePrintScriptCommand:(id)fp8;
- (void)handleQuitScriptCommand:(id)fp8;
@end

@interface NSATSGlyphGenerator : NSGlyphGenerator
{
struct OpaqueATSUStyle *_style;
struct ATSGlyphVector _glyphVector;
}

+ (void)initialize;
+ (id)sharedGlyphGenerator;
- (void)dealloc;
- (void)generateGlyphsForLayoutManager:(id)fp8 range:(struct _NSRange)fp12 desiredNumberOfCharacters:(unsigned int)fp20 startingAtGlyphIndex:(unsigned int)fp24 completedRange:(struct _NSRange *)fp28 nextGlyphIndex:(unsigned int *)fp32;

@end

@interface NSAttachmentTextStorage : NSTextStorage
{
NSTextStorage *_realTS;
}

- (id)init;
- (void)dealloc;
- (id)string;
- (id)attributesAtIndex:(unsigned int)fp8 effectiveRange:(struct _NSRange *)fp12;
- (void)replaceCharactersInRange:(struct _NSRange)fp8 withString:(id)fp16;
- (void)setAttributes:(id)fp8 range:(struct _NSRange)fp12;
- (id)filename;
- (void)setFilename:(id)fp8;

@end

@interface NSAttributeDictionaryEnumerator : NSEnumerator
{
NSAttributeDictionary *dictionary;
unsigned int nextElement;
}

- (id)initWithAttributeDictionary:(id)fp8;
- (id)nextObject;
- (void)dealloc;

@end

@interface NSAttributeDictionary : NSDictionary
{
unsigned int numElements;
unsigned int refCount;
struct _NSAttributeDictionaryElement elements[1];
}

+ (void)initialize;
+ (id)emptyAttributeDictionary;
+ (id)newWithDictionary:(id)fp8;
- (id)newWithKey:(id)fp8 object:(id)fp12;
- (unsigned int)count;
- (id)objectForKey:(id)fp8;
- (id)keyEnumerator;
- (id)retain;
- (void)release;
- (unsigned int)retainCount;
- (void)dealloc;
- (id)mutableCopyWithZone:(struct _NSZone *)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (BOOL)isEqualToDictionary:(id)fp8;

@end

@interface NSTempAttributeDictionary : NSAttributeDictionary
{
}

@end

@interface NSAttributedStringWebDelegate : NSObject
{
BOOL _loadDidFinish;
BOOL _loadDidSucceed;
}

- (id)init;
- (BOOL)loadDidFinish;
- (BOOL)loadDidSucceed;
- (void)webView:(id)fp8 didStartProvisionalLoadForFrame:(id)fp12;
- (void)webView:(id)fp8 didCommitLoadForFrame:(id)fp12;
- (void)webView:(id)fp8 didFailProvisionalLoadWithError:(id)fp12 forFrame:(id)fp16;
- (void)webView:(id)fp8 didFinishLoadForFrame:(id)fp12;
- (void)webView:(id)fp8 didFailLoadWithError:(id)fp12 forFrame:(id)fp16;
- (id)webView:(id)fp8 identifierForInitialRequest:(id)fp12 fromDataSource:(id)fp16;
- (id)webView:(id)fp8 resource:(id)fp12 willSendRequest:(id)fp16 redirectResponse:(id)fp20 fromDataSource:(id)fp24;
- (void)webView:(id)fp8 resource:(id)fp12 didReceiveAuthenticationChallenge:(id)fp16 fromDataSource:(id)fp20;
- (void)webView:(id)fp8 resource:(id)fp12 didFinishLoadingFromDataSource:(id)fp16;
- (void)webView:(id)fp8 resource:(id)fp12 didFailLoadingWithError:(id)fp16 fromDataSource:(id)fp20;
- (void)webView:(id)fp8 decidePolicyForMIMEType:(id)fp12 request:(id)fp16 frame:(id)fp20 decisionListener:(id)fp24;

@end

@interface NSAttributedString (NSAttributedStringKitAdditions)
+ (void)_loadHTMLFrameworkIfNeeded;
+ (Class)_htmlDocumentClass;
+ (void)_loadWebKitFrameworkIfNeeded;
+ (Class)_webViewClass;
+ (id)_webPreferences;
+ (id)textUnfilteredFileTypes;
+ (id)textUnfilteredPasteboardTypes;
+ (id)textFileTypes;
+ (id)textPasteboardTypes;
- (BOOL)_usesProgrammingLanguageBreaks;
- (id)defaultLanguage;
- (struct _NSRange)doubleClickAtIndex:(unsigned int)fp8;
- (struct _NSRange)doubleClickAtIndex:(unsigned int)fp8 inRange:(struct _NSRange)fp12;
- (unsigned int)lineBreakBeforeIndex:(unsigned int)fp8 withinRange:(struct _NSRange)fp12;
- (unsigned int)lineBreakByHyphenatingBeforeIndex:(unsigned int)fp8 withinRange:(struct _NSRange)fp12;
- (unsigned int)nextWordFromIndex:(unsigned int)fp8 forward:(BOOL)fp12;
- (BOOL)containsAttachments;
- (id)_RTFWithSelector:(SEL)fp8 range:(struct _NSRange)fp12 documentAttributes:(id)fp20;
- (id)RTFFromRange:(struct _NSRange)fp8 documentAttributes:(id)fp16;
- (id)RTFDFromRange:(struct _NSRange)fp8 documentAttributes:(id)fp16;
- (id)RTFDFileWrapperFromRange:(struct _NSRange)fp8 documentAttributes:(id)fp16;
- (id)docFormatFromRange:(struct _NSRange)fp8 documentAttributes:(id)fp16;
- (id)_initWithRTFSelector:(SEL)fp8 argument:(id)fp12 documentAttributes:(id *)fp16;
- (id)initWithRTF:(id)fp8 documentAttributes:(id *)fp12;
- (id)initWithRTFD:(id)fp8 documentAttributes:(id *)fp12;
- (id)initWithRTFDFileWrapper:(id)fp8 documentAttributes:(id *)fp12;
- (id)initWithDocFormat:(id)fp8 documentAttributes:(id *)fp12;
- (id)_initWithURLFunnel:(id)fp8 options:(id)fp12 documentAttributes:(id *)fp16;
- (id)initWithURL:(id)fp8 documentAttributes:(id *)fp12;
- (id)initWithPath:(id)fp8 documentAttributes:(id *)fp12;
- (id)initWithHTML:(id)fp8 options:(id)fp12 documentAttributes:(id *)fp16;
- (id)initWithHTML:(id)fp8 documentAttributes:(id *)fp12;
- (id)initWithHTML:(id)fp8 baseURL:(id)fp12 documentAttributes:(id *)fp16;
- (id)fontAttributesInRange:(struct _NSRange)fp8;
- (id)rulerAttributesInRange:(struct _NSRange)fp8;
@end

@interface _NSAttributeRun : NSObject
{
struct _NSRange _range;
NSTextStorage *_textStorage;
NSMutableArray *_attributesArray;
}

- (id)initWithTextStorage:(id)fp8 range:(struct _NSRange)fp12;
- (void)dealloc;
- (void)restoreAttributesOfTextStorage:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (struct _NSRange)range;

@end

@interface _NSAttributes : NSObject
{
NSDictionary *_attributes;
struct _NSRange _range;
}

- (id)initWithAttributes:(id)fp8 range:(struct _NSRange)fp12;
- (void)dealloc;
- (void)setAttributesInTextStorage:(id)fp8;

@end

@interface NSAATAttributes : NSDictionary
{
void *_featureTypes;
void *_featureSelectors;
void *_attributeTags;
void *_attributeSizes;
void *_attributeValues;
void *_flattenedValues;
unsigned int _numFeatures;
unsigned int _numAttributes;
unsigned int _flattenedValueLength;
void *_reserved;
}

+ (id)aatAttributes;
- (void)_flush;
- (void)loadAttributesFromDictionary:(id)fp8;
- (void)dealloc;
- (void)fillPlatformStyle:(void *)fp8;
- (void)beginEditing;
- (void)endEditing;
- (void)addFeatureValue:(unsigned int)fp8;
- (unsigned int)numberOfFeatureValues;
- (unsigned int)featureTagValueAtIndex:(unsigned int)fp8;
- (BOOL)isEqualToDictionary:(id)fp8;
- (unsigned int)count;
- (id)keyEnumerator;
- (id)objectForKey:(id)fp8;

@end

@interface NSATSTypesetter : NSTypesetter
{
NSAttributedString *attributedString;
struct _NSRange paragraphGlyphRange;
struct _NSRange paragraphSeparatorGlyphRange;
float lineFragmentPadding;
NSLayoutManager *layoutManager;
NSArray *textContainers;
NSTextContainer *currentTextContainer;
unsigned int currentTextContainerIndex;
struct _NSSize currentTextContainerSize;
NSParagraphStyle *currentParagraphStyle;
void *_atsReserved[8];
void *_private;
}

+ (void)initialize;
+ (id)sharedInstance;
+ (id)new;
+ (id)sharedTypesetter;
+ (void)_setTypographyPanelKeys:(id)fp8;
+ (void)_fillPlatformTextStyle:(void *)fp8 withAttributes:(id)fp12 disableKerning:(BOOL)fp16;
- (void)release;
- (void)dealloc;
- (void)_fillPlatformGlyphArray:(CDAnonymousStruct8 *)fp8 withGlyphsInRange:(struct _NSRange)fp12;
- (void)_setUpPlatformLineLayoutContext:(struct ATSGlyphVector *)fp8 forGlyphRange:(struct _NSRange)fp12 isParagraph:(BOOL)fp20;
- (void)_copyStyleSettingsFromGlyphVector:(const struct ATSGlyphVector *)fp8 toSubVector:(struct ATSGlyphVector *)fp12 subVectorIndex:(unsigned int)fp16;
- (void)_recalculateDelta:(struct ATSGlyphVector *)fp8;
- (void)_substituteGlyphWithPlatformGlyphArray:(const void *)fp8 length:(unsigned int)fp12 glyphFlushCheck:(BOOL)fp16;
- (void)_saveLineFragmentWithGlyphRange:(struct _NSRange)fp8 glyphVector:(const struct ATSGlyphVector *)fp16 glyphOrigin:(float)fp20 drawsOutside:(BOOL)fp24 lineFragmentRect:(struct _NSRect)fp28 isElasticRange:(BOOL)fp44 flipGlyphLocation:(BOOL)fp48;
- (void)_updateParagraphStyleSettings:(id)fp8 attributes:(id)fp12;
- (void)getLineFragmentRect:(struct _NSRect *)fp8 usedRect:(struct _NSRect *)fp12 forParagraphSeparatorGlyphRange:(struct _NSRange)fp16 atProposedOrigin:(struct _NSPoint)fp24;
- (void)_processSpecialGlyphs:(struct ATSGlyphVector *)fp8 inRect:(struct _NSRect)fp12 glyphOffset:(unsigned int)fp28;
- (BOOL)_recalculateInscriptionLineHeightInGlyphVector:(struct ATSGlyphVector *)fp8 forGlyphRange:(struct _NSRange)fp12 usesLeading:(BOOL)fp20 lineheight:(float *)fp24 glyphOffset:(float *)fp28;
- (BOOL)_calculateLineHeightInGlyphVector:(struct ATSGlyphVector *)fp8 forGlyphRange:(struct _NSRange)fp12 usesLeading:(BOOL)fp20 lineheight:(float *)fp24 glyphOffset:(float *)fp28 fontLeading:(float *)fp32;
- (unsigned int)_charIndexToBreakLineByWordWrappingAtIndex:(unsigned int)fp8 inRange:(struct _NSRange)fp12 hyphenate:(char *)fp20 glyphVector:(struct ATSGlyphVector *)fp24;
- (BOOL)_doJustifyGlyphVector:(struct ATSGlyphVector *)fp8 withGlyphRange:(struct _NSRange)fp12 delta:(float)fp20;
- (void)_doTabsInGlyphVector:(struct ATSGlyphVector *)fp8 glyphOrigin:(float)fp12 lineWidth:(long)fp16;
- (void)_setupBidiSettingsInGlyphVector:(struct ATSGlyphVector *)fp8;
- (void)_recalculateDefaultVerticalLineSettings:(CDAnonymousStruct11 *)fp8:(CDAnonymousStruct2 *)fp12:(struct _NSRect)fp16:(float)fp32:(float)fp36:(BOOL)fp40:(BOOL)fp44;
- (BOOL)_tightenGlyphVector:(struct ATSGlyphVector *)fp8 delta:(float)fp12 maxWidth:(float)fp16;
- (void)_beginLayout:(struct _NSRect *)fp8;
- (BOOL)_shouldInsertHyphenGlyph:(unsigned int)fp8 atIndex:(unsigned int)fp12;
- (BOOL)_layoutLineStartingWithGlyphAtIndex:(unsigned int *)fp8 withProposedRect:(struct _NSRect *)fp12;
- (void)_endLayout;
- (struct ATSGlyphVector *)_paragraphGlyphVector;
- (struct ATSGlyphVector *)_lineGlyphVector;
- (void)_getRemainingNominalParagraphGlyphRange:(struct _NSRange *)fp8 andParagraphSeparatorRange:(struct _NSRange *)fp12 forGlyphAtIndex:(unsigned int)fp16;
- (float)lineFragmentPadding;
- (void)setLineFragmentPadding:(float)fp8;
- (id)substituteFontForFont:(id)fp8;
- (struct _NSRange)characterRangeForGlyphRange:(struct _NSRange)fp8 actualGlyphRange:(struct _NSRange *)fp16;
- (struct _NSRange)glyphRangeForCharacterRange:(struct _NSRange)fp8 actualCharacterRange:(struct _NSRange *)fp16;
- (unsigned int)getGlyphsInRange:(struct _NSRange)fp8 glyphs:(unsigned int *)fp16 characterIndexes:(unsigned int *)fp20 glyphInscriptions:(int *)fp24 elasticBits:(char *)fp28 bidiLevels:(char *)fp32;
- (unsigned int)getGlyphsInRange:(struct _NSRange)fp8 glyphs:(unsigned int *)fp16 characterIndexes:(unsigned int *)fp20 glyphInscriptions:(int *)fp24 elasticBits:(char *)fp28;
- (struct _NSRect)lineFragmentRectForProposedRect:(struct _NSRect)fp8 remainingRect:(struct _NSRect *)fp24;
- (id)textTabForGlyphLocation:(float)fp8 writingDirection:(int)fp12 maxLocation:(float)fp16;
- (BOOL)bidiProcessingEnabled;
- (void)setBidiProcessingEnabled:(BOOL)fp8;
- (void)setLineFragmentUsedRect:(struct _NSRect)fp8 forGlyphRange:(struct _NSRange)fp24;
- (void)setLineFragmentRect:(struct _NSRect)fp8 forGlyphRange:(struct _NSRange)fp24 usedRect:(struct _NSRect)fp32 baselineOffset:(float)fp48;
- (void)substituteGlyphsInRange:(struct _NSRange)fp8 withGlyphs:(unsigned int *)fp16;
- (void)insertGlyph:(unsigned int)fp8 atGlyphIndex:(unsigned int)fp12 characterIndex:(unsigned int)fp16;
- (void)deleteGlyphsInRange:(struct _NSRange)fp8;
- (void)setNotShownAttribute:(BOOL)fp8 forGlyphRange:(struct _NSRange)fp12;
- (void)setDrawsOutsideLineFragment:(BOOL)fp8 forGlyphRange:(struct _NSRange)fp12;
- (void)setLocation:(struct _NSPoint)fp8 withAdvancements:(const float *)fp16 forStartOfGlyphRange:(struct _NSRange)fp20;
- (void)setAttachmentSize:(struct _NSSize)fp8 forGlyphRange:(struct _NSRange)fp16;
- (void)setBidiLevels:(const char *)fp8 forGlyphRange:(struct _NSRange)fp12;
- (void)layoutGlyphsInLayoutManager:(id)fp8 startingAtGlyphIndex:(unsigned int)fp12 maxNumberOfLineFragments:(unsigned int)fp16 nextGlyphIndex:(unsigned int *)fp20;
- (float)baselineOffsetInLayoutManager:(id)fp8 glyphIndex:(unsigned int)fp12;
- (BOOL)usesFontLeading;
- (void)setUsesFontLeading:(BOOL)fp8;
- (int)typesetterBehavior;
- (void)setTypesetterBehavior:(int)fp8;
- (float)hyphenationFactor;
- (void)setHyphenationFactor:(float)fp8;
- (void)setAttributedString:(id)fp8;
- (id)attributedString;
- (void)setParagraphGlyphRange:(struct _NSRange)fp8 separatorGlyphRange:(struct _NSRange)fp16;
- (struct _NSRange)paragraphGlyphRange;
- (struct _NSRange)paragraphSeparatorGlyphRange;
- (unsigned int)layoutParagraphAtPoint:(struct _NSPoint *)fp8;
- (float)lineSpacingAfterGlyphAtIndex:(unsigned int)fp8 withProposedLineFragmentRect:(struct _NSRect)fp12;
- (float)paragraphSpacingBeforeGlyphAtIndex:(unsigned int)fp8 withProposedLineFragmentRect:(struct _NSRect)fp12;
- (float)paragraphSpacingAfterGlyphAtIndex:(unsigned int)fp8 withProposedLineFragmentRect:(struct _NSRect)fp12;
- (id)layoutManager;
- (id)currentTextContainer;
- (void)setHardInvalidation:(BOOL)fp8 forGlyphRange:(struct _NSRange)fp12;
- (unsigned long)hyphenCharacterForGlyphAtIndex:(unsigned int)fp8;
- (unsigned int)maximumAttributeCacheSize;
- (void)setMaximumAttributeCacheSize:(unsigned int)fp8;
- (void)flushAttributeCache;
- (float)tighenThresholdForTruncation;
- (void)setTighenThresholdForTruncation:(float)fp8;

@end

@interface NSBezierPath : NSObject
{
int _state;
int _segmentCount;
int _segmentMax;
struct PATHSEGMENT *_head;
int _lastSubpathIndex;
int _elementCount;
float _lineWidth;
struct _NSRect _bounds;
struct _NSRect _controlPointBounds;
unsigned char _flags;
float _miterLimit;
float _flatness;
float *_dashedLinePattern;
unsigned int _dashedLineCount;
float _dashedLinePhase;
}

+ (void)initialize;
+ (id)bezierPath;
+ (id)bezierPathWithRect:(struct _NSRect)fp8;
+ (id)bezierPathWithOvalInRect:(struct _NSRect)fp8;
+ (void)fillRect:(struct _NSRect)fp8;
+ (void)strokeRect:(struct _NSRect)fp8;
+ (void)clipRect:(struct _NSRect)fp8;
+ (void)strokeLineFromPoint:(struct _NSPoint)fp8 toPoint:(struct _NSPoint)fp16;
+ (void)drawPackedGlyphs:(const char *)fp8 atPoint:(struct _NSPoint)fp12;
+ (void)setDefaultMiterLimit:(float)fp8;
+ (float)defaultMiterLimit;
+ (void)setDefaultFlatness:(float)fp8;
+ (float)defaultFlatness;
+ (void)setDefaultWindingRule:(int)fp8;
+ (int)defaultWindingRule;
+ (void)setDefaultLineCapStyle:(int)fp8;
+ (int)defaultLineCapStyle;
+ (void)setDefaultLineJoinStyle:(int)fp8;
+ (int)defaultLineJoinStyle;
+ (void)setDefaultLineWidth:(float)fp8;
+ (float)defaultLineWidth;
- (id)init;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)moveToPoint:(struct _NSPoint)fp8;
- (void)lineToPoint:(struct _NSPoint)fp8;
- (void)curveToPoint:(struct _NSPoint)fp8 controlPoint1:(struct _NSPoint)fp16 controlPoint2:(struct _NSPoint)fp24;
- (void)closePath;
- (void)removeAllPoints;
- (void)relativeMoveToPoint:(struct _NSPoint)fp8;
- (void)relativeLineToPoint:(struct _NSPoint)fp8;
- (void)relativeCurveToPoint:(struct _NSPoint)fp8 controlPoint1:(struct _NSPoint)fp16 controlPoint2:(struct _NSPoint)fp24;
- (float)lineWidth;
- (void)setLineWidth:(float)fp8;
- (int)lineCapStyle;
- (void)setLineCapStyle:(int)fp8;
- (int)lineJoinStyle;
- (void)setLineJoinStyle:(int)fp8;
- (int)windingRule;
- (void)setWindingRule:(int)fp8;
- (float)miterLimit;
- (void)setMiterLimit:(float)fp8;
- (float)flatness;
- (void)setFlatness:(float)fp8;
- (void)setLineDash:(const float *)fp8 count:(int)fp12 phase:(float)fp16;
- (void)getLineDash:(float *)fp8 count:(int *)fp12 phase:(float *)fp16;
- (void)stroke;
- (void)fill;
- (void)addClip;
- (void)setClip;
- (void)subdivideBezierWithFlatness:(float)fp8 startPoint:(struct _NSPoint)fp12 controlPoint1:(struct _NSPoint)fp20 controlPoint2:(struct _NSPoint)fp28 endPoint:(struct _NSPoint)fp36;
- (id)bezierPathByFlatteningPath;
- (id)bezierPathByReversingPath;
- (void)transformUsingAffineTransform:(id)fp8;
- (BOOL)isEmpty;
- (struct _NSPoint)currentPoint;
- (struct _NSRect)controlPointBounds;
- (struct _NSRect)bounds;
- (int)elementCount;
- (int)elementAtIndex:(int)fp8;
- (int)_segmentIndexForElementIndex:(int)fp8;
- (int)elementAtIndex:(int)fp8 associatedPoints:(struct _NSPoint *)fp12;
- (void)setAssociatedPoints:(struct _NSPoint *)fp8 atIndex:(int)fp12;
- (void)appendBezierPath:(id)fp8;
- (void)appendBezierPathWithRect:(struct _NSRect)fp8;
- (void)appendBezierPathWithPoints:(struct _NSPoint *)fp8 count:(int)fp12;
- (void)appendBezierPathWithOvalInRect:(struct _NSRect)fp8;
- (void)_appendArcSegmentWithCenter:(struct _NSPoint)fp8 radius:(double)fp16 angle1:(double)fp24 angle2:(double)fp32;
- (void)appendBezierPathWithArcWithCenter:(struct _NSPoint)fp8 radius:(float)fp16 startAngle:(float)fp20 endAngle:(float)fp24 clockwise:(BOOL)fp28;
- (void)appendBezierPathWithArcWithCenter:(struct _NSPoint)fp8 radius:(float)fp16 startAngle:(float)fp20 endAngle:(float)fp24;
- (void)appendBezierPathWithArcFromPoint:(struct _NSPoint)fp8 toPoint:(struct _NSPoint)fp16 radius:(float)fp24;
- (void)appendBezierPathWithGlyph:(unsigned int)fp8 inFont:(id)fp12;
- (void)appendBezierPathWithGlyphs:(unsigned int *)fp8 count:(int)fp12 inFont:(id)fp16;
- (void)appendBezierPathWithPackedGlyphs:(const char *)fp8;
- (int)_locationOfPoint:(struct _NSPoint)fp8;
- (BOOL)containsPoint:(struct _NSPoint)fp8;
- (BOOL)isHitByPoint:(struct _NSPoint)fp8;
- (BOOL)isHitByRect:(struct _NSRect)fp8;
- (BOOL)isHitByPath:(id)fp8;
- (BOOL)isStrokeHitByPoint:(struct _NSPoint)fp8;
- (BOOL)isStrokeHitByRect:(struct _NSRect)fp8;
- (BOOL)isStrokeHitByPath:(id)fp8;
- (BOOL)cachesBezierPath;
- (void)setCachesBezierPath:(BOOL)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSBezierPath (NSBezierPathCompatibility)
+ (void)setMiterLimit:(float)fp8;
+ (float)miterLimit;
+ (void)setFlatness:(float)fp8;
+ (float)flatness;
+ (void)setWindingRule:(int)fp8;
+ (int)windingRule;
+ (void)setLineCapStyle:(int)fp8;
+ (int)lineCapStyle;
+ (void)setLineJoinStyle:(int)fp8;
+ (int)lineJoinStyle;
+ (void)setLineWidth:(float)fp8;
+ (float)lineWidth;
- (id)description;
@end

@interface NSBezierPath (NSBezierPathDevicePrimitives)
- (void)_addPathSegment:(int)fp8 point:(struct _NSPoint)fp12;
- (void)_deviceMoveToPoint:(struct _NSPoint)fp8;
- (void)_deviceLineToPoint:(struct _NSPoint)fp8;
- (void)_deviceCurveToPoint:(struct _NSPoint)fp8 controlPoint1:(struct _NSPoint)fp16 controlPoint2:(struct _NSPoint)fp24;
- (void)_deviceClosePath;
- (void)_doUserPathWithOp:(unsigned char)fp8 inContext:(struct CGContext *)fp12;
@end

@interface NSBitmapImageRep : NSImageRep
{
struct __bitmapRepFlags _moreRepFlags;
unsigned int _bytesPerRow;
char *_data;
NSData *_tiffData;
id _properties;
}

+ (void)initialize;
+ (void)getTIFFCompressionTypes:(const int **)fp8 count:(int *)fp12;
+ (id)localizedNameForTIFFCompressionType:(int)fp8;
+ (id)TIFFRepresentationOfImageRepsInArray:(id)fp8;
+ (id)TIFFRepresentationOfImageRepsInArray:(id)fp8 usingCompression:(int)fp12 factor:(float)fp16;
+ (id)_imagesWithData:(id)fp8 hfsFileType:(id)fp12 extension:(id)fp16 zone:(struct _NSZone *)fp20;
+ (id)_imagesFromIcon:(id)fp8 inApp:(id)fp12 zone:(struct _NSZone *)fp16;
+ (id)_imagesFromURL:(id)fp8 forImage:(id)fp12 fileType:(id)fp16 extension:(id)fp20;
+ (id)imageRepsWithData:(id)fp8;
+ (id)imageRepWithData:(id)fp8;
+ (id)_imageRepsWithData:(id)fp8 hfsFileType:(id)fp12 extension:(id)fp16;
+ (id)_imageRepWithData:(id)fp8 hfsFileType:(id)fp12 extension:(id)fp16;
+ (BOOL)canInitWithData:(id)fp8;
+ (id)imageUnfilteredFileTypes;
+ (id)imageUnfilteredPasteboardTypes;
- (id)init;
- (void)colorizeByMappingGray:(float)fp8 toColor:(id)fp12 blackMapping:(id)fp16 whiteMapping:(id)fp20;
- (BOOL)canBeCompressedUsing:(int)fp8;
- (id)initWithBitmapDataPlanes:(char **)fp8 pixelsWide:(int)fp12 pixelsHigh:(int)fp16 bitsPerSample:(int)fp20 samplesPerPixel:(int)fp24 hasAlpha:(BOOL)fp28 isPlanar:(BOOL)fp32 colorSpaceName:(id)fp36 bytesPerRow:(int)fp40 bitsPerPixel:(int)fp44;
- (id)initWithFocusedViewRect:(struct _NSRect)fp8;
- (id)_initWithSharedBitmap:(void *)fp8 rect:(struct _NSRect)fp12;
- (void)getCompression:(int *)fp8 factor:(float *)fp12;
- (void)setCompression:(int)fp8 factor:(float)fp12;
- (void)_writeTIFF:(struct _NXStream *)fp8 usingCompression:(int)fp12 factor:(float)fp16;
- (id)TIFFRepresentation;
- (id)TIFFRepresentationUsingCompression:(int)fp8 factor:(float)fp12;
- (id)_BMPRepresentation:(BOOL)fp8;
- (id)BMPRepresentation;
- (id)_DIBRepresentation;
- (BOOL)canConvertToBMPRepresentation;
- (id)_initWithImageReader:(id)fp8;
- (id)initForIncrementalLoad;
- (int)incrementalLoadFromData:(id)fp8 complete:(BOOL)fp12;
- (id)_initWithIncrementalImageReader:(id)fp8 forImage:(id)fp12;
- (BOOL)_reallyInitWithIncrementalImageReader:(id)fp8;
- (id)_initWithDIB:(id)fp8;
- (void)_loadImageInfoFromTIFF:(struct tiff *)fp8;
- (id)_initWithData:(id)fp8 tiff:(struct tiff *)fp12 imageNumber:(short)fp16;
- (id)initWithData:(id)fp8;
- (BOOL)_loadImageFromTIFF:(struct tiff *)fp8 imageNumber:(int)fp12;
- (BOOL)_loadData;
- (void)_freeImage;
- (id)imageWithoutAlpha;
- (BOOL)_getEightBitRGBMeshedBitmap:(char *)fp8 rowBytes:(int)fp12 extraSample:(BOOL)fp16 reverseScanLines:(BOOL)fp20 removeAlpha:(BOOL)fp24;
- (void)prepareGState;
- (BOOL)drawInRect:(struct _NSRect)fp8;
- (BOOL)draw;
- (BOOL)_drawFromRect:(struct _NSRect)fp8 toRect:(struct _NSRect)fp24 operation:(int)fp40 alpha:(float)fp44 compositing:(BOOL)fp48 flipped:(BOOL)fp52 ignoreContext:(BOOL)fp56;
- (int)_uncachedSize;
- (void)_setCGImageRef:(struct CGImage *)fp8;
- (struct CGImage *)_CGImageRef;
- (BOOL)_isValid;
- (void *)_createPatternFromRect:(struct _NSRect)fp8;
- (void)getBitmapDataPlanes:(char **)fp8;
- (char *)bitmapData;
- (BOOL)isPlanar;
- (int)samplesPerPixel;
- (int)bytesPerRow;
- (int)bitsPerPixel;
- (int)bytesPerPlane;
- (int)numberOfPlanes;
- (BOOL)_canDrawOutsideOfItsBounds;
- (void)setSize:(struct _NSSize)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;

@end

@interface NSBitmapImageRep (NSBitmapImageFileTypeExtensions)
+ (id)representationOfImageRepsInArray:(id)fp8 usingType:(int)fp12 properties:(id)fp16;
- (id)representationUsingType:(int)fp8 properties:(id)fp12;
- (void)setProperty:(id)fp8 withValue:(id)fp12;
- (id)valueForProperty:(id)fp8;
- (BOOL)_isCompressed;
- (void)_expand;
- (void)_reverseScanLines;
@end

@interface NSBMPImageReader : NSImageReader
{
BOOL error;
BOOL isFromOS2;
BOOL dibFormat;
int numberOfPaletteEntries;
int numberOfSamplesPerPaletteEntry;
unsigned short *palette;
unsigned int imageLocation;
unsigned int actualImageSize;
unsigned int colorTableLocation;
unsigned int actualBitsPerPixel;
}

- (unsigned char)getByte;
- (unsigned short)getLEWord;
- (unsigned long)getLELong;
- (id)initWithData:(id)fp8 DIBFormat:(BOOL)fp12;
- (void)dealloc;
- (unsigned int)numberOfPaletteEntries;
- (unsigned int)numberOfSamplesPerPaletteEntry;
- (const unsigned short *)palette;
- (BOOL)loadImageHeader;
- (BOOL)loadBitmapFileHeader;
- (BOOL)loadBitmapInfoHeader;
- (BOOL)loadImage:(char **)fp8;

@end

@interface NSBMPImageWriter : NSImageWriter
{
int numberOfPaletteEntries;
int numberOfSamplesPerPaletteEntry;
unsigned short *palette;
NSMutableData *outputData;
char *outputBytes;
unsigned int curLocation;
}

- (void)putByte:(unsigned char)fp8;
- (void)putLEWord:(unsigned short)fp8;
- (void)putLELong:(unsigned long)fp8;
- (id)initWithBitmapDataPlanes:(char **)fp8 pixelsWide:(int)fp12 pixelsHigh:(int)fp16 bitsPerSample:(int)fp20 samplesPerPixel:(int)fp24 hasAlpha:(BOOL)fp28 isPlanar:(BOOL)fp32 colorSpaceName:(id)fp36 bytesPerRow:(int)fp40 bitsPerPixel:(int)fp44 size:(struct _NSSize)fp48;
- (void)dealloc;
- (id)_BMPRepresentation:(BOOL)fp8;
- (id)BMPRepresentation;
- (id)DIBRepresentation;

@end

@interface NSBox : NSView
{
id _titleCell;
id _contentView;
struct _NSSize _offsets;
struct _NSRect _borderRect;
struct _NSRect _titleRect;
struct __bFlags _bFlags;
id _unused;
}

+ (void)initialize;
- (id)initWithFrame:(struct _NSRect)fp8;
- (BOOL)isOpaque;
- (void)setInterfaceStyle:(int)fp8;
- (id)_tile:(BOOL)fp8;
- (void)dealloc;
- (int)borderType;
- (int)titlePosition;
- (void)setBorderType:(int)fp8;
- (void)setTitlePosition:(int)fp8;
- (id)title;
- (void)setTitle:(id)fp8;
- (id)titleFont;
- (void)setTitleFont:(id)fp8;
- (struct _NSRect)borderRect;
- (struct _NSRect)titleRect;
- (id)titleCell;
- (struct _NSSize)contentViewMargins;
- (void)setContentViewMargins:(struct _NSSize)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)sizeToFit;
- (void)setFrameFromContentFrame:(struct _NSRect)fp8;
- (id)contentView;
- (void)setContentView:(id)fp8;
- (void)willRemoveSubview:(id)fp8;
- (void)addSubview:(id)fp8;
- (void)replaceSubview:(id)fp8 with:(id)fp12;
- (void)setTitleWithMnemonic:(id)fp8;
- (BOOL)performMnemonic:(id)fp8;
- (BOOL)_drawRectIfEmpty;
- (void)drawRect:(struct _NSRect)fp8;
- (id)_setBackgroundTransparent:(BOOL)fp8;
- (BOOL)_backgroundTransparent;
- (void)setBoxType:(int)fp8;
- (int)boxType;
- (void)_setLineColor:(id)fp8;
- (id)_lineColor;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSBox (NSBoxAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityContentsAttribute;
- (BOOL)accessibilityIsContentsAttributeSettable;
- (id)accessibilityTitleUIElementAttribute;
- (BOOL)accessibilityIsTitleUIElementAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface _NSBrowserColumnView : NSScrollView
{
NSImageView *_imageViewForAnimationOptimization;
NSBrowser *_tmpStashedBrowserView;
float _markedWidth;
struct __BrcvFlags _brcvFlags;
}

+ (id)columnResizeButtonImage;
- (void)dealloc;
- (id)_enclosingBrowserView;
- (void)_beginColumnAnimationOptimization;
- (void)_endColumnAnimationOptimization;
- (void)_doRemoveFromSuperviewWithOutNeedingDisplay:(BOOL)fp8;
- (void)removeFromSuperview;
- (void)removeFromSuperviewWithoutNeedingDisplay;
- (struct _NSRect)columnResizeButtonRect;
- (void)setIsEmptyColumn:(BOOL)fp8;
- (BOOL)shouldAllowUserColumnResizing;
- (void)viewDidMoveToSuperview;
- (void)tile;
- (void)drawRect:(struct _NSRect)fp8;
- (id)menuForEvent:(id)fp8;
- (void)mouseDown:(id)fp8;
- (void)scrollWheel:(id)fp8;
- (void)_setMarkedWidth:(float)fp8;
- (void)_markWidth;
- (void)_clearMarkedWidth;
- (BOOL)_markedWidthDiffersFromCurrentWidth;

@end

@interface _NSBrowserColumnsContainerView : NSView
{
struct __BrccvFlags _brccvFlags;
}

- (id)_enclosingBrowserView;
- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)_showingFocusRingAroundEnclosingScrollView:(id)fp8;
- (void)_drawScrollViewFocusRing:(id)fp8 clipRect:(struct _NSRect)fp12 needsFullDisplay:(BOOL)fp28;
- (void)_setIgnoringScrolling:(BOOL)fp8;
- (BOOL)_ignoringScrolling;
- (void)scrollPoint:(struct _NSPoint)fp8;
- (BOOL)scrollRectToVisible:(struct _NSRect)fp8;
- (void)scrollRect:(struct _NSRect)fp8 by:(struct _NSSize)fp24;

@end

@interface _NSBrowserScrollView : NSScrollView
{
}

- (id)initWithFrame:(struct _NSRect)fp8;
- (id)_enclosingBrowserView;
- (void)drawRect:(struct _NSRect)fp8;
- (void)tile;
- (void)_doScroller:(id)fp8 hitPart:(int)fp12 multiplier:(float)fp16;

@end

@interface _NSBrowserTitlesContainerView : NSView
{
}

- (id)_enclosingBrowserView;
- (void)drawRect:(struct _NSRect)fp8;

@end

@interface _NSBrowserColumnScrollHelper : NSObject
{
_NSBrowserScrollView *_scrollView;
_NSBrowserColumnView *_optimizableColumn;
struct _NSPoint _initialOrigin;
struct _NSRect _destinationRect;
float _totalDistance;
float _totalDuration;
struct __BrcshFlags _brcshFlags;
double _startTime;
struct __CFRunLoopTimer *_timer;
struct __CFRunLoop *_runLoop;
struct __CFRunLoopObserver *_displayWindowForBrowserObserver;
}

- (void)_setupRunLoopTimer;
- (void)_invalidateRunLoopTimer;
- (void)dealloc;
- (void)_scrollToPosition:(int)fp8;
- (void)_scrollToFinalPosition;
- (void)_doAnimationStep;
- (void)_stopAnimation;
- (id)_enclosingBrowserView;
- (void)_doAnimation;
- (void)setOptimizableColumn:(id)fp8;
- (void)scrollRectToVisible:(struct _NSRect)fp8 inScrollView:(id)fp24 animate:(BOOL)fp28;
- (void)changeDestinationToRect:(struct _NSRect)fp8;

@end

@interface NSBrowser : NSControl
{
id _target;
SEL _action;
id _delegate;
SEL _doubleAction;
Class _matrixClass;
id _cellPrototype;
struct _NSSize _columnSize;
short _numberOfVisibleColumns;
short _minColumnWidth;
short _firstVisibleColumn;
short _maxVisibleColumns;
NSMutableArray *_titles;
NSString *_pathSeparator;
NSMutableArray *_columns;
struct NSBrowserAuxiliary *_brAuxiliaryStorage;
NSString *_firstColumnTitle;
NSScroller *_scroller;
struct __Brflags _brflags;
}

+ (void)initialize;
+ (Class)cellClass;
+ (void)removeSavedColumnsWithAutosaveName:(id)fp8;
- (BOOL)_compat_continuousScrollingCapable;
- (float)_horizontalScrollerSeparationHeight;
- (int)numberOfVisibleColumns;
- (void)_setNumVisibleColumns:(int)fp8;
- (void)_setFirstColumnTitle:(id)fp8;
- (void)becomeKeyWindow;
- (void)resignKeyWindow;
- (void)_doTiming;
- (void)updateScroller;
- (void)_setScroller:(id)fp8;
- (void)_scrollColumnToVisible:(int)fp8 requireCompletelyVisible:(BOOL)fp12;
- (BOOL)_scrollColumnsForScrollerIncrementOrDecrementUsingPart:(int)fp8;
- (void)scrollViaScroller:(id)fp8;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)_resetIncrementalSearchBuffer;
- (void)dealloc;
- (BOOL)isOpaque;
- (SEL)action;
- (void)setAction:(SEL)fp8;
- (id)target;
- (void)setTarget:(id)fp8;
- (SEL)doubleAction;
- (void)setDoubleAction:(SEL)fp8;
- (void)setMatrixClass:(Class)fp8;
- (Class)matrixClass;
- (id)cellPrototype;
- (void)setCellPrototype:(id)fp8;
- (void)setCellClass:(Class)fp8;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (BOOL)allowsMultipleSelection;
- (void)setAllowsMultipleSelection:(BOOL)fp8;
- (void)setAllowsBranchSelection:(BOOL)fp8;
- (BOOL)allowsBranchSelection;
- (void)setAllowsEmptySelection:(BOOL)fp8;
- (BOOL)allowsEmptySelection;
- (void)setAllowsIncrementalSearching:(BOOL)fp8;
- (BOOL)allowsIncrementalSearching;
- (void)setReusesColumns:(BOOL)fp8;
- (BOOL)reusesColumns;
- (void)_setHasHorizontalScroller:(BOOL)fp8;
- (id)_horizontalScroller;
- (void)setHasHorizontalScroller:(BOOL)fp8;
- (BOOL)hasHorizontalScroller;
- (void)setSeparatesColumns:(BOOL)fp8;
- (BOOL)separatesColumns;
- (void)setAcceptsArrowKeys:(BOOL)fp8;
- (BOOL)acceptsArrowKeys;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (void)_setAcceptsFirstMouse:(BOOL)fp8;
- (void)setSendsActionOnArrowKeys:(BOOL)fp8;
- (BOOL)sendsActionOnArrowKeys;
- (void)setEnabled:(BOOL)fp8;
- (id)_loadedCellAtRow:(int)fp8 column:(int)fp12 inMatrix:(id)fp16;
- (id)loadedCellAtRow:(int)fp8 column:(int)fp12;
- (void)_updateNumberOfTitleCellsIfNecessary;
- (BOOL)isTitled;
- (void)setTitled:(BOOL)fp8;
- (id)_titleCellOfColumn:(int)fp8;
- (id)titleOfColumn:(int)fp8;
- (void)_setTitle:(id)fp8 ofColumn:(int)fp12;
- (void)setTitle:(id)fp8 ofColumn:(int)fp12;
- (void)_setUsesSmallTitleFont:(BOOL)fp8;
- (BOOL)_shouldDrawFocus;
- (BOOL)_hasKeyboardFocus;
- (void)setNeedsDisplay:(BOOL)fp8;
- (void)_setFocusRingNeedsDisplay;
- (void)_matrixWillResignFirstResponder:(id)fp8;
- (void)_windowChangedKeyState;
- (void)loadColumnZero;
- (BOOL)_selectCell:(id)fp8 inColumn:(int)fp12;
- (void)_selectRowIndexes:(id)fp8 inColumn:(int)fp12;
- (void)selectRow:(int)fp8 inColumn:(int)fp12;
- (int)selectedRowInColumn:(int)fp8;
- (void)setPathSeparator:(id)fp8;
- (id)pathSeparator;
- (BOOL)setPath:(id)fp8;
- (id)pathToColumn:(int)fp8;
- (id)path;
- (void)setTakesTitleFromPreviousColumn:(BOOL)fp8;
- (BOOL)takesTitleFromPreviousColumn;
- (void)validateVisibleColumns;
- (void)_setNeedsDisplayInColumn:(int)fp8;
- (void)_drawColumn:(int)fp8;
- (void)displayColumn:(int)fp8;
- (void)displayAllColumns;
- (void)reloadColumn:(int)fp8;
- (id)_unhookColumnSubviews;
- (void)_reattachColumnSubviews:(id)fp8;
- (void)_fixKeyViewForView:(id)fp8;
- (int)_controlSizeForScrollers;
- (void)_syncScrollerSizeOfColumn:(id)fp8;
- (void)_setScrollerSize:(int)fp8;
- (id)_createColumn:(struct _NSRect)fp8 empty:(BOOL)fp24;
- (id)_recursiveSetDefaultKeyViewLoop;
- (void)setNextKeyView:(id)fp8;
- (void)_disableCompositing;
- (void)_enableCompositing;
- (BOOL)_canUseCompositing;
- (void)_scrollColumnsRightBy:(int)fp8;
- (void)scrollColumnsRightBy:(int)fp8;
- (void)scrollColumnsLeftBy:(int)fp8;
- (void)_scrollColumnToVisible:(int)fp8 private:(BOOL)fp12;
- (void)scrollColumnToVisible:(int)fp8;
- (void)setLastColumn:(int)fp8;
- (void)_kludgeScrollBarForColumn:(int)fp8;
- (void)_computeFirstVisibleColumnRequireCompletelyVisible:(BOOL)fp8;
- (void)_computeFirstCompletelyVisibleColumn;
- (void)_computeFirstMostlyVisibleColumn;
- (void)_alignFirstVisibleColumnToDocumentViewEdge:(BOOL)fp8;
- (void)didFinishColumnScrollWithHelper:(id)fp8;
- (void)_doPostColumnConfigurationDidChangeNotification:(id)fp8;
- (void)_postColumnConfigurationDidChangeNotification;
- (struct _NSRect)_visibleRectOfColumns;
- (void)_setVisibleRectOfColumns:(struct _NSRect)fp8;
- (void)_computeAndAlignFirstClosestVisibleColumn;
- (void)_scrollLastColumnMaxXEdgeToVisible;
- (void)_addAnimatedColumn;
- (void)_disableColumnAnimation;
- (void)_enableColumnAnimation;
- (void)_setAnimateColumnScrollingForAnyEvent:(BOOL)fp8;
- (BOOL)_shouldAnimateColumnScrolling;
- (BOOL)_userClickOrKeyInColumnShouldMaintainColumnPosition;
- (void)_addColumnWithoutChangingVisibleColumn;
- (void)_addColumnSubviewAndAnimateIfNecessary:(id)fp8;
- (void)_animateLastAddedColumnToVisible;
- (void)_setInitialColumnContentSizeOfColumn:(id)fp8;
- (void)addColumn;
- (void)_setWantsCellClipTips:(BOOL)fp8;
- (void)setMinColumnWidth:(float)fp8;
- (float)minColumnWidth;
- (void)setMaxVisibleColumns:(int)fp8;
- (int)maxVisibleColumns;
- (int)firstVisibleColumn;
- (int)lastVisibleColumn;
- (int)lastColumn;
- (int)selectedColumn;
- (id)selectedCell;
- (id)_selectedCellsInColumn:(int)fp8;
- (id)selectedCellInColumn:(int)fp8;
- (id)selectedCells;
- (BOOL)isLoaded;
- (int)columnOfMatrix:(id)fp8;
- (id)matrixInColumn:(int)fp8;
- (id)_containerViewOfTitles;
- (id)_containerViewOfColumns;
- (struct _NSRect)frameOfColumn:(int)fp8;
- (struct _NSRect)frameOfInsideOfColumn:(int)fp8;
- (struct _NSRect)titleFrameOfColumn:(int)fp8;
- (struct _NSRect)_containerRelativeTitleFrameOfColumn:(int)fp8;
- (struct _NSRect)_containerRelativeFrameOfColumn:(int)fp8;
- (struct _NSRect)_containerRelativeFrameOfInsideOfColumn:(int)fp8;
- (void)drawTitleOfColumn:(int)fp8 inRect:(struct _NSRect)fp12;
- (float)titleHeight;
- (void)_calcNumVisibleColumnsAndColumnSize;
- (void)_sizeDocumentViewToColumnsAndAlignIfNecessary:(BOOL)fp8;
- (void)_postWillScrollNotification;
- (void)_postDidScrollNotification;
- (void)_synchronizeTitlesAndColumnsViewVisibleRect;
- (void)_synchronizeTitlesAndColumnsViewWidth;
- (void)_scrollViewForColumnsDocumentViewFrameDidChange:(id)fp8;
- (void)_scrollViewForColumnsDocumentViewVisibilityChange:(id)fp8;
- (void)_scrollViewForColumnsWillTrackHorizontalScroller:(id)fp8;
- (BOOL)_forceSynchronizedScrollingAnimation;
- (void)_scrollViewForColumnsDidTrackHorizontalScroller:(id)fp8;
- (void)_setLineBorderColor:(id)fp8;
- (void)_setBorderType:(int)fp8;
- (int)_borderType;
- (void)_tileContinuousScrollingBrowser;
- (void)_tileNonContinuousScrollingBrowser;
- (void)tile;
- (void)updateCell:(id)fp8;
- (void)updateCellInside:(id)fp8;
- (struct _NSRect)_focusRingRect;
- (BOOL)_drawRectIfEmptyWhenSubviewsCoverDirtyRect:(struct _NSRect)fp8;
- (void)_drawEmptyColumnsForView:(id)fp8 inRect:(struct _NSRect)fp12;
- (void)_drawTitlesForView:(id)fp8 inRect:(struct _NSRect)fp12;
- (void)_drawScrollViewFocusRing:(id)fp8 clipRect:(struct _NSRect)fp12 needsFullDisplay:(BOOL)fp28;
- (void)_recursiveDisplayAllDirtyWithLockFocus:(BOOL)fp8 visRect:(struct _NSRect)fp12;
- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)_getMatchingRow:(int *)fp8 forString:(id)fp12 inMatrix:(id)fp16 startingAtRow:(int)fp20 prefixMatch:(BOOL)fp24 caseSensitive:(BOOL)fp28;
- (BOOL)_selectItemBestMatching:(id)fp8;
- (void)_bumpSelectedItem:(id)fp8;
- (int)_firstSelectableRowInMatrix:(id)fp8 inColumn:(int)fp12;
- (int)_keyRowOrSelectedRowOfMatrix:(id)fp8 inColumn:(int)fp12;
- (void)performClick:(id)fp8;
- (void)moveRight:(id)fp8;
- (void)moveLeft:(id)fp8;
- (BOOL)_actOnKeyDown:(id)fp8;
- (BOOL)performKeyEquivalent:(id)fp8;
- (void)keyDown:(id)fp8;
- (BOOL)resignFirstResponder;
- (BOOL)becomeFirstResponder;
- (BOOL)needsPanelToBecomeKey;
- (void)setRefusesFirstResponder:(BOOL)fp8;
- (BOOL)refusesFirstResponder;
- (BOOL)acceptsFirstResponder;
- (void)_scrollColumnToLastVisible:(int)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)sizeToFit;
- (void)_selectAllForMatrix:(id)fp8 sender:(id)fp12;
- (void)selectAll:(id)fp8;
- (void)doClick:(id)fp8;
- (void)_sendQueuedAction;
- (void)_doClickAndQueueSendingOfAction:(id)fp8;
- (void)_doClickAndQueueSendingOfAction:(id)fp8 removeAndAddColumnsIfNecessary:(BOOL)fp12;
- (void)_willStartTrackingMouseInMatrix:(id)fp8 withEvent:(id)fp12;
- (void)doDoubleClick:(id)fp8;
- (BOOL)sendAction;
- (struct _NSRect)_frameOfColumns;
- (struct _NSSize)_calcVisibleColumnAreaAvailable;
- (id)_old_initWithCoder_NSBrowser:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)_old_encodeWithCoder_NSBrowser:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)_lastDraggedEventFollowing:(id)fp8;
- (id)_lastDraggedOrUpEventFollowing:(id)fp8;
- (void)setColumnResizingType:(int)fp8;
- (int)columnResizingType;
- (void)setPrefersAllColumnUserResizing:(BOOL)fp8;
- (BOOL)prefersAllColumnUserResizing;
- (float)columnContentWidthForColumnWidth:(float)fp8;
- (float)columnWidthForColumnContentWidth:(float)fp8;
- (float)_validateNewWidthOfColumn:(id)fp8 width:(float)fp12;
- (void)setWidth:(float)fp8 ofColumn:(int)fp12;
- (float)widthOfColumn:(int)fp8;
- (void)_sizeMatrixOfColumnToFit:(id)fp8;
- (void)_writePersistentBrowserColumns;
- (void)_readPersistentBrowserColumns;
- (void)_autosaveColumnsIfNecessary;
- (void)setColumnsAutosaveName:(id)fp8;
- (id)columnsAutosaveName;
- (void)_changeFrameOfColumn:(id)fp8 toFrame:(struct _NSRect)fp12 constrainWidth:(BOOL)fp28;
- (void)_setNeedsDisplayBeginingAtColumn:(int)fp8;
- (void)_clearVisitedColumnContentWidths;
- (void)_setNewPreferedColumnWidth:(float)fp8;
- (float)_preferedColumnWidth;
- (void)_zeroPinnedResizeColumnsBySharingDelta:(float)fp8 lastSharingColumn:(id)fp12 resizeInfo:(struct _NSBrowserColumnResizeInfo *)fp16;
- (void)_equalyResizeColumnsByDelta:(float)fp8 resizeInfo:(struct _NSBrowserColumnResizeInfo *)fp12;
- (void)_resizeColumnByDelta:(float)fp8 resizeInfo:(struct _NSBrowserColumnResizeInfo *)fp12;
- (void)_disableAutosavingAndColumnResizingNotificationsAndMark:(BOOL)fp8;
- (void)_enableAutosavingAndColumnResizingNotifications;
- (void)_resizeColumn:(id)fp8 withEvent:(id)fp12;
- (int)_calculateSizeToFitWidthOfColumn:(int)fp8 testLoadedOnly:(BOOL)fp12;
- (void)_sizeToFitColumn:(id)fp8 withSizeToFitType:(int)fp12;
- (void)_sizeToFitColumn:(id)fp8 withEvent:(id)fp12;
- (void)_sizeToFitColumnMenuAction:(id)fp8;

@end

@interface NSBrowser (NSBrowserAccessibility)
+ (BOOL)accessibilityIsSingleCelled;
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityVisibleColumnsAttribute;
- (BOOL)accessibilityIsVisibleColumnsAttributeSettable;
- (id)accessibilityHorizontalScrollBarAttribute;
- (BOOL)accessibilityIsHorizontalScrollBarAttributeSettable;
- (id)_accessibilityTitleForColumn:(int)fp8;
- (id)accessibilityColumnTitlesAttribute;
- (BOOL)accessibilityIsColumnTitlesAttributeSettable;
- (id)accessibilityColumnsAttribute;
- (BOOL)accessibilityIsColumnsAttributeSettable;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityChildrenAttribute;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface _NSBrowserTitlesContainerView (NSBrowserAccessibility)
- (id)_accessibilityTitleForColumn:(int)fp8;
- (id)accessibilityChildrenAttribute;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface NSBrowserCell : NSCell
{
}

+ (void)initialize;
+ (id)branchImage;
+ (id)highlightedBranchImage;
- (void)_setBranchImageEnabled:(BOOL)fp8;
- (BOOL)_branchImageEnabled;
- (id)_currentBranchImage;
- (id)initTextCell:(id)fp8;
- (id)init;
- (void)setImage:(id)fp8;
- (id)image;
- (void)setAlternateImage:(id)fp8;
- (id)alternateImage;
- (BOOL)isLeaf;
- (void)setLeaf:(BOOL)fp8;
- (BOOL)isLoaded;
- (BOOL)_isLoaded;
- (void)setLoaded:(BOOL)fp8;
- (void)reset;
- (void)set;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (BOOL)_checkLoaded:(id)fp8 rect:(const struct _NSRect *)fp12 highlight:(int)fp16;
- (id)highlightColorInView:(id)fp8;
- (id)highlightColorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_drawLiveResizeHighlightWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_drawHighlightWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)highlight:(BOOL)fp8 withFrame:(struct _NSRect)fp12 inView:(id)fp28;
- (void)dealloc;
- (BOOL)_wantsCellClipTipsWhenDisplayedInRect:(struct _NSRect)fp8 inView:(id)fp24;
- (struct _NSRect)_cellClipTipRectForFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_drawCellClipTipWithFrame:(struct _NSRect)fp8 inToolTipView:(id)fp24 forView:(id)fp28;

@end

@interface NSButton : NSControl
{
}

+ (void)initialize;
- (id)initWithFrame:(struct _NSRect)fp8;
- (BOOL)isFlipped;
- (id)title;
- (void)setTitle:(id)fp8;
- (id)alternateTitle;
- (void)setAlternateTitle:(id)fp8;
- (id)attributedTitle;
- (void)setAttributedTitle:(id)fp8;
- (id)attributedAlternateTitle;
- (void)setAttributedAlternateTitle:(id)fp8;
- (id)image;
- (void)setImage:(id)fp8;
- (id)alternateImage;
- (void)setAlternateImage:(id)fp8;
- (int)imagePosition;
- (void)setImagePosition:(int)fp8;
- (void)setButtonType:(int)fp8;
- (int)state;
- (void)setState:(int)fp8;
- (BOOL)isBordered;
- (void)setBordered:(BOOL)fp8;
- (BOOL)isTransparent;
- (void)setTransparent:(BOOL)fp8;
- (void)setPeriodicDelay:(float)fp8 interval:(float)fp12;
- (void)getPeriodicDelay:(float *)fp8 interval:(float *)fp12;
- (id)keyEquivalent;
- (void)setKeyEquivalent:(id)fp8;
- (unsigned int)keyEquivalentModifierMask;
- (void)setKeyEquivalentModifierMask:(unsigned int)fp8;
- (void)highlight:(BOOL)fp8;
- (BOOL)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (BOOL)_keyEquivalentModifierMaskMatchesModifierFlags:(unsigned int)fp8;
- (BOOL)performKeyEquivalent:(id)fp8;
- (id)_recursiveFindDefaultButtonCell;
- (id)_setWindow:(id)fp8;
- (BOOL)performMnemonic:(id)fp8;
- (void)setTitleWithMnemonic:(id)fp8;
- (void)shiftModifySelection:(id)fp8;
- (void)altModifySelection:(id)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (id)_maybeSubstitutePopUpButton;
- (id)initWithCoder:(id)fp8;
- (void)setSound:(id)fp8;
- (id)sound;
- (void)_setSound:(id)fp8;
- (id)_sound;
- (void)startSpeaking:(id)fp8;
- (void)stopSpeaking:(id)fp8;
- (BOOL)validateUserInterfaceItem:(id)fp8;

@end

@interface NSButton (NSButtonBorder)
- (void)setShowsBorderOnlyWhileMouseInside:(BOOL)fp8;
- (BOOL)showsBorderOnlyWhileMouseInside;
- (void)_setMouseTrackingForCell:(id)fp8;
- (void)_clearMouseTrackingForCell:(id)fp8;
@end

@interface NSButton (NSButtonMixedState)
- (void)setAllowsMixedState:(BOOL)fp8;
- (BOOL)allowsMixedState;
- (void)setNextState;
@end

@interface NSButton (NSButtonBezelStyles)
- (void)setBezelStyle:(int)fp8;
- (int)bezelStyle;
@end

@interface NSButtonCell : NSActionCell
{
NSString *_altContents;
id _sound;
NSString *_keyEquivalent;
struct __BCFlags2 _bcFlags2;
unsigned short _periodicDelay;
unsigned short _periodicInterval;
struct __BCFlags _bcFlags;
NSImage *_normalImage;
id _alternateImageOrKeyEquivalentFont;
}

+ (void)initialize;
- (void)_commonInit;
- (id)init;
- (id)initTextCell:(id)fp8;
- (id)initImageCell:(id)fp8;
- (void)_setAltContents:(id)fp8;
- (id)_altContents;
- (id)_convertToText:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)dealloc;
- (id)title;
- (void)setTitle:(id)fp8;
- (id)attributedTitle;
- (void)setAttributedTitle:(id)fp8;
- (id)alternateTitle;
- (void)setAlternateTitle:(id)fp8;
- (id)attributedAlternateTitle;
- (void)setAttributedAlternateTitle:(id)fp8;
- (BOOL)_highlightsWithHighlightRect;
- (id)keyEquivalent;
- (void)setKeyEquivalent:(id)fp8;
- (id)mnemonic;
- (void)setTitleWithMnemonic:(id)fp8;
- (void)setAlternateMnemonicLocation:(unsigned int)fp8;
- (unsigned int)alternateMnemonicLocation;
- (id)alternateMnemonic;
- (void)setAlternateTitleWithMnemonic:(id)fp8;
- (unsigned int)keyEquivalentModifierMask;
- (void)setKeyEquivalentModifierMask:(unsigned int)fp8;
- (id)keyEquivalentFont;
- (void)setKeyEquivalentFont:(id)fp8;
- (void)setKeyEquivalentFont:(id)fp8 size:(float)fp12;
- (id)image;
- (void)setImage:(id)fp8;
- (id)alternateImage;
- (void)setAlternateImage:(id)fp8;
- (int)imagePosition;
- (void)setImagePosition:(int)fp8;
- (id)sound;
- (void)setSound:(id)fp8;
- (id)_sound;
- (void)_setSound:(id)fp8;
- (int)gradientType;
- (void)setGradientType:(int)fp8;
- (int)highlightsBy;
- (void)setHighlightsBy:(int)fp8;
- (int)showsStateBy;
- (void)setShowsStateBy:(int)fp8;
- (void)setButtonType:(int)fp8;
- (BOOL)acceptsFirstResponder;
- (BOOL)isOpaque;
- (id)_attributedStringForDrawing;
- (id)stringValue;
- (void)setStringValue:(id)fp8;
- (void)setAttributedStringValue:(id)fp8;
- (id)attributedStringValue;
- (int)compare:(id)fp8;
- (void)setState:(int)fp8;
- (int)intValue;
- (void)setIntValue:(int)fp8;
- (float)floatValue;
- (void)setFloatValue:(float)fp8;
- (double)doubleValue;
- (void)setDoubleValue:(double)fp8;
- (id)objectValue;
- (void)setObjectValue:(id)fp8;
- (int)nextState;
- (void)setFont:(id)fp8;
- (BOOL)isBordered;
- (void)setBordered:(BOOL)fp8;
- (BOOL)isTransparent;
- (void)setTransparent:(BOOL)fp8;
- (void)setPeriodicDelay:(float)fp8 interval:(float)fp12;
- (void)getPeriodicDelay:(float *)fp8 interval:(float *)fp12;
- (int)cellAttribute:(int)fp8;
- (void)setCellAttribute:(int)fp8 to:(int)fp12;
- (BOOL)_needsOutline;
- (struct _NSRect)drawingRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)titleRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)imageRectForBounds:(struct _NSRect)fp8;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (BOOL)_shouldSetHighlightToFlag:(BOOL)fp8;
- (id)_startSound;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (void)performClick:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (BOOL)_needRedrawOnWindowChangedKeyState;

@end

@interface NSButtonCell (NSDefaultButtonIndicatorPrivate)
+ (void)_setDefaultButtonCycleTime:(float)fp8;
+ (float)_defaultButtonCycleTime;
+ (void)_startHitTracking:(id)fp8;
+ (void)_finishHitTracking:(id)fp8;
- (BOOL)_hasDefaultButtonIndicator;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)_wantsHeartBeat;
- (void)heartBeat:(CDAnonymousStruct10 *)fp8;
- (BOOL)_isAnimatingDefaultCell;
- (void)_setDefaultButtonIndicatorNeedsDisplay;
@end

@interface NSButtonCell (NSButtonImageSourcePrivate)
- (void)_setButtonImageSource:(id)fp8;
- (id)_buttonImageSource;
@end

@interface NSButtonCell (NSButtonCellBezelStyles)
- (void)setBezelStyle:(int)fp8;
- (int)bezelStyle;
@end

@interface NSButtonCell (NSButtonCellPrivate)
+ (id *)_buttonBezelColors;
+ (void)_recacheButtonColors;
+ (struct _NSSize)_keyEquivalentSizeWithFont:(id)fp8;
- (void)_setBackgroundColor:(id)fp8;
- (id)_backgroundColor;
- (id)_textHighlightColor;
- (id)_textDimColor;
- (BOOL)_hasImage;
- (BOOL)_hasTitle;
- (float)_leading;
- (struct _NSRect)_insetRect:(struct _NSRect)fp8;
- (struct _NSSize)_imageSizeWithSize:(struct _NSSize)fp8;
- (struct _NSSize)_titleSizeWithSize:(struct _NSSize)fp8;
- (struct _NSRect)_imageRectWithRect:(struct _NSRect *)fp8;
- (struct _NSRect)_alignedTitleRectWithRect:(struct _NSRect)fp8;
- (struct _NSRect)_centerTitle:(id)fp8 inRect:(struct _NSRect)fp12;
- (void)_fillBackground:(struct _NSRect)fp8 withAlternateColor:(BOOL)fp24;
- (void)setImageDimsWhenDisabled:(BOOL)fp8;
- (BOOL)imageDimsWhenDisabled;
- (void)setShowsBorderOnlyWhileMouseInside:(BOOL)fp8;
- (BOOL)showsBorderOnlyWhileMouseInside;
- (void)_setControlView:(id)fp8;
- (void)mouseEntered:(id)fp8;
- (void)mouseExited:(id)fp8;
- (BOOL)_canBecomeDefaultButtonCell;
- (struct _NSRange)_characterRangeForPoint:(struct _NSPoint)fp8 inRect:(struct _NSRect)fp16 ofView:(id)fp32;
- (BOOL)_imagesHaveAlpha;
- (void)_setButtonType:(int)fp8 adjustingImage:(BOOL)fp12;
- (int)_buttonType;
@end

@interface NSButtonCell (NSButtonCellAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityTitleAttribute;
- (BOOL)accessibilityIsTitleAttributeSettable;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (struct _NSRect)accessibilityFocusRingBoundsForBounds:(struct _NSRect)fp8;
@end

@interface NSButtonImageSource : NSObject
{
NSMutableDictionary *_buttonImages;
struct _NSSize _imageSize;
struct _NSSize _focusRingImageSize;
struct {
unsigned int hasAlpha:1;
unsigned int fullEncoding:1;
unsigned int reserved:30;
} _bisFlags;
int _reserved1;
int _reserved2;
int _reserved3;
}

+ (void)initialize;
+ (id)buttonImageSourceWithName:(id)fp8;
+ (BOOL)archiveButtonImageSourceWithName:(id)fp8 toDirectory:(id)fp12;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)imageForState:(struct NSButtonState)fp8;
- (id)focusRingImageForState:(struct NSButtonState)fp8;
- (int)bezelStyleForState:(struct NSButtonState)fp8;
- (BOOL)isBorderedForState:(struct NSButtonState)fp8;
- (BOOL)isOpaqueForState:(struct NSButtonState)fp8;
- (BOOL)useDisabledEffectForState:(struct NSButtonState)fp8;
- (BOOL)useHighlightEffectForState:(struct NSButtonState)fp8;
- (struct _NSSize)imageSize;
- (struct _NSSize)focusRingImageSize;
- (BOOL)hasImageWithAlpha;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface _NSButtonImage : NSObject
{
NSImage *image;
NSImage *focusRingImage;
int bezelStyle;
BOOL isBordered;
BOOL isOpaque;
BOOL useDisabledEffect;
BOOL useHighlightEffect;
}

+ (void)initialize;
+ (id)image:(id)fp8 focus:(id)fp12;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSButtonImageSource (NSButtonImageSource_Private)
- (void)_scanImages;
- (id)_initWithName:(id)fp8 propertyList:(id)fp12;
- (id)_initWithThemeType:(short)fp8;
- (BOOL)_archiveToFile:(id)fp8;
- (id)_findButtonImageForState:(struct NSButtonState)fp8;
@end

@interface NSCachedImageRep : NSImageRep
{
struct _NSPoint _origin;
NSWindow *_window;
void *_cache;
}

+ (void)initialize;
- (id)init;
- (id)initWithWindow:(id)fp8 rect:(struct _NSRect)fp12;
- (id)_initWithSharedKitWindow:(int)fp8 rect:(struct _NSRect)fp12;
- (id)window;
- (struct _NSRect)rect;
- (BOOL)_canDrawOutsideOfItsBounds;
- (BOOL)draw;
- (id)initWithSize:(struct _NSSize)fp8 depth:(int)fp16 separate:(BOOL)fp20 alpha:(BOOL)fp24;
- (id)_initWithSize:(struct _NSSize)fp8 depth:(int)fp16 separate:(BOOL)fp20 alpha:(BOOL)fp24 allowDeep:(BOOL)fp28;
- (id)initWithCoder:(id)fp8;
- (void *)_cache;
- (void)_setCache:(void *)fp8;
- (void)encodeWithCoder:(id)fp8;
- (void)dealloc;
- (void)_computeParams;
- (void)setAlpha:(BOOL)fp8;
- (BOOL)hasAlpha;
- (id)colorSpaceName;
- (int)bitsPerSample;
- (int)pixelsWide;
- (int)pixelsHigh;
- (id)copyWithZone:(struct _NSZone *)fp8;

@end

@interface NSCarbonMenuImpl : NSObject
{
NSMenu *_menu;
}

+ (void)initialize;
+ (void)setupForNoMenuBar;
- (void)dealloc;
- (void)setMenu:(id)fp8;
- (id)menu;
- (void)itemChanged:(id)fp8;
- (void)itemAdded:(id)fp8;
- (void)itemRemoved:(id)fp8;
- (void)performActionWithHighlightingForItemAtIndex:(int)fp8;
- (void)performMenuAction:(SEL)fp8 withTarget:(id)fp12;
- (void)setupCarbonMenuBar;
- (void)setAsMainCarbonMenuBar;
- (void)clearAsMainCarbonMenuBar;
- (void)popUpMenu:(id)fp8 atLocation:(struct _NSPoint)fp12 width:(float)fp20 forView:(id)fp24 withSelectedItem:(int)fp28 withFont:(id)fp32;
- (void)_popUpContextMenu:(id)fp8 withEvent:(id)fp12 forView:(id)fp16 withFont:(id)fp20;
- (void)_popUpContextMenu:(id)fp8 withEvent:(id)fp12 forView:(id)fp16;
- (id)window;

@end

@interface NSCarbonWindow : NSWindow
{
struct OpaqueWindowPtr *_windowRef;
BOOL _windowRefIsOwned;
void *_handleEventUPP;
struct OpaqueEventHandlerRef *_eventHandler;
BOOL _passingCarbonWindowActivationEvents;
BOOL _forceNotKeyWindowForInputContext;
}

+ (Class)frameViewClassForStyleMask:(unsigned int)fp8;
- (id)initWithContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 backing:(int)fp28 defer:(BOOL)fp32;
- (id)initWithCarbonWindowRef:(struct OpaqueWindowPtr *)fp8 takingOwnership:(BOOL)fp12 disableOrdering:(BOOL)fp16;
- (id)initWithCarbonWindowRef:(struct OpaqueWindowPtr *)fp8 takingOwnership:(BOOL)fp12;
- (void)dealloc;
- (struct OpaqueWindowPtr *)windowRef;
- (BOOL)_hasWindowRef;
- (BOOL)_managesWindowRef;
- (void)_removeWindowRef;
- (unsigned long)_carbonWindowClass;
- (BOOL)reconcileToCarbonWindowBounds;
- (void)sendSuperEvent:(id)fp8;
- (void)_postCarbonWindowActivateEvent:(BOOL)fp8 makeKeyWindow:(BOOL)fp12;
- (void)_cancelKey:(id)fp8;
- (void)_commonAwake;
- (id)_destroyRealWindow:(BOOL)fp8;
- (void)_oldPlaceWindow:(struct _NSRect)fp8;
- (void)_reallyDoOrderWindow:(int)fp8 relativeTo:(int)fp12 findKey:(BOOL)fp16 forCounter:(BOOL)fp20 force:(BOOL)fp24 isModal:(BOOL)fp28;
- (void)_termWindowIfOwner;
- (void)_windowMovedToRect:(struct _NSRect)fp8;
- (struct _NSRect)constrainFrameRect:(struct _NSRect)fp8 toScreen:(id)fp24;
- (void)becomeKeyWindow;
- (void)becomeMainWindow;
- (BOOL)canBecomeKeyWindow;
- (BOOL)canBecomeMainWindow;
- (void)display;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (BOOL)performKeyEquivalent:(id)fp8;
- (void)resignKeyWindow;
- (void)resignMainWindow;
- (void)sendEvent:(id)fp8;
- (void)setContentView:(id)fp8;
- (void)setHasShadow:(BOOL)fp8;
- (void)setHidesOnDeactivate:(BOOL)fp8;
- (BOOL)worksWhenModal;
- (void)_setModalWindowLevel;
- (id)_clearModalWindowLevel;
- (unsigned long)carbonHICommandIDFromActionSelector:(SEL)fp8;
- (void)sendCarbonProcessHICommandEvent:(unsigned long)fp8;
- (unsigned char)sendCarbonUpdateHICommandStatusEvent:(unsigned long)fp8 withMenuRef:(struct OpaqueMenuRef *)fp12 andMenuItemIndex:(unsigned short)fp16;
- (void)clear:(id)fp8;
- (void)copy:(id)fp8;
- (void)cut:(id)fp8;
- (void)paste:(id)fp8;
- (void)redo:(id)fp8;
- (void)selectAll:(id)fp8;
- (void)undo:(id)fp8;
- (BOOL)validateMenuItem:(id)fp8;
- (void)handleCarbonBoundsChange;
- (long)handleMouseDownEvent:(struct OpaqueEventRef *)fp8 at:(struct Point)fp12 inPart:(short)fp16 withMods:(unsigned long)fp20;
- (void)_setForceNotKeyWindowForInputContext:(BOOL)fp8;
- (BOOL)_isKeyWindowIgnoringFocus;

@end

@interface NSCarbonWindowContentView : NSView
{
}

- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)isOpaque;

@end

@interface NSCarbonWindowFrame : NSView
{
unsigned int _styleMask;
}

+ (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
+ (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
+ (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
- (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
- (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
- (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
- (id)initWithFrame:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 owner:(id)fp28;
- (void)dealloc;
- (void)_setFrameNeedsDisplay:(BOOL)fp8;
- (void)_setSheet:(BOOL)fp8;
- (void)_updateButtonState;
- (void)_windowChangedKeyState;
- (BOOL)_canHaveToolbar;
- (BOOL)_toolbarIsInTransition;
- (BOOL)_toolbarIsShown;
- (BOOL)_toolbarIsHidden;
- (void)_showToolbarWithAnimation:(BOOL)fp8;
- (void)_hideToolbarWithAnimation:(BOOL)fp8;
- (float)_distanceFromToolbarBaseToTitlebar;
- (id)closeButton;
- (unsigned int)styleMask;
- (struct _NSRect)dragRectForFrameRect:(struct _NSRect)fp8;
- (BOOL)isOpaque;
- (id)minimizeButton;
- (void)setTitle:(id)fp8;
- (id)title;
- (void)_setNonactivatingPanel:(BOOL)fp8;
- (float)_sheetHeightAdjustment;

@end

@interface _NSKeyboardFocusClipView : NSClipView
{
NSView *_representedView;
struct _NSRect _adjustment;
struct _NSRect _lastFocusRingRect;
BOOL _drawFocus;
BOOL _bezelStyle;
}

- (void)dealloc;
- (void)removeFromSuperview;
- (BOOL)_drawRectIfEmpty;
- (void)_setKeyboardFocusRingNeedsDisplay;
- (void)_drawKeyboardFocusRingWithFrame:(struct _NSRect)fp8;
- (void)_drawKeyboardFocusRingWithFrame:(struct _NSRect)fp8 forCell:(id)fp24;
- (void)_setFocusForCell:(id)fp8 forView:(id)fp12 withFrame:(struct _NSRect)fp16 withFocusRingFrame:(struct _NSRect)fp32 withInset:(float)fp48;
- (void)_adjustFocusRingSize:(struct _NSSize)fp8;
- (void)_adjustFocusRingLocation:(struct _NSPoint)fp8;
- (void)setFrameOrigin:(struct _NSPoint)fp8;
- (void)_clearFocusForView;
- (struct _NSRect)_getFocusRingFrame;

@end

@interface NSCell : NSObject
{
id _contents;
struct __CFlags _cFlags;
id _support;
}

+ (void)initialize;
+ (BOOL)prefersTrackingUntilMouseUp;
+ (int)defaultFocusRingType;
+ (BOOL)_wantsCellClipTips;
+ (BOOL)_compatibleListShouldUseAlternateSelectedControlColor;
+ (id)defaultMenu;
- (id)init;
- (id)_convertToText:(id)fp8;
- (BOOL)_allowsContextMenus;
- (void)_commonInit;
- (id)initTextCell:(id)fp8;
- (id)initImageCell:(id)fp8;
- (id)copy;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)retain;
- (void)release;
- (unsigned int)retainCount;
- (void)dealloc;
- (void)_setControlView:(id)fp8;
- (BOOL)_prefersTrackingWhenDisabled;
- (BOOL)_highlightsWithHighlightRect;
- (id)_useUserKeyEquivalent;
- (BOOL)_usesUserKeyEquivalent;
- (id)controlView;
- (int)type;
- (void)setType:(int)fp8;
- (int)state;
- (void)setState:(int)fp8;
- (id)target;
- (void)setTarget:(id)fp8;
- (SEL)action;
- (void)setAction:(SEL)fp8;
- (int)tag;
- (void)setTag:(int)fp8;
- (id)title;
- (void)setTitle:(id)fp8;
- (BOOL)isOpaque;
- (BOOL)isEnabled;
- (void)setEnabled:(BOOL)fp8;
- (int)sendActionOn:(int)fp8;
- (BOOL)isContinuous;
- (void)setContinuous:(BOOL)fp8;
- (BOOL)acceptsFirstResponder;
- (void)setRefusesFirstResponder:(BOOL)fp8;
- (BOOL)refusesFirstResponder;
- (void)_setAcceptsFirstResponder:(BOOL)fp8;
- (BOOL)isEditable;
- (void)setEditable:(BOOL)fp8;
- (BOOL)isSelectable;
- (void)setSelectable:(BOOL)fp8;
- (BOOL)isBordered;
- (void)setBordered:(BOOL)fp8;
- (BOOL)isBezeled;
- (void)setBezeled:(BOOL)fp8;
- (BOOL)isScrollable;
- (void)setScrollable:(BOOL)fp8;
- (BOOL)isHighlighted;
- (void)setHighlighted:(BOOL)fp8;
- (int)alignment;
- (void)_setHorizontallyCentered:(BOOL)fp8;
- (void)_setVerticallyCentered:(BOOL)fp8;
- (void)setAlignment:(int)fp8;
- (BOOL)wraps;
- (void)setWraps:(BOOL)fp8;
- (int)entryType;
- (void)setEntryType:(int)fp8;
- (BOOL)isEntryAcceptable:(id)fp8;
- (void)setFloatingPointFormat:(BOOL)fp8 left:(unsigned int)fp12 right:(unsigned int)fp16;
- (id)keyEquivalent;
- (void)_invalidateObjectValue;
- (id)_updateInvalidatedObjectValue:(id)fp8;
- (id)_contents;
- (id)_formatObjectValue:(id)fp8 invalid:(BOOL)fp12;
- (void)_setContents:(id)fp8;
- (id)objectValue;
- (void)setObjectValue:(id)fp8;
- (BOOL)hasValidObjectValue;
- (id)stringValue;
- (id)_textAttributes;
- (int)_lineBreakMode;
- (void)_setTextAttributeParaStyleNeedsRecalc;
- (int)_typesetterBehavior;
- (id)_attributedStringForEditing;
- (id)_stringForEditing;
- (id)_unformattedAttributedStringValue:(id)fp8;
- (id)_attributedStringValue:(id)fp8 invalid:(BOOL)fp12;
- (BOOL)_hasAttributedStringValue;
- (id)attributedStringValue;
- (BOOL)_objectValue:(id *)fp8 forString:(id)fp12;
- (void)setStringValue:(id)fp8;
- (void)setAttributedStringValue:(id)fp8;
- (void)setMnemonicLocation:(unsigned int)fp8;
- (unsigned int)mnemonicLocation;
- (id)mnemonic;
- (void)setTitleWithMnemonic:(id)fp8;
- (void)setShowsFirstResponder:(BOOL)fp8;
- (BOOL)showsFirstResponder;
- (void)setFocusRingType:(int)fp8;
- (int)focusRingType;
- (int)_effectiveFocusRingType;
- (BOOL)allowsEditingTextAttributes;
- (void)setAllowsEditingTextAttributes:(BOOL)fp8;
- (BOOL)importsGraphics;
- (void)setImportsGraphics:(BOOL)fp8;
- (int)compare:(id)fp8;
- (int)intValue;
- (void)setIntValue:(int)fp8;
- (float)floatValue;
- (void)setFloatValue:(float)fp8;
- (double)doubleValue;
- (void)setDoubleValue:(double)fp8;
- (void)takeIntValueFrom:(id)fp8;
- (void)takeFloatValueFrom:(id)fp8;
- (void)takeDoubleValueFrom:(id)fp8;
- (void)takeStringValueFrom:(id)fp8;
- (void)takeObjectValueFrom:(id)fp8;
- (id)font;
- (void)setFont:(id)fp8;
- (void)_invalidateFont;
- (id)image;
- (void)setImage:(id)fp8;
- (void)setControlTint:(int)fp8;
- (int)controlTint;
- (void)setControlSize:(int)fp8;
- (int)controlSize;
- (void)setFormatter:(id)fp8;
- (id)formatter;
- (id)representedObject;
- (void)setRepresentedObject:(id)fp8;
- (int)cellAttribute:(int)fp8;
- (void)setCellAttribute:(int)fp8 to:(int)fp12;
- (struct _NSRect)imageRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)titleRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)drawingRectForBounds:(struct _NSRect)fp8;
- (struct _NSSize)cellSize;
- (void)_setIsWhite:(BOOL)fp8;
- (BOOL)_isWhite;
- (BOOL)_wantsCellClipTipsWhenDisplayedInRect:(struct _NSRect)fp8 inView:(id)fp24;
- (struct _NSRect)_cellClipTipRectForFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_drawCellClipTipWithFrame:(struct _NSRect)fp8 inToolTipView:(id)fp24 forView:(id)fp28;
- (void)_setDrawingInClipTip:(BOOL)fp8;
- (BOOL)_drawingInClipTip;
- (BOOL)_validateEntryString:(id)fp8 uiHandled:(char *)fp12;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (void)calcDrawInfo:(struct _NSRect)fp8;
- (id)setUpFieldEditorAttributes:(id)fp8;
- (struct _NSRange)_characterRangeForPoint:(struct _NSPoint)fp8 inRect:(struct _NSRect)fp16 ofView:(id)fp32;
- (void)_drawLiveResizeHighlightWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_setNeedsHighlightedTextHint:(BOOL)fp8;
- (BOOL)_needsHighlightedTextHint;
- (BOOL)_usingAlternateHighlightColorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (id)highlightColorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_drawHighlightWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_drawFocusRingWithFrame:(struct _NSRect)fp8;
- (void)_setCurrentlyEditing:(BOOL)fp8;
- (BOOL)_shouldSetHighlightToFlag:(BOOL)fp8;
- (void)highlight:(BOOL)fp8 withFrame:(struct _NSRect)fp12 inView:(id)fp28;
- (id)_setMouseDownFlags:(int)fp8;
- (int)mouseDownFlags;
- (void)getPeriodicDelay:(float *)fp8 interval:(float *)fp12;
- (BOOL)startTrackingAt:(struct _NSPoint)fp8 inView:(id)fp16;
- (BOOL)continueTracking:(struct _NSPoint)fp8 at:(struct _NSPoint)fp16 inView:(id)fp24;
- (void)stopTracking:(struct _NSPoint)fp8 at:(struct _NSPoint)fp16 inView:(id)fp24 mouseIsUp:(BOOL)fp28;
- (BOOL)_sendActionFrom:(id)fp8;
- (void)_displaySomeWindowsIfNeeded:(id)fp8;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (struct _NSRect)_focusRingFrameForFrame:(struct _NSRect)fp8 cellFrame:(struct _NSRect)fp24;
- (struct _NSRect)_centerInnerBounds:(struct _NSRect)fp8;
- (id)_selectOrEdit:(const struct _NSRect *)fp8 inView:(id)fp12 target:(id)fp16 editor:(id)fp20 event:(id)fp24 start:(int)fp28 end:(int)fp32;
- (void)_synchronizeTextView:(id)fp8;
- (void)_restartEditingWithTextView:(id)fp8;
- (void)editWithFrame:(struct _NSRect)fp8 inView:(id)fp24 editor:(id)fp28 delegate:(id)fp32 event:(id)fp36;
- (void)selectWithFrame:(struct _NSRect)fp8 inView:(id)fp24 editor:(id)fp28 delegate:(id)fp32 start:(int)fp36 length:(int)fp40;
- (void)_validateEditing:(id)fp8;
- (void)endEditing:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)resetCursorRect:(struct _NSRect)fp8 inView:(id)fp24;
- (void)performClick:(id)fp8;
- (void)setMenu:(id)fp8;
- (id)menu;
- (id)menuForEvent:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28;
- (void)setSendsActionOnEndEditing:(BOOL)fp8;
- (BOOL)sendsActionOnEndEditing;
- (BOOL)wantsNotificationForMarkedText;

@end

@interface NSCell (NSCell_Placeholder)
- (void)_setPlaceholderString:(id)fp8;
- (id)_placeholderString;
- (void)_setPlaceholderAttributedString:(id)fp8;
- (id)_placeholderAttributedString;
@end

@interface NSCell (NSCellControlTint)
- (int)_realControlTint;
- (BOOL)_needRedrawOnWindowChangedKeyState;
- (BOOL)_wantsHeartBeat;
- (void)heartBeat:(CDAnonymousStruct10 *)fp8;
- (BOOL)_isAnimatingDefaultCell;
@end

@interface NSCell (NSPrivate_CellMouseTracking)
- (void)_setMouseTrackingInRect:(struct _NSRect)fp8 ofView:(id)fp24;
- (void)_clearMouseTracking;
- (void)_updateMouseTracking:(id)fp8;
@end

@interface NSCell (NSCellMixedState)
- (void)setAllowsMixedState:(BOOL)fp8;
- (BOOL)allowsMixedState;
- (int)nextState;
- (void)setNextState;
@end

@interface NSAccessibilityReparentingCellProxy : NSAccessibilityReparentingProxy
{
}

- (id)accessibilityHelpAttribute;
- (BOOL)accessibilityIsFocusedAttributeSettable;
- (void)accessibilitySetFocusedAttribute:(id)fp8;
- (id)accessibilityWindowAttribute;
- (id)accessibilityPositionAttribute;
- (id)accessibilitySizeAttribute;

@end

@interface NSCell (NSCellAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (BOOL)accessibilityIsRoleAttributeSettable;
- (id)accessibilityRoleDescriptionAttribute;
- (BOOL)accessibilityIsRoleDescriptionAttributeSettable;
- (id)accessibilityHelpAttribute;
- (BOOL)accessibilityIsHelpAttributeSettable;
- (id)accessibilityEnabledAttribute;
- (BOOL)accessibilityIsEnabledAttributeSettable;
- (id)accessibilityFocusedAttribute;
- (BOOL)accessibilityIsFocusedAttributeSettable;
- (void)accessibilitySetFocusedAttribute:(id)fp8;
- (id)accessibilityParentAttribute;
- (BOOL)accessibilityIsParentAttributeSettable;
- (id)accessibilityWindowAttribute;
- (BOOL)accessibilityIsWindowAttributeSettable;
- (id)accessibilityPositionAttribute;
- (BOOL)accessibilityIsPositionAttributeSettable;
- (id)accessibilitySizeAttribute;
- (BOOL)accessibilityIsSizeAttributeSettable;
- (id)accessibilityAttributeValue:(id)fp8;
- (BOOL)accessibilityIsAttributeSettable:(id)fp8;
- (void)accessibilitySetValue:(id)fp8 forAttribute:(id)fp12;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
- (BOOL)accessibilityShouldUseUniqueId;
- (void)accessibilityPostNotification:(id)fp8;
- (id)accessibilityElementWithParent:(id)fp8;
@end

@interface NSCGSContext : NSGraphicsContext
{
struct CGContext *_cgsContext;
}

+ (id)graphicsContextWithAttributes:(id)fp8;
- (void)dealloc;
- (void)saveGraphicsState;
- (void)restoreGraphicsState;
- (void)flushGraphics;
- (void *)graphicsPort;
- (void *)windowID;
- (void)_invalidate;

@end

@interface NSCGSContext (NSCGSContext_RenderingOptions)
- (void)setShouldAntialias:(BOOL)fp8;
- (BOOL)shouldAntialias;
- (void)setImageInterpolation:(int)fp8;
- (int)imageInterpolation;
- (void)setPatternPhase:(struct _NSPoint)fp8;
- (struct _NSPoint)patternPhase;
@end

@interface NSCGSFont : NSFont
{
struct _NSFaceInfo *_faceInfo;
id _otherFont;
float *_matrix;
struct _NS_cgsResv *_reservedCGS;
float _constWidth;
}

+ (void)initialize;
+ (id)_realCloneFont:(id)fp8 withFlag:(int)fp12;
+ (void)_resetFaceInfo:(struct _NSFaceInfo *)fp8;
+ (id)coveredCharacterCache;
- (void)dealloc;
- (id)description;
- (float)pointSize;
- (id)familyName;
- (id)encodingScheme;
- (const float *)__matrix;
- (const float *)matrix;
- (void)set;
- (BOOL)_shouldAntialias;
- (float)widthOfString:(id)fp8;
- (float)_widthOfPackedGlyphs:(const char *)fp8 count:(unsigned int)fp12;
- (id)screenFont;
- (id)printerFont;
- (void)_setIsDefaultFace:(BOOL)fp8;
- (BOOL)_isDefaultFace;
- (void)_preInitSetMatrix:(const float *)fp8 fontSize:(float)fp12;
- (void)_postInit;
- (BOOL)_wantsToHaveLeadingBelow;
- (BOOL)_forceAscenderDelta;
- (struct _NSFaceInfo *)_concreteFontInit:(struct _NSFaceInfo *)fp8;
- (float)_leading;
- (BOOL)_isSystemFont;
- (BOOL)_isHiraginoFont;
- (BOOL)_readBasicMetricsForSize:(float)fp8 allowFailure:(BOOL)fp12;
- (BOOL)isBaseFont;
- (BOOL)_isCanonEncoding;
- (BOOL)isFixedPitch;
- (BOOL)_isFakeFixedPitch;
- (BOOL)_canDrawOutsideLineHeight;
- (BOOL)_glyphDrawsOutsideLineHeight:(unsigned int)fp8;
- (float)_ascenderDeltaForBehavior:(int)fp8;
- (float)defaultLineHeightForFont;
- (float)_defaultLineHeightForUILayout;
- (float)_baseLineHeightForFont:(BOOL)fp8;
- (float)_defaultLineHightForUILayout;
- (float)_baselineOffsetForUILayout;
- (struct _NSRect)boundingRectForFont;
- (struct _NSRect)_absoluteBoundingRectForGlyph:(unsigned int)fp8;
- (struct _NSRect)boundingRectForGlyph:(unsigned int)fp8;
- (struct _NSRect)_summationRectForFont;
- (struct _NSSize)advancementForGlyph:(unsigned int)fp8;
- (struct _NSSize)maximumAdvancement;
- (float)underlinePosition;
- (float)underlineThickness;
- (float)italicAngle;
- (float)capHeight;
- (float)xHeight;
- (float)ascender;
- (float)descender;
- (struct _NSSize)_absoluteAdvancementForGlyph:(unsigned int)fp8;
- (void)_initNominalMappings;
- (id)_coveredCharSet;
- (BOOL)_usesNoRulebook;
- (unsigned int)_rawDefaultGlyphForChar:(unsigned short)fp8;
- (unsigned int)_defaultGlyphForChar:(unsigned short)fp8;
- (struct _NSPoint)positionOfGlyph:(unsigned int)fp8 precededByGlyph:(unsigned int)fp12 isNominal:(char *)fp16;
- (int)positionsForCompositeSequence:(unsigned int *)fp8 numberOfGlyphs:(int)fp12 pointArray:(struct _NSPoint *)fp16;
- (struct _NSPoint)positionOfGlyph:(unsigned int)fp8 struckOverGlyph:(unsigned int)fp12 metricsExist:(char *)fp16;
- (float)_horizontalAdjustmentForItalicAngleAtHeight:(float)fp8;
- (struct _NSPoint)positionOfGlyph:(unsigned int)fp8 withRelation:(int)fp12 toBaseGlyph:(unsigned int)fp16 totalAdvancement:(struct _NSSize *)fp20 metricsExist:(char *)fp24;
- (struct _NSPoint)positionOfGlyph:(unsigned int)fp8 struckOverRect:(struct _NSRect)fp12 metricsExist:(char *)fp28;
- (struct _NSPoint)positionOfGlyph:(unsigned int)fp8 forLongCharacter:(unsigned long)fp12 struckOverRect:(struct _NSRect)fp16;
- (unsigned int)glyphWithName:(id)fp8;
- (id)nameOfGlyph:(unsigned int)fp8;
- (BOOL)glyphIsEncoded:(unsigned int)fp8;
- (int)glyphPacking;
- (id)afmDictionary;
- (id)afmFileContents;
- (void *)metrics;
- (BOOL)coversAllCharactersInString:(id)fp8;
- (BOOL)coversCharacter:(unsigned short)fp8;
- (unsigned int)hyphenGlyphForLanguage:(id)fp8;
- (void *)_atsFontID;
- (short)_fondID;
- (unsigned int)mostCompatibleStringEncoding;
- (unsigned int)_fontFallbackType;
- (void)_purgeResources;
- (int)_numberOfNominalMappings;
- (unsigned short *)_nominalChars;
- (unsigned short *)_nominalGlyphs;
- (struct CGFont *)_backingCGSFont;
- (unsigned int)_numberOfGlyphs;
- (unsigned int)numberOfGlyphs;

@end

@interface _NSCGFontCharacterSet : NSCharacterSet
{
unsigned char _buckets[8192];
}

- (BOOL)characterIsMember:(unsigned short)fp8;
- (id)bitmapRepresentation;

@end

@interface NSCharacterProperty : NSObject
{
NSRulebook *_propbook;
NSMutableArray *_propset;
}

+ (BOOL)setSystemCharacterProperties:(id)fp8;
+ (id)systemCharacterProperties;
+ (int)directionalType:(unsigned short)fp8;
+ (int)nonspacingMarkPriority:(unsigned short)fp8;
+ (BOOL)isBidirectionalControlCharacter:(unsigned short)fp8;
- (id)initWithRulebookSet:(struct _NSRulebookSetHeader *)fp8;
- (id)initWithContentsOfFile:(id)fp8;
- (void)dealloc;
- (int)character:(unsigned short)fp8 hasNumericProperty:(int)fp12;
- (int)character:(unsigned short)fp8 hasProperty:(int)fp12;

@end

@interface NSRulebookSetObject : NSObject
{
struct _NSRulebookSetHeader *aset;
}

- (id)initWithSetHeader:(struct _NSRulebookSetHeader *)fp8;
- (struct _NSRulebookSetHeader *)setHeader;

@end

@interface NSScrollAnimationHelper : NSAnimationHelper
{
id _delegate;
struct _NSPoint _startPoint;
struct _NSPoint _endPoint;
struct _NSPoint _totalDelta;
}

- (struct _NSPoint)_currentPoint;
- (void)_doAnimationStepWithProgress:(float)fp8;
- (void)_doFinalAnimationStep;
- (id)initWithDelegate:(id)fp8;
- (void)scrollToPoint:(struct _NSPoint)fp8;
- (void)changeDestinationToPoint:(struct _NSPoint)fp8;
- (struct _NSPoint)targetOrigin;

@end

@interface NSClipView : NSView
{
NSColor *_backgroundColor;
NSView *_docView;
struct _NSRect _docRect;
struct _NSRect _oldDocFrame;
NSCursor *_cursor;
void *_halftone;
struct __cvFlags _cvFlags;
}

+ (void)_animatedScrollingPreferencesChanged:(id)fp8;
+ (void)initialize;
+ (void)_setAutoscrollResponseMultiplier:(float)fp8;
+ (float)_autoscrollResponseMultiplier;
- (id)initWithFrame:(struct _NSRect)fp8;
- (BOOL)isOpaque;
- (id)_setSuperview:(id)fp8;
- (void)setDocumentView:(id)fp8;
- (void)willRemoveSubview:(id)fp8;
- (id)documentView;
- (void)_setDocViewFromRead:(id)fp8;
- (struct _NSRect)documentRect;
- (struct _NSRect)documentVisibleRect;
- (id)_markUsedByCell;
- (BOOL)_isUsedByCell;
- (void)setBackgroundColor:(id)fp8;
- (id)backgroundColor;
- (void)setDrawsBackground:(BOOL)fp8;
- (void)_setDrawsBackground:(BOOL)fp8;
- (BOOL)drawsBackground;
- (BOOL)_drawsBackground;
- (void)drawRect:(struct _NSRect)fp8;
- (void)_pinDocRect;
- (void)setFrameOrigin:(struct _NSPoint)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)setFrameRotation:(float)fp8;
- (void)setBoundsOrigin:(struct _NSPoint)fp8;
- (void)setBoundsSize:(struct _NSSize)fp8;
- (void)setBoundsRotation:(float)fp8;
- (void)translateOriginToPoint:(struct _NSPoint)fp8;
- (void)scaleUnitSquareToSize:(struct _NSSize)fp8;
- (void)rotateByAngle:(float)fp8;
- (id)_computeBounds;
- (void)_selfBoundsChanged;
- (struct _NSRect)_dirtyRectUncoveredFromOldDocFrame:(struct _NSRect)fp8 byNewDocFrame:(struct _NSRect)fp24;
- (void)viewFrameChanged:(id)fp8;
- (void)viewBoundsChanged:(id)fp8;
- (BOOL)isFlipped;
- (void)_alignCoords;
- (void)_extendNextScrollRelativeToCurrentPosition;
- (BOOL)autoscroll:(id)fp8;
- (BOOL)_shouldAutoscrollForDraggingInfo:(id)fp8;
- (void)_autoscrollForDraggingInfo:(id)fp8 timeDelta:(double)fp12;
- (void)_scrollPoint:(const struct _NSPoint *)fp8 fromView:(id)fp12;
- (BOOL)_scrollRectToVisible:(const struct _NSRect *)fp8 fromView:(id)fp12;
- (BOOL)_scrollTo:(const struct _NSPoint *)fp8;
- (BOOL)_scrollTo:(const struct _NSPoint *)fp8 animate:(BOOL)fp12;
- (struct _NSPoint)constrainScrollPoint:(struct _NSPoint)fp8;
- (BOOL)_canAnimateScrolls;
- (void)_setCanAnimateScrolls:(BOOL)fp8;
- (void)setCopiesOnScroll:(BOOL)fp8;
- (BOOL)copiesOnScroll;
- (void)_animatedScrollToPoint:(struct _NSPoint)fp8;
- (void)_immediateScrollToPoint:(struct _NSPoint)fp8;
- (void)scrollToPoint:(struct _NSPoint)fp8;
- (BOOL)_scrollInProgress;
- (void)setUpGState;
- (BOOL)needsPanelToBecomeKey;
- (BOOL)acceptsFirstResponder;
- (BOOL)becomeFirstResponder;
- (void)setNextKeyView:(id)fp8;
- (void)setDocumentCursor:(id)fp8;
- (id)documentCursor;
- (void)resetCursorRects;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)dealloc;
- (BOOL)_isAnimatingScroll;
- (struct _NSPoint)_animatingScrollTargetOrigin;

@end

@interface NSClassSwapper : NSObject
{
NSString *className;
id template;
}

+ (void)initialize;
- (id)init;
- (void)dealloc;
- (id)template;
- (void)setTemplate:(id)fp8;
- (id)className;
- (void)setClassName:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSCompressedSimpleCollatorElement : NSCollatorElement
{
NSData *table;
short *data;
int numElements;
unsigned short minElement;
unsigned short maxElement;
}

- (id)initWithName:(id)fp8;
- (void)dealloc;
- (void)entryState:(struct _NSSortState *)fp8;
- (int)stepKey:(id)fp8 elements:(unsigned short *)fp12 number:(int *)fp16 state:(struct _NSSortState *)fp20;

@end

@interface NSCompressedMultipassCollatorElement : NSMultipassCollatorElement
{
char **passData;
unsigned short *keyData;
int numKeys;
}

- (id)initWithName:(id)fp8;
- (void)dealloc;
- (int)stepKey:(id)fp8 elements:(unsigned short *)fp12 number:(int *)fp16 state:(struct _NSSortState *)fp20;

@end

@interface NSMultipassCollatorElement : NSCollatorElement
{
NSDictionary *dict;
NSDictionary *table;
unsigned short numPasses;
unsigned short maxLen;
BOOL _trace;
}

- (id)initWithName:(id)fp8;
- (void)dealloc;
- (id)dictionary;
- (void)entryState:(struct _NSSortState *)fp8;
- (int)stepKey:(id)fp8 elements:(unsigned short *)fp12 number:(int *)fp16 state:(struct _NSSortState *)fp20;

@end

@interface NSMultipassCollatorState : NSObject
{
NSArray *passNameArray;
NSMutableString *revBuffer;
int bufIndex;
int passCount;
unsigned short passNumber;
struct {
unsigned int _buffering:1;
unsigned int _emptyingBuffer:1;
unsigned int _positivePass:1;
} _flags;
}

- (void)release;
- (void)dealloc;
- (BOOL)positivePassDirection;
- (unsigned int)currentPassNumber;
- (BOOL)bufferIsEmpty;

@end

@interface NSBinaryCollatorElement : NSCollatorElement
{
}

+ (void)initialize;
+ (id)sharedInstance;
- (void)entryState:(struct _NSSortState *)fp8;
- (int)stepKey:(id)fp8 elements:(unsigned short *)fp12 number:(int *)fp16 state:(struct _NSSortState *)fp20;

@end

@interface NSCollatorElement : NSObject
{
NSString *_name;
}

+ (void)initialize;
+ (id)availableCollatorElements;
+ (id)collatorElementWithName:(id)fp8;
- (id)name;
- (void)trace;
- (id)initWithName:(id)fp8;
- (void)entryState:(struct _NSSortState *)fp8;
- (int)stepKey:(id)fp8 elements:(unsigned short *)fp12 number:(int *)fp16 state:(struct _NSSortState *)fp20;

@end

@interface NSCollator : NSObject
{
NSString *_name;
NSArray *_elements;
}

+ (void)initialize;
+ (id)defaultCollator;
+ (id)binaryCollator;
+ (id)availableCollators;
+ (void)setDefaultCollator:(id)fp8;
+ (id)collatorWithName:(id)fp8;
- (void)trace;
- (id)_initWithName:(id)fp8;
- (id)initWithName:(id)fp8 element:(id)fp12;
- (id)initWithElementName:(id)fp8;
- (id)initWithName:(id)fp8 elementNames:(id)fp12;
- (void)dealloc;
- (id)name;
- (id)sortKeyForString:(id)fp8 range:(struct _NSRange)fp12 flags:(int)fp20;
- (int)orderString:(id)fp8 string:(id)fp12;
- (int)orderString:(id)fp8 string:(id)fp12 flags:(int)fp16;
- (int)orderString:(id)fp8 range:(struct _NSRange)fp12 string:(id)fp20 range:(struct _NSRange)fp24 flags:(int)fp32;

@end

@interface NSMultipassCollatorElement (NSMultipassPrivate)
- (void)trace;
@end

@interface NSString (NSMutableSubstringPrivateMethods)
- (id)mutableSubstringFromRange:(struct _NSRange)fp8;
@end

@interface NSMutableString (NSCharacterInsertionPrivateMethods)
- (void)appendCharacter:(unsigned short)fp8;
- (void)deleteLastCharacter;
@end

@interface NSDynamicSystemColor : NSCatalogColor
{
}

+ (void)initialize;
+ (void)recacheAllColors:(id)fp8;
+ (id)controlShadowColor;
+ (id)controlDarkShadowColor;
+ (id)controlColor;
+ (id)controlBackgroundColor;
+ (id)controlHighlightColor;
+ (id)controlLightHighlightColor;
+ (id)textColor;
+ (id)textBackgroundColor;
+ (id)controlTextColor;
+ (id)selectedTextColor;
+ (id)selectedTextBackgroundColor;
+ (id)selectedControlTextColor;
+ (id)selectedControlColor;
+ (id)disabledControlTextColor;
+ (id)scrollBarColor;
+ (id)gridColor;
+ (id)toolTipTextColor;
+ (id)toolTipColor;
+ (id)knobColor;
+ (id)selectedKnobColor;
+ (id)highlightColor;
+ (id)shadowColor;
+ (id)windowFrameColor;
+ (id)windowFrameTextColor;
+ (id)selectedMenuItemTextColor;
+ (id)progressIndicatorColor;
+ (id)headerColor;
+ (id)headerTextColor;
+ (id)windowBackgroundColor;
+ (id)blueControlTintColor;
+ (id)graphiteControlTintColor;
+ (id)clearControlTintColor;
+ (id)toolbarBackgroundColor;
+ (id)secondarySelectedControlColor;
+ (id)keyboardFocusIndicatorColor;
+ (id)controlAlternatingRowColor;
+ (id)alternateSelectedControlColor;
+ (id)alternateSecondarySelectedControlColor;
+ (id)alternateSelectedControlTextColor;
+ (id)selectedMenuItemColor;
- (id)initWithSelector:(SEL)fp8;
- (void)recacheColor;
- (void)encodeWithCoder:(id)fp8;
- (void)set;
- (void)setFill;
- (void)setStroke;
- (void)release;
- (id)retain;
- (unsigned int)retainCount;
- (id)autorelease;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)dealloc;

@end

@interface NSGradientPatternColor : NSPatternColor
{
}

- (void)set;
- (void)setFill;
- (void)setStroke;

@end

@interface NSPatternColor : NSColor
{
NSImage *_patternImage;
void *_pattern;
}

+ (id)newWithCoder:(id)fp8 zone:(struct _NSZone *)fp12;
- (id)initWithImage:(id)fp8;
- (void)dealloc;
- (void)set;
- (void)setFill;
- (void)setStroke;
- (id)colorUsingColorSpaceName:(id)fp8 device:(id)fp12;
- (id)colorSpaceName;
- (id)description;
- (id)patternImage;
- (BOOL)isEqual:(id)fp8;
- (unsigned int)hash;
- (Class)classForCoder;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSCatalogColor : NSColor
{
NSString *catalogNameComponent;
NSString *colorNameComponent;
NSColor *genericColor;
}

+ (id)newWithCoder:(id)fp8 zone:(struct _NSZone *)fp12;
- (id)initWithCatalogName:(id)fp8 colorName:(id)fp12 genericColor:(id)fp16;
- (id)colorSpaceName;
- (void)set;
- (void)setFill;
- (void)setStroke;
- (void)drawSwatchInRect:(struct _NSRect)fp8;
- (float)alphaComponent;
- (id)colorWithAlphaComponent:(float)fp8;
- (id)colorUsingColorSpaceName:(id)fp8 device:(id)fp12;
- (id)catalogNameComponent;
- (id)colorNameComponent;
- (id)localizedCatalogNameComponent;
- (id)localizedColorNameComponent;
- (id)description;
- (Class)classForCoder;
- (BOOL)isEqual:(id)fp8;
- (unsigned int)hash;
- (void)encodeWithCoder:(id)fp8;
- (void)dealloc;

@end

@interface NSDeviceCMYKColor : NSColor
{
float cyanComponent;
float magentaComponent;
float yellowComponent;
float blackComponent;
float alphaComponent;
struct CGColor *cachedColor;
}

+ (id)newWithCoder:(id)fp8 zone:(struct _NSZone *)fp12;
- (id)initWithCyan:(float)fp8 magenta:(float)fp12 yellow:(float)fp16 black:(float)fp20 alpha:(float)fp24;
- (void)dealloc;
- (float)cyanComponent;
- (float)magentaComponent;
- (float)yellowComponent;
- (float)blackComponent;
- (float)alphaComponent;
- (void)getCyan:(float *)fp8 magenta:(float *)fp12 yellow:(float *)fp16 black:(float *)fp20 alpha:(float *)fp24;
- (id)colorWithAlphaComponent:(float)fp8;
- (void)set;
- (void)setFill;
- (void)setStroke;
- (void)drawSwatchInRect:(struct _NSRect)fp8;
- (id)colorUsingColorSpaceName:(id)fp8 device:(id)fp12;
- (id)colorSpaceName;
- (id)description;
- (BOOL)isEqual:(id)fp8;
- (unsigned int)hash;
- (Class)classForCoder;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSCachedWhiteColor : NSCalibratedWhiteColor
{
}

- (void)release;
- (id)retain;
- (unsigned int)retainCount;
- (id)autorelease;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)copy;
- (void)dealloc;

@end

@interface NSDeviceWhiteColor : NSCalibratedWhiteColor
{
}

- (id)colorUsingColorSpaceName:(id)fp8 device:(id)fp12;
- (void)drawSwatchInRect:(struct _NSRect)fp8;
- (id)colorSpaceName;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSCalibratedWhiteColor : NSColor
{
float whiteComponent;
float alphaComponent;
struct CGColor *cachedColor;
}

+ (id)newWithCoder:(id)fp8 zone:(struct _NSZone *)fp12;
- (id)initWithWhite:(float)fp8 alpha:(float)fp12;
- (void)dealloc;
- (float)whiteComponent;
- (void)getWhite:(float *)fp8 alpha:(float *)fp12;
- (float)alphaComponent;
- (id)colorWithAlphaComponent:(float)fp8;
- (void)set;
- (void)setFill;
- (void)setStroke;
- (id)colorUsingColorSpaceName:(id)fp8 device:(id)fp12;
- (id)colorSpaceName;
- (id)description;
- (BOOL)isEqual:(id)fp8;
- (unsigned int)hash;
- (Class)classForCoder;
- (void)encodeWithCoder:(id)fp8 colorSpaceCode:(BOOL)fp12;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSCachedRGBColor : NSCalibratedRGBColor
{
}

- (void)release;
- (id)retain;
- (unsigned int)retainCount;
- (id)autorelease;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)copy;
- (void)dealloc;

@end

@interface NSDeviceRGBColor : NSCalibratedRGBColor
{
}

- (id)colorUsingColorSpaceName:(id)fp8 device:(id)fp12;
- (void)drawSwatchInRect:(struct _NSRect)fp8;
- (id)colorSpaceName;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSCalibratedRGBColor : NSColor
{
float redComponent;
float greenComponent;
float blueComponent;
float alphaComponent;
struct CGColor *cachedColor;
}

+ (id)newWithCoder:(id)fp8 zone:(struct _NSZone *)fp12;
- (id)initWithHue:(float)fp8 saturation:(float)fp12 brightness:(float)fp16 alpha:(float)fp20;
- (id)initWithRed:(float)fp8 green:(float)fp12 blue:(float)fp16 alpha:(float)fp20;
- (void)dealloc;
- (float)redComponent;
- (float)greenComponent;
- (float)blueComponent;
- (void)getRed:(float *)fp8 green:(float *)fp12 blue:(float *)fp16 alpha:(float *)fp20;
- (float)hueComponent;
- (float)saturationComponent;
- (float)brightnessComponent;
- (void)getHue:(float *)fp8 saturation:(float *)fp12 brightness:(float *)fp16 alpha:(float *)fp20;
- (float)alphaComponent;
- (id)colorWithAlphaComponent:(float)fp8;
- (void)set;
- (void)setFill;
- (void)setStroke;
- (void)_setAsSystemColor;
- (id)colorUsingColorSpaceName:(id)fp8 device:(id)fp12;
- (id)colorSpaceName;
- (id)description;
- (BOOL)isEqual:(id)fp8;
- (unsigned int)hash;
- (Class)classForCoder;
- (void)encodeWithCoder:(id)fp8 colorSpaceCode:(BOOL)fp12;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSColor : NSObject
{
}

+ (id)blackColor;
+ (id)darkGrayColor;
+ (id)lightGrayColor;
+ (id)whiteColor;
+ (id)grayColor;
+ (id)clearColor;
+ (id)_gray221Color;
+ (id)_gray204Color;
+ (id)_defaultSecondaryColor;
+ (id)_gray136Color;
+ (id)redColor;
+ (id)greenColor;
+ (id)blueColor;
+ (id)_darkBlueColor;
+ (id)_whiteRGBColor;
+ (id)_lightGrayRGBColor;
+ (id)_darkGrayRGBColor;
+ (id)_blackRGBColor;
+ (id)cyanColor;
+ (id)yellowColor;
+ (id)magentaColor;
+ (id)orangeColor;
+ (id)purpleColor;
+ (id)brownColor;
+ (id)_lightYellowColor;
+ (id)_defaultKnobColor;
+ (id)_defaultSelectedKnobColor;
+ (id)_lightBlueColor;
+ (id)_defaultSelectionColor;
+ (id)_defaultProgressIndicatorColor;
+ (id)_blueControlTintColor;
+ (id)_graphiteControlTintColor;
+ (id)_clearControlTintColor;
+ (id)_blueAlternatingRowColor;
+ (id)_graphiteAlternatingRowColor;
+ (id)_blueKeyboardFocusColor;
+ (id)_graphiteKeyboardFocusColor;
+ (id)_controlColor;
+ (id)_toolbarBackgroundColor;
+ (id)controlShadowColor;
+ (id)controlDarkShadowColor;
+ (id)controlColor;
+ (id)controlBackgroundColor;
+ (id)controlHighlightColor;
+ (id)controlLightHighlightColor;
+ (id)textColor;
+ (id)textBackgroundColor;
+ (id)controlTextColor;
+ (id)selectedTextColor;
+ (id)selectedTextBackgroundColor;
+ (id)selectedControlTextColor;
+ (id)selectedControlColor;
+ (id)disabledControlTextColor;
+ (id)scrollBarColor;
+ (id)gridColor;
+ (id)toolTipColor;
+ (id)toolTipTextColor;
+ (id)knobColor;
+ (id)selectedKnobColor;
+ (id)highlightColor;
+ (id)shadowColor;
+ (id)windowFrameColor;
+ (id)windowFrameTextColor;
+ (id)selectedMenuItemColor;
+ (id)selectedMenuItemTextColor;
+ (id)keyboardFocusIndicatorColor;
+ (id)progressIndicatorColor;
+ (id)headerColor;
+ (id)headerTextColor;
+ (id)windowBackgroundColor;
+ (id)blueControlTintColor;
+ (id)clearControlTintColor;
+ (id)graphiteControlTintColor;
+ (id)secondarySelectedControlColor;
+ (id)alternateSelectedControlColor;
+ (id)alternateSecondarySelectedControlColor;
+ (id)alternateSelectedControlTextColor;
+ (id)toolbarBackgroundColor;
+ (id)controlAlternatingRowColor;
+ (id)controlAlternatingRowBackgroundColors;
+ (id)highlightedMenuColor;
+ (id)highlightedMenuTextColor;
+ (id)selectedInactiveColor;
+ (id)colorWithCalibratedWhite:(float)fp8 alpha:(float)fp12;
+ (id)colorWithCalibratedHue:(float)fp8 saturation:(float)fp12 brightness:(float)fp16 alpha:(float)fp20;
+ (id)colorWithCalibratedRed:(float)fp8 green:(float)fp12 blue:(float)fp16 alpha:(float)fp20;
+ (id)colorWithDeviceWhite:(float)fp8 alpha:(float)fp12;
+ (id)colorWithDeviceHue:(float)fp8 saturation:(float)fp12 brightness:(float)fp16 alpha:(float)fp20;
+ (id)colorWithDeviceRed:(float)fp8 green:(float)fp12 blue:(float)fp16 alpha:(float)fp20;
+ (id)colorWithDeviceCyan:(float)fp8 magenta:(float)fp12 yellow:(float)fp16 black:(float)fp20 alpha:(float)fp24;
+ (id)colorWithCatalogName:(id)fp8 colorName:(id)fp12;
+ (id)colorWithPatternImage:(id)fp8;
+ (id)_colorWithGradientImage:(id)fp8;
+ (id)colorFromPasteboard:(id)fp8;
+ (id)oldSystemColorWithCoder:(id)fp8;
+ (void)setIgnoresAlpha:(BOOL)fp8;
+ (BOOL)ignoresAlpha;
+ (BOOL)_calibratedColorOK;
+ (id)colorForControlTint:(int)fp8;
+ (int)currentControlTint;
- (id)colorUsingColorSpaceName:(id)fp8 device:(id)fp12;
- (id)colorWithAlphaComponent:(float)fp8;
- (id)colorUsingColorSpaceName:(id)fp8;
- (float)alphaComponent;
- (id)blendedColorWithFraction:(float)fp8 ofColor:(id)fp12;
- (id)_addColor:(id)fp8;
- (id)_subtractColor:(id)fp8;
- (void)writeToPasteboard:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)copy;
- (unsigned int)hash;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (void)drawSwatchInRect:(struct _NSRect)fp8;
- (void)_setAsSystemColor;
- (void)set;
- (id)colorSpaceName;
- (id)catalogNameComponent;
- (id)colorNameComponent;
- (id)localizedCatalogNameComponent;
- (id)localizedColorNameComponent;
- (float)redComponent;
- (float)greenComponent;
- (float)blueComponent;
- (void)getRed:(float *)fp8 green:(float *)fp12 blue:(float *)fp16 alpha:(float *)fp20;
- (float)hueComponent;
- (float)saturationComponent;
- (float)brightnessComponent;
- (void)getHue:(float *)fp8 saturation:(float *)fp12 brightness:(float *)fp16 alpha:(float *)fp20;
- (float)whiteComponent;
- (void)getWhite:(float *)fp8 alpha:(float *)fp12;
- (float)cyanComponent;
- (float)magentaComponent;
- (float)yellowComponent;
- (float)blackComponent;
- (void)getCyan:(float *)fp8 magenta:(float *)fp12 yellow:(float *)fp16 black:(float *)fp20 alpha:(float *)fp24;
- (id)patternImage;
- (void)setFill;
- (void)setStroke;
- (id)highlightWithLevel:(float)fp8;
- (id)shadowWithLevel:(float)fp8;

@end

@interface NSCoder (NSAppKitColorExtensions)
- (id)decodeNXColor;
@end

@interface NSColor (NSColorAccessibility)
- (id)_accessibilityValue;
@end

@interface NSColorList : NSObject
{
NSMutableArray *_keyArray;
NSMutableArray *_colorArray;
struct __CFDictionary *_keyToIndexTable;
NSString *_name;
NSString *_printerType;
NSString *_fileName;
struct _colorListFlags _flags;
struct NSColorListAuxiliary *_clAuxiliaryStorage;
}

+ (void)_loadSystemScreenColorList;
+ (void)initialize;
+ (id)_newWithName:(id)fp8 fromPath:(id)fp12 forDeviceType:(id)fp16;
+ (id)availableColorLists;
+ (id)_colorListNamed:(id)fp8 forDeviceType:(id)fp12;
+ (id)_findColorListNamed:(id)fp8 forDeviceType:(id)fp12;
+ (id)colorListNamed:(id)fp8;
- (unsigned int)_indexOfKey:(id)fp8;
- (void)_invalidateKeyToIndexTable;
- (id)_initWithName:(id)fp8 fromPath:(id)fp12 forDeviceType:(id)fp16 lazy:(BOOL)fp20;
- (id)initWithName:(id)fp8;
- (id)initWithName:(id)fp8 fromFile:(id)fp12;
- (id)init;
- (void)dealloc;
- (void)removeFile;
- (BOOL)_parseReleaseTwoList:(id)fp8;
- (BOOL)_parseArchivedList:(id)fp8;
- (BOOL)_parsePantoneLikeList:(id)fp8 fileName:(id)fp12;
- (BOOL)_loadColors;
- (BOOL)_rename:(id)fp8 as:(id)fp12;
- (void)setColor:(id)fp8 forKey:(id)fp12;
- (void)insertColor:(id)fp8 key:(id)fp12 atIndex:(unsigned int)fp16;
- (void)_rawAddColor:(id)fp8 key:(id)fp12;
- (void)removeColorWithKey:(id)fp8;
- (id)colorWithKey:(id)fp8;
- (id)_localizedKeyFromBundleStringFileForKey:(id)fp8;
- (id)_localizedNameForColorWithName:(id)fp8;
- (id)_localizedColorListName;
- (id)_localizedColorListCopyrightString;
- (id)allKeys;
- (id)name;
- (BOOL)isEditable;
- (void)_setUpdated:(BOOL)fp8;
- (BOOL)_isUpdated;
- (void)_changed:(id)fp8;
- (BOOL)writeToFile:(id)fp8;
- (id)awakeAfterUsingCoder:(id)fp8;
- (void)_decodeWithoutNameWithCoder:(id)fp8 newStyle:(BOOL)fp12;
- (id)initWithCoder:(id)fp8;
- (void)_encodeWithoutNameWithCoder:(id)fp8 newStyle:(BOOL)fp12;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSColorPanelTextController : NSObject
{
NSColorPanel *_colorPanel;
NSControl *_textControl;
NSTimer *_textTimer;
NSString *_lastEditedStringValue;
id _delegate;
BOOL _acceptLastEnteredText;
}

- (id)initWithTextControl:(id)fp8 colorPanel:(id)fp12 delegate:(id)fp16;
- (void)cancel:(id)fp8;
- (BOOL)control:(id)fp8 textView:(id)fp12 doCommandBySelector:(SEL)fp16;
- (void)stopTextTimer;
- (void)startTextTimer;
- (void)dealloc;
- (void)_forceSetLastEditedStringValue:(id)fp8;
- (void)setLastEditedStringValue:(id)fp8;
- (void)textTimerFired:(id)fp8;
- (void)fieldEditorTextDidChange:(id)fp8;
- (void)controlTextDidBeginEditing:(id)fp8;
- (void)controlTextDidEndEditing:(id)fp8;
- (BOOL)control:(id)fp8 didFailToFormatString:(id)fp12 errorDescription:(id)fp16;
- (BOOL)control:(id)fp8 isValidObject:(id)fp12;
- (BOOL)acceptLastEnteredText;

@end

@interface _NSMagnifier : NSObject
{
}

+ (id)sharedMagnifier;
- (void)trackMagnifierForPanel:(id)fp8;

@end

@interface NSColorSwatch : NSView
{
id colorPanel;
int mousedColor;
NSMutableArray *colors;
int currentHighlight;
int focusedColor;
int numRowsToToggleVisible;
int draggedColorIndex;
}

+ (void)initialize;
- (float)newLegalColorSwatchHeightFromHeight:(float)fp8;
- (BOOL)mouseDownCanMoveWindow;
- (float)heightForNumberOfVisibleRows:(int)fp8;
- (int)numberOfVisibleRows;
- (int)numberOfVisibleCols;
- (void)setNumRowsToToggleVisible:(int)fp8;
- (void)markNumRowsToToggleVisible;
- (int)numRowsToToggleVisible;
- (void)_constrainColorIndexToVisibleBounds:(int *)fp8 dirtyIfNeeded:(BOOL)fp12;
- (id)_reallocColors:(int)fp8;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (BOOL)acceptsFirstResponder;
- (BOOL)needsPanelToBecomeKey;
- (BOOL)_isShowingKeyboardFocus;
- (struct _NSRect)rectOfSwatchInteriorAtIndex:(int)fp8;
- (struct _NSRect)focusedSwatchRect;
- (void)_windowChangedKeyState;
- (BOOL)resignFirstResponder;
- (BOOL)becomeFirstResponder;
- (void)setKeyboardFocusRingNeedsDisplayIfNeededInRect:(struct _NSRect)fp8;
- (void)moveInDirection:(struct _NSPoint)fp8;
- (void)moveRight:(id)fp8;
- (void)moveLeft:(id)fp8;
- (void)moveUp:(id)fp8;
- (void)moveDown:(id)fp8;
- (void)performClick:(id)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)drawColor:(int)fp8;
- (void)setFocusedColorChipIndex:(int)fp8;
- (id)highlightColor:(int)fp8;
- (float)swatchWidth;
- (void)saveNumVisibleRows;
- (BOOL)getSavedNumVisibleRows:(int *)fp8;
- (id)writeColors;
- (unsigned int)draggingEntered:(id)fp8;
- (unsigned int)draggingUpdated:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (id)color;
- (void)mouseDown:(id)fp8;
- (id)storeColorPanel:(id)fp8;
- (id)readColors;
- (id)_delayedUpdateSwatch:(id)fp8;
- (void)updateSwatch;
- (void)dealloc;

@end

@interface NSColorPanel : NSPanel
{
id _colorSwatch;
id _reserved1;
id _colorWell;
NSMutableArray *_pickersWithLoadedViews;
id _magnifyButton;
id _middleView;
id _opacitySlider;
id _opacityText;
id _opacityView;
id _modalButtons;
id _pickerView;
id _customViewsList;
id _customPickerList;
id _currViewObject;
id _boxAboveSwatch;
id _target;
id _accessoryView;
SEL _action;
struct _NSSize _minColorPanelSize;
struct _NSSize _maxColorPanelSize;
struct _NSSize _reserved2;
struct _NSSize _reserved3;
id _resizeDimple;
BOOL _reserved5;
BOOL _reserved6;
BOOL _reserved7;
BOOL _ignoreConstraints;
BOOL _continuous;
BOOL _allowColorSetting;
BOOL _stillInitializing;
id _opacityTextController;
}

+ (id)sharedColorPanel;
+ (BOOL)sharedColorPanelExists;
+ (void)setPickerMask:(int)fp8;
+ (void)setPickerMode:(int)fp8;
+ (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)fp8;
+ (BOOL)ignoreModifierKeysWhileDragging;
+ (BOOL)dragColor:(id)fp8 withEvent:(id)fp12 fromView:(id)fp16;
+ (BOOL)dragColor:(id)fp8 withEvent:(id)fp12 inView:(id)fp16;
+ (void)_setBundle:(id)fp8 forClassPresentInAppKit:(Class)fp12;
+ (id)_bundleForClassPresentInAppKit:(Class)fp8;
- (id)__swatchColors;
- (id)initWithContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 backing:(int)fp28 defer:(BOOL)fp32;
- (void)dealloc;
- (BOOL)worksWhenModal;
- (void)_setTitleFixedPointWindowFrame:(struct _NSSize)fp8 display:(BOOL)fp16 animate:(BOOL)fp20;
- (void)changeWindowFrameSizeByDelta:(struct _NSSize)fp8 display:(BOOL)fp16 animate:(BOOL)fp20;
- (void)resignKeyWindow;
- (void)becomeKeyWindow;
- (id)_keyViewPrecedingPickerViews;
- (id)_keyViewFollowingPickerViews;
- (id)_keyViewPrecedingAccesoryView;
- (id)_keyViewFollowingAccessoryView;
- (id)_keyViewFollowingOpacityViews;
- (id)_keyViewPrecedingModalButtons;
- (id)_keyViewFollowingModalButtons;
- (void)_selectFirstKeyView;
- (void)applicationDidBecomeActive:(id)fp8;
- (void)_forceUpdateDimpleLocation;
- (void)setViewOfPickerIsLoaded:(id)fp8;
- (BOOL)isViewOfPickerLoaded:(id)fp8;
- (void)setAction:(SEL)fp8;
- (void)setTarget:(id)fp8;
- (int)colorMask;
- (id)setColorMask:(int)fp8;
- (id)accessoryView;
- (void)setAccessoryView:(id)fp8;
- (void)setContinuous:(BOOL)fp8;
- (BOOL)isContinuous;
- (void)setMode:(int)fp8;
- (int)mode;
- (id)_provideNewViewFor:(id)fp8 initialViewRequest:(BOOL)fp12;
- (void)_resetOpacity:(id)fp8 andForceSetColor:(BOOL)fp12;
- (id)_resetOpacity:(id)fp8;
- (void)_changeMinColorPanelSizeByDelta:(struct _NSSize)fp8 compareWithOldMinSize:(BOOL)fp16 oldMinSize:(struct _NSSize)fp20 setWindowFrame:(BOOL)fp28;
- (void)_changeMinColorPanelSizeByDelta:(struct _NSSize)fp8 setWindowFrame:(BOOL)fp16;
- (void)_setUseModalAppearance:(BOOL)fp8;
- (void)_setUtilityWindow:(BOOL)fp8;
- (struct _NSRect)_adjustedFrameFromDefaults:(struct _NSRect)fp8;
- (struct _NSRect)_adjustedFrameForSaving:(struct _NSRect)fp8;
- (void)_stopModal:(id)fp8;
- (void)_cancelKey:(id)fp8;
- (void)_setShowAlpha:(BOOL)fp8 andForce:(BOOL)fp12;
- (void)_timedAdjustTextControl:(id)fp8;
- (void)setShowsAlpha:(BOOL)fp8;
- (BOOL)showsAlpha;
- (id)_loadPickerBundlesIn:(id)fp8 expectLibraryLayout:(BOOL)fp12;
- (id)_initWithPickers:(int)fp8;
- (id)_colorPickers;
- (void)_appendColorPicker:(id)fp8;
- (void)_setupButtonImageAndToolTips;
- (int)_savedMode;
- (void)_endLiveResize;
- (id)_pinViews:(id)fp8 resizeFlagsToLeaveAlone:(int)fp12;
- (void)_unpinViews:(id)fp8 resizeMasks:(id)fp12;
- (id)_arrayForPartialPinningFromArray:(id)fp8;
- (void)_dimpleDragStarted:(id)fp8 event:(id)fp12;
- (void)_setNumVisibleSwatchRows:(int)fp8;
- (void)_syncSwatchSizeToSavedNumVisibleRows;
- (void)_dimpleDoubleClicked:(id)fp8 event:(id)fp12;
- (struct _NSSize)_newLegalSizeFromSize:(struct _NSSize)fp8 force:(BOOL)fp16 roundDirection:(int)fp20;
- (void)_saveMode;
- (void)_switchViewForToolbarItem:(id)fp8;
- (struct _NSSize)_panelSizeExcludingToolbar;
- (void)_setMinPickerContentSize:(struct _NSSize)fp8;
- (void)_sizeWindowForPicker:(id)fp8;
- (void)_switchToPicker:(id)fp8;
- (void)_magnify:(id)fp8;
- (id)color;
- (float)alpha;
- (void)attachColorList:(id)fp8;
- (void)detachColorList:(id)fp8;
- (void)_forceSendAction:(BOOL)fp8 notification:(BOOL)fp12 firstResponder:(BOOL)fp16;
- (void)_sendActionAndNotification;
- (void)setColor:(id)fp8;
- (void)_forceSetColor:(id)fp8;
- (void)_set:(id)fp8;
- (void)_colorWellAcceptedColor:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (BOOL)conformsToProtocol:(id)fp8;
- (void)setFrame:(struct _NSRect)fp8 display:(BOOL)fp24;
- (void)_reallyDoOrderWindow:(int)fp8 relativeTo:(int)fp12 findKey:(BOOL)fp16 forCounter:(BOOL)fp20 force:(BOOL)fp24 isModal:(BOOL)fp28;
- (struct _NSSize)windowWillResize:(id)fp8 toSize:(struct _NSSize)fp12;
- (void)_middleViewFrameChanged:(id)fp8;

@end

@interface _NSColorPanelToolbar : NSToolbar
{
NSColorPanel *colorPanel;
BOOL _isMoving;
BOOL _refusesToBeShown;
}

+ (void)attachToolbarToColorPanel:(id)fp8;
- (id)initWithIdentifier:(id)fp8 forColorPanel:(id)fp12;
- (void)dealloc;
- (void)setVisible:(BOOL)fp8;
- (void)setRefusesToBeShown:(BOOL)fp8;
- (BOOL)refusesToBeShown;
- (id)itemIdentifierForColorPicker:(id)fp8;
- (void)colorPanelDidSelectColorPicker:(id)fp8;
- (void)setDisplayMode:(int)fp8;
- (void)setSizeMode:(int)fp8;
- (int)sizeMode;
- (int)displayMode;
- (BOOL)_isMoving;
- (id)configurationDictionary;
- (id)_labelForColorPicker:(id)fp8;
- (id)_imageForColorPicker:(id)fp8;
- (id)_tooltipForColorPicker:(id)fp8;
- (id)_itemIdentifiersForColorPickers:(id)fp8;
- (id)_colorPickerWithIdentifier:(id)fp8;
- (id)toolbar:(id)fp8 itemForItemIdentifier:(id)fp12 willBeInsertedIntoToolbar:(BOOL)fp16;
- (id)toolbarDefaultItemIdentifiers:(id)fp8;
- (id)toolbarAllowedItemIdentifiers:(id)fp8;
- (id)toolbarSelectableItemIdentifiers:(id)fp8;
- (void)syncWithRemoteToolbars;

@end

@interface _NSColorPanelToolbarItem : NSToolbarItem
{
id representedObject;
}

- (void)setRepresentedObject:(id)fp8;
- (id)representedObject;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;

@end

@interface NSColorPanelColorWell : NSColorWell
{
BOOL _disabledAsColorDestination;
BOOL _actsLikeButton;
}

- (void)registerForDraggedTypes:(id)fp8;
- (void)setAcceptsColorDrops:(BOOL)fp8;
- (void)setActsLikeButton:(BOOL)fp8;
- (void)mouseDown:(id)fp8;
- (BOOL)acceptsFirstResponder;
- (void)performClick:(id)fp8;
- (void)moveRight:(id)fp8;
- (void)moveLeft:(id)fp8;
- (struct _NSRect)_colorRect;
- (void)drawWellInside:(struct _NSRect)fp8;
- (void)_drawBorderInRect:(struct _NSRect)fp8;

@end

@interface NSColorPanelResizeDimple : NSView
{
NSView *attachedToView;
}

- (void)mouseDown:(id)fp8;
- (void)mouseDragged:(id)fp8;
- (BOOL)mouseDownCanMoveWindow;
- (void)resetCursorRects;
- (id)grabberImage;
- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)isOpaque;
- (BOOL)acceptsFirstResponder;
- (void)positionRelativeToAttachedView;
- (void)attachedViewFrameDidChange:(id)fp8;
- (void)dealloc;
- (void)awakeFromNib;
- (BOOL)acceptsFirstMouse:(id)fp8;

@end

@interface NSApplication (NSColorPanel)
- (void)orderFrontColorPanel:(id)fp8;
@end

@interface NSPanelController : NSObject
{
id alertPanel;
id iconView;
id okButton;
id form;
id target;
SEL action;
BOOL gotString;
NSString *textFieldStringValue;
}

- (void)_setTextFieldStringValue:(id)fp8;
- (id)init;
- (void)dealloc;
- (BOOL)showPanel:(id)fp8 andNotify:(id)fp12 with:(SEL)fp16;
- (BOOL)gotString;
- (id)stringValue;
- (void)cancel:(id)fp8;
- (BOOL)control:(id)fp8 textView:(id)fp12 doCommandBySelector:(SEL)fp16;
- (void)ok:(id)fp8;
- (void)controlTextDidChange:(id)fp8;

@end

@interface NSColorPicker : NSObject
{
id _imageObject;
NSColorPanel *_colorPanel;
NSString *_buttonToolTip;
}

- (id)initWithPickerMask:(int)fp8 colorPanel:(id)fp12;
- (id)colorPanel;
- (void)dealloc;
- (id)provideNewButtonImage;
- (void)_setButtonToolTip:(id)fp8;
- (id)_buttonToolTip;
- (id)_buttonImageToolTip;
- (void)insertNewButtonImage:(id)fp8 in:(id)fp12;
- (struct _NSSize)minPickerContentSize;
- (void)viewSizeChanged:(id)fp8;
- (void)alphaControlAddedOrRemoved:(id)fp8;
- (float)_insertionOrder;
- (void)attachColorList:(id)fp8;
- (void)detachColorList:(id)fp8;
- (void)setMode:(int)fp8;
- (id)_getTiffImage:(id)fp8 ownedBy:(id)fp12;
- (id)_getTiffImage:(id)fp8 ownedBy:(id)fp12 asImageRep:(BOOL)fp16;

@end

@interface NSColorPickerCrayon : NSColorPicker
{
id crayonView;
id colorTextField;
}

- (id)initWithPickerMask:(int)fp8 colorPanel:(id)fp12;
- (void)changeColor:(id)fp8;
- (BOOL)supportsMode:(int)fp8;
- (int)currentMode;
- (id)provideNewView:(BOOL)fp8;
- (struct _NSSize)minPickerContentSize;
- (id)_buttonImageToolTip;
- (void)setColor:(id)fp8;

@end

@interface NSColorPickerCrayonView : NSView
{
NSColorList *_colorList;
NSMutableArray *_crayonRows;
NSCrayon *_selectedCrayon;
NSColorPickerCrayon *_controllingPicker;
}

- (void)awakeFromNib;
- (void)dealloc;
- (void)viewDidMoveToWindow;
- (void)setFrameSize:(struct _NSSize)fp8;
- (BOOL)acceptsFirstResponder;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (BOOL)needsPanelToBecomeKey;
- (BOOL)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (void)windowDidBecomeKey:(id)fp8;
- (void)windowDidResignKey:(id)fp8;
- (id)color;
- (id)localizedColorNameComponent;
- (void)setColor:(id)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)mouseDownCanMoveWindow;
- (void)mouseDown:(id)fp8;

@end

@interface NSColorPickerCrayonView (NSKeyboardUI)
- (void)keyDown:(id)fp8;
- (void)insertTab:(id)fp8;
- (void)insertBacktab:(id)fp8;
- (void)moveDown:(id)fp8;
- (void)moveLeft:(id)fp8;
- (void)moveRight:(id)fp8;
- (void)moveUp:(id)fp8;
@end

@interface NSColorPickerCrayonView (NSInternal)
+ (id)_crayonMaskImage;
- (id)_colorList;
- (id)_crayons;
- (struct _NSSize)_requiredMinSize;
- (id)_crayonRowAboveRow:(id)fp8;
- (id)_crayonRowBelowRow:(id)fp8;
- (id)_crayonWithColor:(id)fp8;
- (id)_nearestCrayonUnderViewPoint:(struct _NSPoint)fp8 inRow:(id)fp16;
- (id)_nearestCrayonUnderViewPoint:(struct _NSPoint)fp8;
- (float)_opacityAtPoint:(struct _NSPoint)fp8 inBitmapImageRep:(id)fp16;
- (void)_selectCrayon:(id)fp8 updateSelection:(BOOL)fp12;
- (id)_selectedCrayon;
- (id)_focusedCrayon;
- (void)_setColorList:(id)fp8;
- (BOOL)_shouldShowFocusRing;
- (void)_updateCrayonsFromColorList;
- (void)_updateFocusRing;
@end

@interface NSCrayon (NSCrayonAccessibility)
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (BOOL)accessibilityIsRoleAttributeSettable;
- (id)accessibilityRoleDescriptionAttribute;
- (BOOL)accessibilityIsRoleDescriptionAttributeSettable;
- (id)accessibilityParentAttribute;
- (BOOL)accessibilityIsParentAttributeSettable;
- (id)accessibilityTitleAttribute;
- (BOOL)accessibilityIsTitleAttributeSettable;
- (id)accessibilityWindowAttribute;
- (BOOL)accessibilityIsWindowAttributeSettable;
- (id)accessibilityPositionAttribute;
- (BOOL)accessibilityIsPositionAttributeSettable;
- (id)accessibilitySizeAttribute;
- (BOOL)accessibilityIsSizeAttributeSettable;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (id)accessibilityAttributeValue:(id)fp8;
- (BOOL)accessibilityIsAttributeSettable:(id)fp8;
- (void)accessibilitySetValue:(id)fp8 forAttribute:(id)fp12;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
@end

@interface NSColorPickerCrayonView (NSColorPickerCrayonViewAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityChildrenAttribute;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
@end

@interface NSHSBSliders : NSColorSpaceSliders
{
id hueSlider;
id saturationSlider;
id brightnessSlider;
id hueText;
id saturationText;
id brightnessText;
id hsbView;
NSColor *currColor;
NSColor *backgroundColor;
id sliderMatrix;
}

- (id)provideNewSubview:(id)fp8;
- (id)fieldEditableControl;
- (void)setColor:(id)fp8;
- (struct _NSSize)requiredMinSize;
- (void)viewSizeChanged:(id)fp8;
- (BOOL)worksWhenModal;
- (id)adjustControls:(id)fp8;
- (id)_adjustControls:(id)fp8 andSetColor:(BOOL)fp12;

@end

@interface NSCMYKSliders : NSColorSpaceSliders
{
id cyanSlider;
id yellowSlider;
id magentaSlider;
id blackSlider;
id cyanText;
id yellowText;
id magentaText;
id blackText;
id cmykView;
}

- (id)provideNewSubview:(id)fp8;
- (id)fieldEditableControl;
- (void)setColor:(id)fp8;
- (struct _NSSize)requiredMinSize;
- (void)viewSizeChanged:(id)fp8;
- (BOOL)worksWhenModal;
- (id)adjustControls:(id)fp8;
- (id)_adjustControls:(id)fp8 andSetColor:(BOOL)fp12;

@end

@interface NSRGBSliders : NSColorSpaceSliders
{
id redSlider;
id greenSlider;
id blueSlider;
id rgbView;
id redText;
id greenText;
id blueText;
id rgbText;
}

- (id)provideNewSubview:(id)fp8;
- (id)fieldEditableControl;
- (void)setColor:(id)fp8;
- (struct _NSSize)requiredMinSize;
- (void)viewSizeChanged:(id)fp8;
- (BOOL)worksWhenModal;
- (id)adjustControls:(id)fp8;
- (id)_adjustControls:(id)fp8 andSetColor:(BOOL)fp12;

@end

@interface NSGreySliders : NSColorSpaceSliders
{
id greySlider;
id greyText;
id greyView;
id greyViewInside;
id greyButtons[5];
id opacityButtons;
float opacityDistanceFromBottom;
BOOL alphaButtonsAreHidden;
}

- (void)_configureGreyButton:(id)fp8 index:(int)fp12;
- (void)setGreyButton0:(id)fp8;
- (void)setGreyButton1:(id)fp8;
- (void)setGreyButton2:(id)fp8;
- (void)setGreyButton3:(id)fp8;
- (void)setGreyButton4:(id)fp8;
- (void)setGreyButton5:(id)fp8;
- (id)provideNewSubview:(id)fp8;
- (void)dealloc;
- (id)fieldEditableControl;
- (void)setColor:(id)fp8;
- (struct _NSSize)requiredMinSize;
- (void)viewSizeChanged:(id)fp8;
- (void)greySliderFrameChangedNotification:(id)fp8;
- (id)jumpSlider:(id)fp8;
- (BOOL)worksWhenModal;
- (id)adjustControls:(id)fp8;
- (id)_adjustControls:(id)fp8 andSetColor:(BOOL)fp12;
- (void)alphaControlAddedOrRemoved:(id)fp8;

@end

@interface NSColorSpaceSliders : NSObject
{
id colorPanel;
id controllingPicker;
NSColorPanelTextController *textController;
}

- (id)fieldEditableControl;
- (id)provideNewSubview:(id)fp8;
- (void)setColor:(id)fp8;
- (void)viewSizeChanged:(id)fp8;
- (id)_adjustControls:(id)fp8 andSetColor:(BOOL)fp12;
- (id)adjustControls:(id)fp8;
- (void)finishTextFieldSetup;
- (void)dealloc;
- (void)_timedAdjustTextControl:(id)fp8;
- (struct _NSSize)requiredMinSize;

@end

@interface NSColorPickerSliders : NSColorPicker
{
id sliderModePopUp;
id slidersView;
id greySliders;
id rgbSliders;
id hsbSliders;
id cmykSliders;
id currViewObject;
id sliderContainer;
id colorPanelButton;
int modeMask;
}

- (BOOL)worksWhenModal;
- (void)_selectPopUpWithTag:(int)fp8;
- (void)_removePopUpWithTag:(int)fp8;
- (id)showGreyScaleView:(id)fp8;
- (id)showRGBView:(id)fp8;
- (id)showCMYKView:(id)fp8;
- (id)showHSBView:(id)fp8;
- (struct _NSSize)requiredMinSizeFor:(id)fp8;
- (struct _NSSize)minPickerContentSize;
- (id)replaceSubviewWith:(id)fp8;
- (id)initWithPickerMask:(int)fp8 colorPanel:(id)fp12;
- (id)_adjustToMode;
- (id)provideNewView:(BOOL)fp8;
- (float)_insertionOrder;
- (id)_buttonImageToolTip;
- (void)alphaControlAddedOrRemoved:(id)fp8;
- (void)forceSetMode:(int)fp8;
- (void)setMode:(int)fp8;
- (BOOL)supportsMode:(int)fp8;
- (int)currentMode;
- (void)setColor:(id)fp8;
- (void)viewSizeChanged:(id)fp8;
- (id)_saveMode;
- (int)_savedMode;
- (id)_restoreMode;

@end

@interface NSColorPickerUser : NSColorPicker
{
id userPickerView;
id tiffView;
id reserved1;
id renamePanelController;
NSPopUpButton *palettePopUpButton;
id reserved2;
id optionsPopUp;
BOOL bScaleOrNot;
NSMutableDictionary *imageDictionary;
id paste;
id renameField;
id defaultTiffImage;
id removeField;
NSString *currImageName;
}

- (id)_imageFromItemTitle:(id)fp8;
- (void)_setCurrImageName:(id)fp8;
- (void)dealloc;
- (id)setPalettePopUp:(id)fp8;
- (id)setOptionsPopUp:(id)fp8;
- (id)_shortNameFor:(id)fp8;
- (BOOL)saveImageNamed:(id)fp8 andShowWarnings:(BOOL)fp12;
- (id)initWithPickerMask:(int)fp8 colorPanel:(id)fp12;
- (id)provideNewView:(BOOL)fp8;
- (BOOL)pasteItemUpdate:(id)fp8;
- (float)_insertionOrder;
- (id)_buttonImageToolTip;
- (BOOL)supportsMode:(int)fp8;
- (int)currentMode;
- (void)setColor:(id)fp8;
- (id)_saveMode;
- (id)_restoreMode;
- (BOOL)worksWhenModal;
- (id)_switchImage:(id)fp8 andUpdateColor:(BOOL)fp12;
- (id)switchImage:(id)fp8;
- (id)_newImageName:(id)fp8;
- (id)_addImage:(id)fp8 named:(id)fp12;
- (id)_open:(id)fp8 fromImage:(id)fp12 withName:(id)fp16;
- (id)_open:(id)fp8;
- (id)open:(id)fp8;
- (id)_popUpButton;
- (id)validateRename;
- (id)_rename:(id)fp8;
- (id)rename:(id)fp8;
- (void)copy:(id)fp8;
- (void)paste:(id)fp8;
- (BOOL)_removeOrRename:(id)fp8;
- (id)_remove:(id)fp8;
- (id)remove:(id)fp8;

@end

@interface NSColorPickerUserView : NSView
{
id currImage;
struct _NSPoint currentPt;
id colorPanel;
id controllingPicker;
}

- (BOOL)acceptsFirstResponder;
- (BOOL)needsPanelToBecomeKey;
- (BOOL)_isShowingKeyboardFocus;
- (void)_windowChangedKeyState;
- (BOOL)resignFirstResponder;
- (BOOL)becomeFirstResponder;
- (void)setKeyboardFocusRingNeedsDisplayIfNeededInRect:(struct _NSRect)fp8;
- (void)moveCurrentPointInDirection:(struct _NSPoint)fp8;
- (void)moveRight:(id)fp8;
- (void)moveLeft:(id)fp8;
- (void)moveUp:(id)fp8;
- (void)moveDown:(id)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (id)storeColorPanel:(id)fp8;
- (void)resizeWithOldSuperviewSize:(struct _NSSize)fp8;
- (void)setImage:(id)fp8;
- (id)_resizeImage;
- (void)drawRect:(struct _NSRect)fp8;
- (id)colorFromPoint:(struct _NSPoint)fp8;
- (id)color;
- (BOOL)_pointInPicker:(struct _NSPoint *)fp8;
- (BOOL)mouseDownCanMoveWindow;
- (void)mouseDown:(id)fp8;
- (void)registerForFilenameDragTypes;
- (id)initWithFrame:(struct _NSRect)fp8;
- (id)initWithCoder:(id)fp8;
- (unsigned int)draggingEntered:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (void)dealloc;

@end

@interface NSColorPickerWheel : NSColorPicker
{
id wheelView;
id boxWheelView;
id brightnessSlider;
BOOL previouslyTracking;
}

- (id)initWithPickerMask:(int)fp8 colorPanel:(id)fp12;
- (id)provideNewView:(BOOL)fp8;
- (void)viewSizeChanged:(id)fp8;
- (float)_insertionOrder;
- (id)_buttonImageToolTip;
- (BOOL)supportsMode:(int)fp8;
- (int)currentMode;
- (void)setColor:(id)fp8;
- (BOOL)worksWhenModal;
- (id)brightnessSlider:(id)fp8;

@end

@interface NSColorPickerWheelView : NSView
{
id displayWheelImage;
struct _NSPoint currentPt;
BOOL tracking;
id colorPanel;
id controllingPicker;
float brightness;
}

- (BOOL)acceptsFirstMouse:(id)fp8;
- (BOOL)acceptsFirstResponder;
- (BOOL)needsPanelToBecomeKey;
- (BOOL)_isShowingKeyboardFocus;
- (void)_windowChangedKeyState;
- (BOOL)resignFirstResponder;
- (BOOL)becomeFirstResponder;
- (void)setKeyboardFocusRingNeedsDisplayIfNeededInRect:(struct _NSRect)fp8;
- (void)moveCurrentPointInDirection:(struct _NSPoint)fp8;
- (void)moveRight:(id)fp8;
- (void)moveLeft:(id)fp8;
- (void)moveUp:(id)fp8;
- (void)moveDown:(id)fp8;
- (id)storeColorPanel:(id)fp8;
- (void)setColor:(id)fp8;
- (id)color;
- (id)brightColor;
- (BOOL)isTracking;
- (id)setBrightness:(float)fp8;
- (id)_compositeImage;
- (BOOL)_pointInPicker:(struct _NSPoint *)fp8;
- (struct _NSPoint)_pointFromColor:(id)fp8;
- (void)viewSizeChanged:(id)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (id)_resizeView;
- (void)drawRect:(struct _NSRect)fp8;
- (id)_brightColorFromPoint:(struct _NSPoint)fp8 fullBrightness:(BOOL)fp16;
- (id)_colorFromPoint:(struct _NSPoint)fp8;
- (BOOL)mouseDownCanMoveWindow;
- (void)mouseDown:(id)fp8;

@end

@interface NSColorScaleSliderCell : NSSliderCell
{
int _scaleType;
NSBitmapImageRep *_scaleBitmap;
BOOL _scaleBitmapValid;
NSColor *_scaleColor;
}

- (BOOL)_usesCustomTrackImage;
- (void)_computeColorScaleIfNecessaryWithSize:(struct _NSSize)fp8;
- (void)_drawCustomTrackWithTrackRect:(struct _NSRect)fp8 inView:(id)fp24;
- (void)setDrawsTrackAsColorScaleType:(int)fp8;
- (void)setColor:(id)fp8;

@end

@interface NSColorScaleSlider : NSSlider
{
}

+ (void)initialize;
- (void)setDrawsTrackAsColorScaleType:(int)fp8;
- (void)setColor:(id)fp8;

@end

@interface NSColorWell : NSControl
{
NSColor *_color;
id _target;
SEL _action;
struct __cwFlags _cwFlags;
}

+ (void)initialize;
+ (void)colorPanelColorChanged:(id)fp8;
- (id)_takeColorFrom:(id)fp8 andSendAction:(BOOL)fp12;
- (id)_takeColorFromAndSendActionIfContinuous:(id)fp8;
- (id)_takeColorFromDoAction:(id)fp8;
- (BOOL)isBordered;
- (void)setBordered:(BOOL)fp8;
- (void)_colorWellCommonAwake;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)drawColor;
- (void)drawWellInside:(struct _NSRect)fp8;
- (BOOL)_hasKeyboardFocus;
- (void)_windowChangedKeyState;
- (BOOL)resignFirstResponder;
- (BOOL)becomeFirstResponder;
- (void)_drawBorderInRect:(struct _NSRect)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (void)deactivate;
- (void)takeColorFrom:(id)fp8;
- (BOOL)isActive;
- (BOOL)isContinuous;
- (void)setContinuous:(BOOL)fp8;
- (void)activate:(BOOL)fp8;
- (BOOL)acceptsFirstResponder;
- (void)_performActivationClickWithShiftDown:(BOOL)fp8;
- (void)performClick:(id)fp8;
- (void)altModifySelection:(id)fp8;
- (void)shiftModifySelection:(id)fp8;
- (void)windowWillClose:(id)fp8;
- (void)acceptColor:(id)fp8 atPoint:(struct _NSPoint)fp12;
- (unsigned int)draggingEntered:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (id)color;
- (void)setColor:(id)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (void)mouseDown:(id)fp8;
- (id)target;
- (void)setTarget:(id)fp8;
- (SEL)action;
- (void)setAction:(SEL)fp8;
- (void)dealloc;
- (void)encodeWithCoder:(id)fp8;
- (id)_old_initWithCoder_NSColorWell:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (BOOL)isOpaque;

@end

@interface NSColorWell (NSColorWellAccessibility)
+ (BOOL)accessibilityIsSingleCelled;
- (id)accessibilityAttributeNames;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (id)accessibilityRoleAttribute;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
@end

@interface NSComboBox : NSTextField
{
id _dataSource;
}

+ (void)initialize;
- (id)initWithFrame:(struct _NSRect)fp8;
- (BOOL)hasVerticalScroller;
- (void)setHasVerticalScroller:(BOOL)fp8;
- (struct _NSSize)intercellSpacing;
- (void)setIntercellSpacing:(struct _NSSize)fp8;
- (float)itemHeight;
- (void)setItemHeight:(float)fp8;
- (int)numberOfVisibleItems;
- (void)setNumberOfVisibleItems:(int)fp8;
- (void)setButtonBordered:(BOOL)fp8;
- (BOOL)isButtonBordered;
- (BOOL)completes;
- (void)setCompletes:(BOOL)fp8;
- (id)dataSource;
- (void)setDataSource:(id)fp8;
- (void)setUsesDataSource:(BOOL)fp8;
- (BOOL)usesDataSource;
- (void)setDelegate:(id)fp8;
- (void)reloadData;
- (void)noteNumberOfItemsChanged;
- (void)scrollItemAtIndexToTop:(int)fp8;
- (void)scrollItemAtIndexToVisible:(int)fp8;
- (void)selectItemAtIndex:(int)fp8;
- (void)deselectItemAtIndex:(int)fp8;
- (int)indexOfSelectedItem;
- (int)numberOfItems;
- (void)addItemWithObjectValue:(id)fp8;
- (void)addItemsWithObjectValues:(id)fp8;
- (void)insertItemWithObjectValue:(id)fp8 atIndex:(int)fp12;
- (void)removeItemWithObjectValue:(id)fp8;
- (void)removeItemAtIndex:(int)fp8;
- (void)removeAllItems;
- (void)selectItemWithObjectValue:(id)fp8;
- (id)itemObjectValueAtIndex:(int)fp8;
- (id)objectValueOfSelectedItem;
- (int)indexOfItemWithObjectValue:(id)fp8;
- (id)objectValues;
- (void)mouseDown:(id)fp8;
- (BOOL)acceptsFirstResponder;
- (BOOL)mouseDownCanMoveWindow;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSComboBox (NSComboBoxCellNotifications)
- (void)comboBoxCellSelectionDidChange:(id)fp8;
- (void)comboBoxCellSelectionIsChanging:(id)fp8;
- (void)comboBoxCellWillPopUp:(id)fp8;
- (void)comboBoxCellWillDismiss:(id)fp8;
@end

@interface NSComboBox (NSComboBoxCellDataSource)
- (int)numberOfItemsInComboBoxCell:(id)fp8;
- (id)comboBoxCell:(id)fp8 objectValueForItemAtIndex:(int)fp12;
- (unsigned int)comboBoxCell:(id)fp8 indexOfItemWithStringValue:(id)fp12;
- (id)comboBoxCell:(id)fp8 completedString:(id)fp12;
@end

@interface NSComboBoxCell : NSTextFieldCell
{
id _delegate;
id _dataSource;
struct __cbcFlags _cbcFlags;
NSButtonCell *_buttonCell;
NSTableView *_tableView;
NSScrollView *_scrollView;
NSWindow *_popUp;
NSMutableArray *_popUpList;
struct _NSRect *_cellFrame;
void *_reserved;
}

+ (void)initialize;
- (void)tableViewAction:(id)fp8;
- (void)initPopUpWindow;
- (void)_initializeButtonCell;
- (id)initTextCell:(id)fp8;
- (void)dealloc;
- (void)_clearCellFrame;
- (void)_setCellFrame:(struct _NSRect)fp8;
- (struct _NSRect)_cellFrame;
- (void)setControlSize:(int)fp8;
- (float)_buttonWidth;
- (float)_buttonHeight;
- (struct _NSRect)_focusRingFrameForFrame:(struct _NSRect)fp8 cellFrame:(struct _NSRect)fp24;
- (void)setHasVerticalScroller:(BOOL)fp8;
- (BOOL)hasVerticalScroller;
- (void)setIntercellSpacing:(struct _NSSize)fp8;
- (struct _NSSize)intercellSpacing;
- (void)setItemHeight:(float)fp8;
- (void)setButtonBordered:(BOOL)fp8;
- (void)_setButtonBordered:(BOOL)fp8;
- (BOOL)isButtonBordered;
- (BOOL)_isButtonBordered;
- (float)itemHeight;
- (void)setNumberOfVisibleItems:(int)fp8;
- (int)numberOfVisibleItems;
- (BOOL)isOpaque;
- (void)setUsesDataSource:(BOOL)fp8;
- (BOOL)usesDataSource;
- (void)setDataSource:(id)fp8;
- (void)_setDataSource:(id)fp8;
- (id)dataSource;
- (void)reloadData;
- (void)selectItemAtIndex:(int)fp8;
- (void)deselectItemAtIndex:(int)fp8;
- (int)indexOfSelectedItem;
- (int)numberOfItems;
- (void)noteNumberOfItemsChanged;
- (void)addItemWithObjectValue:(id)fp8;
- (void)addItemsWithObjectValues:(id)fp8;
- (void)insertItemWithObjectValue:(id)fp8 atIndex:(int)fp12;
- (void)removeItemWithObjectValue:(id)fp8;
- (void)removeItemAtIndex:(int)fp8;
- (void)removeAllItems;
- (void)selectItemWithObjectValue:(id)fp8;
- (id)itemObjectValueAtIndex:(int)fp8;
- (id)objectValueOfSelectedItem;
- (int)indexOfItemWithObjectValue:(id)fp8;
- (id)objectValues;
- (void)setEnabled:(BOOL)fp8;
- (void)setFont:(id)fp8;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (struct _NSRect)boundsForTextCell:(struct _NSRect)fp8;
- (struct _NSRect)boundsForButtonCell:(struct _NSRect)fp8;
- (struct _NSRect)titleRectForBounds:(struct _NSRect)fp8;
- (void)_computeBezelRectWithTextCellFrame:(struct _NSRect)fp8 inView:(id)fp24 topLeft:(struct _NSRect *)fp28 bottomLeft:(struct _NSRect *)fp32 left:(struct _NSRect *)fp36 right:(struct _NSRect *)fp40 top:(struct _NSRect *)fp44 bottom:(struct _NSRect *)fp48;
- (void)_drawThemeComboBoxButtonWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (BOOL)shouldEdit:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (void)resetCursorRect:(struct _NSRect)fp8 inView:(id)fp24;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (void)editWithFrame:(struct _NSRect)fp8 inView:(id)fp24 editor:(id)fp28 delegate:(id)fp32 event:(id)fp36;
- (void)selectWithFrame:(struct _NSRect)fp8 inView:(id)fp24 editor:(id)fp28 delegate:(id)fp32 start:(int)fp36 length:(int)fp40;
- (void)filterEvents:(id)fp8;
- (void)dismissPopUp:(id)fp8;
- (void)orderOutPopUpWindow:(id)fp8;
- (void)popUp:(id)fp8;
- (void)moveDown:(id)fp8;
- (BOOL)_controlView:(id)fp8 textView:(id)fp12 doCommandBySelector:(SEL)fp16;
- (void)scrollItemAtIndexToTop:(int)fp8;
- (void)scrollItemAtIndexToVisible:(int)fp8;
- (void)synchronizeTableViewSelectionWithText:(id)fp8;
- (void)comboBoxTextDidEndEditing:(id)fp8;
- (id)completedString:(id)fp8;
- (void)_updateLengthAndSelectedRange:(id)fp8;
- (void)_noteLengthAndSelectedRange:(id)fp8;
- (void)_registerForCompletion:(id)fp8;
- (void)_unregisterForCompletion:(id)fp8;
- (void)endEditing:(id)fp8;
- (void)_completeNoRecursion:(id)fp8;
- (void)_complete:(id)fp8;
- (BOOL)completes;
- (void)setCompletes:(BOOL)fp8;
- (void)_old_encodeWithCoder_NSComboBoxCell:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)_old_initWithCoder_NSComboBoxCell:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)setFormatter:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (BOOL)_needRedrawOnWindowChangedKeyState;

@end

@interface NSComboBoxWindow : NSWindow
{
NSComboBoxCell *_comboBoxCell;
}

- (id)initWithContentRect:(struct _NSRect)fp8 comboBoxCell:(id)fp24;
- (BOOL)worksWhenModal;
- (BOOL)isKeyWindow;
- (void)setShownAboveComboBox:(BOOL)fp8;
- (BOOL)hasShadow;
- (void)_commonAwake;
- (void)orderFront:(id)fp8;
- (void)orderOut:(id)fp8;

@end

@interface NSComboTableView : NSTableView
{
}

- (BOOL)acceptsFirstMouse:(id)fp8;
- (BOOL)shouldDelayWindowOrderingForEvent:(id)fp8;

@end

@interface NSComboBoxButtonCell : NSButtonCell
{
}

@end

@interface NSMutableArray (NSComboBoxCellDataSource)
- (int)numberOfItemsInComboBoxCell:(id)fp8;
- (id)comboBoxCell:(id)fp8 objectValueForItemAtIndex:(int)fp12;
- (unsigned int)comboBoxCell:(id)fp8 indexOfItemWithStringValue:(id)fp12;
@end

@interface NSComboBoxCell (NSTableViewNotifications)
- (void)tableViewSelectionIsChanging:(id)fp8;
- (void)tableViewSelectionDidChange:(id)fp8;
@end

@interface NSComboBoxCell (NSTableDataSource)
- (int)numberOfRowsInTableView:(id)fp8;
- (id)tableView:(id)fp8 objectValueForTableColumn:(id)fp12 row:(int)fp16;
@end

@interface NSComboBoxWindow (NSComboBoxWindowAccessibility)
- (BOOL)accessibilityIsIgnored;
- (BOOL)accessibilityIsChildOfApp;
- (id)accessibilityParentAttribute;
@end

@interface NSComboBoxButtonCell (NSComboBoxButtonCellAccessibility)
- (void)accessibilityPerformAction:(id)fp8;
@end

@interface NSComboBoxCell (NSComboBoxCellAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityExpandedAttribute;
- (BOOL)accessibilityIsExpandedAttributeSettable;
- (void)accessibilitySetExpandedAttribute:(id)fp8;
- (id)_accessibilityButtonUIElement;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsChildrenAttributeSettable;
- (struct _NSRect)_accessibilityButtonRect;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface NSConcreteGlyphGenerator : NSGlyphGenerator
{
char *bidiTypes;
char *bidiLevels;
}

+ (id)sharedGlyphGenerator;
- (void)generateGlyphsForGlyphStorage:(id)fp8 desiredNumberOfCharacters:(unsigned int)fp12 glyphIndex:(unsigned int *)fp16 characterIndex:(unsigned int *)fp20;

@end

@interface NSControl : NSView
{
int _tag;
id _cell;
struct __conFlags _conFlags;
}

+ (void)initialize;
+ (void)setCellClass:(Class)fp8;
+ (Class)cellClass;
+ (int)defaultFocusRingType;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (BOOL)isOpaque;
- (BOOL)mouseDownCanMoveWindow;
- (void)sizeToFit;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)calcSize;
- (id)cell;
- (void)setCell:(id)fp8;
- (id)selectedCell;
- (id)target;
- (void)setTarget:(id)fp8;
- (SEL)action;
- (void)setAction:(SEL)fp8;
- (int)tag;
- (void)setTag:(int)fp8;
- (int)selectedTag;
- (void)setIgnoresMultiClick:(BOOL)fp8;
- (BOOL)ignoresMultiClick;
- (int)mouseDownFlags;
- (int)sendActionOn:(int)fp8;
- (BOOL)isContinuous;
- (void)setContinuous:(BOOL)fp8;
- (BOOL)isEnabled;
- (void)setEnabled:(BOOL)fp8;
- (void)setFloatingPointFormat:(BOOL)fp8 left:(unsigned int)fp12 right:(unsigned int)fp16;
- (int)alignment;
- (void)setAlignment:(int)fp8;
- (id)font;
- (void)setFont:(id)fp8;
- (void)setFormatter:(id)fp8;
- (id)formatter;
- (void)setStringValue:(id)fp8;
- (void)setIntValue:(int)fp8;
- (void)setAttributedStringValue:(id)fp8;
- (void)setFloatValue:(float)fp8;
- (void)setDoubleValue:(double)fp8;
- (void)setObjectValue:(id)fp8;
- (id)stringValue;
- (id)attributedStringValue;
- (int)intValue;
- (float)floatValue;
- (double)doubleValue;
- (id)objectValue;
- (void)setNeedsDisplay;
- (void)updateCell:(id)fp8;
- (void)updateCellInside:(id)fp8;
- (void)drawCellInside:(id)fp8;
- (void)drawCell:(id)fp8;
- (BOOL)needsPanelToBecomeKey;
- (void)setRefusesFirstResponder:(BOOL)fp8;
- (BOOL)refusesFirstResponder;
- (BOOL)acceptsFirstResponder;
- (BOOL)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (void)becomeKeyWindow;
- (void)resignKeyWindow;
- (void)setFocusRingType:(int)fp8;
- (int)focusRingType;
- (BOOL)_hasEditableCell;
- (void)selectCell:(id)fp8;
- (BOOL)sendAction:(SEL)fp8 to:(id)fp12;
- (BOOL)_resetIncrementalSearchOnFailure;
- (id)_stringSearchParametersForListingViews;
- (void)takeIntValueFrom:(id)fp8;
- (void)takeFloatValueFrom:(id)fp8;
- (void)takeDoubleValueFrom:(id)fp8;
- (void)takeStringValueFrom:(id)fp8;
- (void)takeObjectValueFrom:(id)fp8;
- (id)_findCurrentEditor;
- (BOOL)_shouldShowFirstResponderForCell:(id)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (void)mouseDown:(id)fp8;
- (void)_setMouseTrackingForCell:(id)fp8;
- (void)_clearMouseTrackingForCell:(id)fp8;
- (BOOL)shouldBeTreatedAsInkEvent:(id)fp8;
- (void)_setWantsCellClipTips:(BOOL)fp8;
- (BOOL)_wantsCellClipTips;
- (id)currentEditor;
- (BOOL)abortEditing;
- (void)_validateEditing:(id)fp8;
- (void)validateEditing;
- (id)_setWindow:(id)fp8;
- (void)resetCursorRects;
- (void)_setControlTextDelegateFromOld:(id)fp8 toNew:(id)fp12;
- (void)performClick:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)menuForEvent:(id)fp8;
- (void)_rightMouseUpOrDown:(id)fp8;
- (void)rightMouseDown:(id)fp8;
- (void)_windowChangedKeyState;
- (BOOL)_wantsHeartBeat;
- (void)heartBeat:(CDAnonymousStruct10 *)fp8;

@end

@interface NSControl (NSControlAccessibilityAdditions)
+ (BOOL)accessibilityIsSingleCelled;
@end

@interface NSControl (NSObjectAccessibilityChildHelpers)
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (void)accessibilitySetFocus:(id)fp8 forChild:(id)fp12;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface NSControl (NSControlAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityEnabledAttribute;
- (BOOL)accessibilityIsEnabledAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
@end

@interface NSCrayon : NSObject
{
NSString *name;
NSColor *color;
NSImage *image;
struct _NSPoint origin;
NSCrayonRow *parentCrayonRow;
}

- (id)initWithName:(id)fp8 color:(id)fp12 image:(id)fp16;
- (void)dealloc;
- (id)description;
- (id)localizedColorNameComponent;
- (id)name;
- (id)color;
- (id)image;
- (struct _NSPoint)origin;
- (id)parentCrayonRow;
- (id)parentCrayonView;
- (void)setName:(id)fp8;
- (void)setColor:(id)fp8;
- (void)setImage:(id)fp8;
- (void)setOrigin:(struct _NSPoint)fp8;
- (void)setParentCrayonRow:(id)fp8;
- (struct _NSRect)rectIncludingShadow;
- (struct _NSRect)rectWithoutShadow;
- (void)drawFocusRingInView:(id)fp8;
- (void)drawCrayonLayer;
- (void)drawShadowLayer;
- (id)crayonToLeft;
- (id)crayonToRight;

@end

@interface NSCrayonRow : NSObject
{
NSMutableArray *crayons;
struct _NSPoint origin;
NSImage *image;
NSColorPickerCrayonView *parentCrayonView;
}

- (id)initWithCapacity:(unsigned int)fp8 origin:(struct _NSPoint)fp12 image:(id)fp20;
- (void)dealloc;
- (id)crayons;
- (void)addCrayon:(id)fp8;
- (unsigned int)count;
- (id)crayonAtIndex:(unsigned int)fp8;
- (id)lastCrayon;
- (unsigned int)indexOfCrayon:(id)fp8;
- (id)objectEnumerator;
- (id)crayonClosestToIndex:(unsigned int)fp8;
- (id)crayonToLeftOfCrayon:(id)fp8;
- (id)crayonToRightOfCrayon:(id)fp8;
- (id)parentCrayonView;
- (void)setParentCrayonView:(id)fp8;
- (struct _NSRect)rectIncludingShadow;
- (struct _NSRect)rectWithoutShadow;
- (void)drawCrayonLayer;
- (void)drawShadowLayer;

@end

@interface NSCursor : NSObject
{
struct _NSPoint _hotSpot;
struct _cursorFlags _flags;
id _image;
}

+ (void)initialize;
+ (id)_buildCursor:(id)fp8 cursorData:(struct _NSPoint)fp12;
+ (id)arrowCursor;
+ (id)IBeamCursor;
+ (id)pointingHandCursor;
+ (id)closedHandCursor;
+ (id)openHandCursor;
+ (id)resizeLeftCursor;
+ (id)resizeRightCursor;
+ (id)resizeLeftRightCursor;
+ (id)resizeUpCursor;
+ (id)resizeDownCursor;
+ (id)resizeUpDownCursor;
+ (id)crosshairCursor;
+ (id)disappearingItemCursor;
+ (void)hide;
+ (void)unhide;
+ (void)setHiddenUntilMouseMoves:(BOOL)fp8;
+ (id)currentCursor;
+ (void)pop;
+ (id)_makeCursors;
+ (id)_setHelpCursor:(BOOL)fp8;
+ (BOOL)helpCursorShown;
+ (id)_copyDragCursor;
+ (id)_linkDragCursor;
+ (id)_genericDragCursor;
+ (id)_handCursor;
+ (id)_closedHandCursor;
+ (id)_moveCursor;
+ (id)_waitCursor;
+ (id)_crosshairCursor;
+ (id)_horizontalResizeCursor;
+ (id)_verticalResizeCursor;
+ (id)_bottomLeftResizeCursor;
+ (id)_topLeftResizeCursor;
+ (id)_bottomRightResizeCursor;
+ (id)_topRightResizeCursor;
+ (id)_resizeLeftCursor;
+ (id)_resizeRightCursor;
+ (id)_resizeLeftRightCursor;
- (id)initWithImage:(id)fp8 hotSpot:(struct _NSPoint)fp12;
- (id)initWithImage:(id)fp8 foregroundColorHint:(id)fp12 backgroundColorHint:(id)fp16 hotSpot:(struct _NSPoint)fp20;
- (void)_setImage:(id)fp8;
- (id)init;
- (void)dealloc;
- (int)_coreCursorType;
- (void)_getImageAndHotSpotFromCoreCursor;
- (id)image;
- (struct _NSPoint)hotSpot;
- (void)setOnMouseExited:(BOOL)fp8;
- (void)setOnMouseEntered:(BOOL)fp8;
- (BOOL)isSetOnMouseExited;
- (BOOL)isSetOnMouseEntered;
- (char *)_getCursorBitmapWidth:(unsigned int *)fp8 andHeight:(unsigned int *)fp12;
- (void)set;
- (id)forceSet;
- (void)mouseEntered:(id)fp8;
- (void)mouseExited:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)awakeAfterUsingCoder:(id)fp8;
- (void)push;
- (void)pop;

@end

@interface NSCustomImageRep : NSImageRep
{
SEL _drawMethod;
id _drawObject;
unsigned int _reserved;
}

+ (void)initialize;
- (id)init;
- (id)initWithDrawSelector:(SEL)fp8 delegate:(id)fp12;
- (SEL)drawSelector;
- (id)delegate;
- (BOOL)draw;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSCustomObject : NSObject
{
NSString *className;
id object;
id extension;
}

+ (void)initialize;
- (id)init;
- (void)dealloc;
- (id)nibInstantiate;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSCustomResource : NSObject
{
NSString *className;
NSString *resourceName;
}

+ (void)initialize;
+ (void)pushBundleForImageSearch:(id)fp8;
+ (void)popBundleForImageSearch;
- (id)init;
- (void)dealloc;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)_loadImageWithName:(id)fp8;
- (id)loadImageWithName:(id)fp8;
- (id)loadSoundWithName:(id)fp8;
- (id)awakeAfterUsingCoder:(id)fp8;

@end

@interface NSCustomView : NSView
{
NSString *className;
NSView *view;
id extension;
}

+ (void)initialize;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (id)nibInstantiate;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSColor (NSPortCoding)
- (id)replacementObjectForPortCoder:(id)fp8;
@end

@interface NSFont (NSPortCoding)
- (id)replacementObjectForPortCoder:(id)fp8;
@end

@interface NSXMLFormatReader : NSObject
{
NSMutableAttributedString *_attrStr;
NSMutableDictionary *_documentAttrs;
NSData *_data;
NSMutableDictionary *_styles;
int _errorCode;
int _parseState;
NSMutableParagraphStyle *_curParStyle;
NSMutableDictionary *_curAttributes;
NSMutableString *_curString;
}

- (id)_fontForName:(id)fp8 size:(float)fp12;
- (void)parser:(id)fp8 didStartElement:(id)fp12 namespaceURI:(id)fp16 qualifiedName:(id)fp20 attributes:(id)fp24;
- (void)parser:(id)fp8 foundCharacters:(id)fp12;
- (void)parser:(id)fp8 didEndElement:(id)fp12 namespaceURI:(id)fp16 qualifiedName:(id)fp20;
- (void)_parse;
- (void)dealloc;
- (id)initWithData:(id)fp8;
- (id)initWithPath:(id)fp8;
- (id)attributedString;
- (id)documentAttributes;
- (void)setMutableAttributedString:(id)fp8;

@end

@interface NSDocFormatWriter : NSObject
{
NSAttributedString *_attrStr;
NSDictionary *_documentAttrs;
NSMutableData *_primaryData;
NSMutableData *_secondaryData;
NSMutableData *_primaryIndex;
NSMutableData *_secondaryIndex;
NSMutableData *_tableOfContents;
NSMutableData *_documentData;
NSMutableData *_tableData;
NSMutableData *_charData;
NSMutableData *_parData;
NSMutableArray *_fontArray;
NSRunStorage *_charFlags;
BOOL _needsTrailingBreak;
}

- (unsigned int)_indexForRed:(unsigned int)fp8 green:(unsigned int)fp12 blue:(unsigned int)fp16;
- (unsigned int)_argumentForUnderlineStyle:(unsigned int)fp8;
- (id)_fontNameForFont:(id)fp8;
- (void)_writeCharacterData;
- (void)_writeParagraphData;
- (void)_writeDocumentData;
- (id)docFormatData;
- (id)initWithAttributedString:(id)fp8;
- (void)dealloc;
- (void)setDocumentAttributes:(id)fp8;

@end

@interface NSDocFormatReader : NSObject
{
NSMutableAttributedString *_attrStr;
NSMutableDictionary *_documentAttrs;
NSData *_primaryData;
NSMutableData *_secondaryData;
NSMutableData *_primaryIndex;
NSMutableData *_secondaryIndex;
NSMutableData *_tableOfContents;
NSMutableDictionary *_contentsDictionary;
NSData *_documentData;
NSData *_tableData;
NSMutableArray *_fontNames;
struct __CFArray *_predefinedOffsets;
struct __CFDictionary *_predefinedAttributes;
NSMutableRLEArray *_parAttributes;
NSMutableRLEArray *_charAttributes;
unsigned int _magicNumber;
unsigned int _versionNumber;
unsigned int _versionCode;
unsigned int _productNumber;
unsigned int _globalFlags;
unsigned int _charsetNumber;
unsigned int _bytesPerCharacter;
unsigned int _stringEncoding;
unsigned int _lastModifier;
unsigned int _predefinedHeaderLength;
unsigned int _errorCode;
float _defaultTabInterval;
int _firstEntryNumber;
int _textStart;
int _textLength;
int _predefinedInfoStart;
int _predefinedInfoEnd;
int _charInfoStart;
int _charInfoEnd;
int _parInfoStart;
int _parInfoEnd;
int _fontInfoStart;
int _fontInfoEnd;
int _docInfoStart;
int _docInfoEnd;
int _textInfoStart;
int _textInfoEnd;
}

+ (id)defaultParagraphStyle;
- (id)_fontWithNumber:(int)fp8 size:(float)fp12 bold:(BOOL)fp16 italic:(BOOL)fp20;
- (void)_appendSanitizedTextBytes:(const char *)fp8 length:(unsigned int)fp12 encoding:(unsigned long)fp16 isSymbol:(BOOL)fp20 attributes:(id)fp24;
- (void)_appendTextBytes:(const char *)fp8 length:(unsigned int)fp12 encoding:(unsigned long)fp16 attributes:(id)fp20;
- (id)paragraphAttributesAtIndex:(unsigned int)fp8 effectiveRange:(struct _NSRange *)fp12 inRange:(struct _NSRange)fp16;
- (id)attributesAtIndex:(unsigned int)fp8 effectiveRange:(struct _NSRange *)fp12 inRange:(struct _NSRange)fp16;
- (BOOL)_colorComponentsForIndex:(unsigned int)fp8 redComponent:(unsigned int *)fp12 greenComponent:(unsigned int *)fp16 blueComponent:(unsigned int *)fp20;
- (unsigned int)_underlineStyleForArgument:(unsigned int)fp8;
- (id)_attributes1ForPageOffset:(int)fp8 entryOffset:(int)fp12 baseAttributes:(id)fp16;
- (id)_attributes2ForPageOffset:(int)fp8 entryOffset:(int)fp12 blockType:(int)fp16 baseAttributes:(id)fp20;
- (void)_parseText1Full;
- (void)_parseText1Fast;
- (void)_parseText1;
- (void)_parseText2;
- (void)_parseText;
- (void)_parseParagraphAttributes1;
- (void)_parseParagraphAttributes2;
- (void)_parseParagraphAttributes;
- (void)_parseCharacterAttributes1;
- (void)_parseCharacterAttributes2;
- (void)_parseCharacterAttributes;
- (void)_parsePredefinedAttributes1;
- (id)_predefinedAttributes2ForIndex:(unsigned int)fp8 depth:(int)fp12;
- (void)_parsePredefinedAttributes2;
- (id)predefinedAttributesForIndex:(unsigned int)fp8;
- (void)_parsePredefinedAttributes;
- (void)_parseFonts1;
- (void)_parseFonts2;
- (void)_parseFonts;
- (void)_parseDocumentAttributes1;
- (void)_parseDocumentAttributes2;
- (void)_parseDocumentAttributes;
- (void)_parseGlobals;
- (void)_addContentsToDictionary:(int)fp8 depth:(int)fp12;
- (void)_parseContentsDictionary;
- (void)_parse;
- (void)dealloc;
- (id)initWithData:(id)fp8;
- (id)initWithPath:(id)fp8;
- (id)attributedString;
- (id)documentAttributes;
- (void)setMutableAttributedString:(id)fp8;

@end

@interface NSDocument : NSObject
{
NSWindow *_window;
id _windowControllers;
NSString *_fileName;
NSString *_fileType;
NSPrintInfo *_printInfo;
long _changeCount;
NSView *savePanelAccessory;
id _displayName;
void *_privateData;
NSUndoManager *_undoManager;
struct __docFlags _docFlags;
NSString *_savePanelSaveType;
}

+ (BOOL)fileManagerShouldProceedAfterError:(id)fp8;
+ (void)initialize;
+ (BOOL)_createTemporaryDirectoryOn:(short)fp8 orHiddenIn:(const struct FSRef *)fp12 andReturnRef:(struct FSRef *)fp16;
+ (BOOL)_isFSObjectExchangingAllowedOn:(short)fp8;
+ (BOOL)_isFSObjectExchangingDesired;
+ (id)_pathToFileNamed:(id)fp8 in:(const struct FSRef *)fp12;
+ (BOOL)_writeOldAttributesFrom:(id)fp8 andNewAttributes:(id)fp12 to:(id)fp16;
+ (BOOL)_resourceForkAwareFileManager:(id)fp8 removeFileAtPath:(id)fp12 handler:(id)fp16;
+ (BOOL)_trashContainsOrIs:(id)fp8;
+ (id)readableTypes;
+ (id)writableTypes;
+ (BOOL)isNativeType:(id)fp8;
- (id)init;
- (id)initWithContentsOfURL:(id)fp8 ofType:(id)fp12;
- (id)initWithContentsOfFile:(id)fp8 ofType:(id)fp12;
- (void)dealloc;
- (id)windowControllers;
- (void)addWindowController:(id)fp8;
- (void)removeWindowController:(id)fp8;
- (id)windowNibName;
- (void)makeWindowControllers;
- (void)showWindows;
- (void)_compatibility_shouldCloseWindowController:(id)fp8 delegate:(id)fp12 shouldCloseSelector:(SEL)fp16 contextInfo:(void *)fp20;
- (BOOL)shouldCloseWindowController:(id)fp8;
- (void)shouldCloseWindowController:(id)fp8 delegate:(id)fp12 shouldCloseSelector:(SEL)fp16 contextInfo:(void *)fp20;
- (void)setWindow:(id)fp8;
- (id)_transferWindowOwnership;
- (void)windowControllerWillLoadNib:(id)fp8;
- (void)windowControllerDidLoadNib:(id)fp8;
- (BOOL)isDocumentEdited;
- (void)updateChangeCount:(int)fp8;
- (id)windowForSheet;
- (id)_compatibility_windowForSheet;
- (BOOL)canCloseDocument;
- (void)_compatibility_canCloseDocumentWithDelegate:(id)fp8 shouldCloseSelector:(SEL)fp12 contextInfo:(void *)fp16;
- (void)_didEndCloseSheet:(id)fp8 returnCode:(int)fp12 closeContext:(void *)fp16;
- (void)canCloseDocumentWithDelegate:(id)fp8 shouldCloseSelector:(SEL)fp12 contextInfo:(void *)fp16;
- (void)close;
- (void)_releaseUndoManager;
- (id)undoManager;
- (void)setUndoManager:(id)fp8;
- (BOOL)hasUndoManager;
- (void)setHasUndoManager:(BOOL)fp8;
- (void)_changeWasDone:(id)fp8;
- (void)_changeWasUndone:(id)fp8;
- (void)_changeWasRedone:(id)fp8;
- (id)fileName;
- (void)_resetMoveAndRenameSensing;
- (void)_synchronizeWindowTitles;
- (BOOL)_setDisplayName:(id)fp8;
- (BOOL)_setFileSpecifier:(id)fp8;
- (BOOL)_reconcileDisplayNameAndTrackingInfoToFileName;
- (void)setFileName:(id)fp8;
- (void)_compatibility_setFileName:(id)fp8;
- (id)fileType;
- (void)setFileType:(id)fp8;
- (id)_compatibility_displayName;
- (id)displayName;
- (int)_untitledDocumentNumber;
- (void)_handleDocumentFileChanges:(id)fp8;
- (id)dataRepresentationOfType:(id)fp8;
- (BOOL)loadDataRepresentation:(id)fp8 ofType:(id)fp12;
- (id)fileWrapperRepresentationOfType:(id)fp8;
- (BOOL)loadFileWrapperRepresentation:(id)fp8 ofType:(id)fp12;
- (BOOL)writeToURL:(id)fp8 ofType:(id)fp12;
- (BOOL)writeToFile:(id)fp8 ofType:(id)fp12;
- (BOOL)readFromURL:(id)fp8 ofType:(id)fp12;
- (BOOL)readFromFile:(id)fp8 ofType:(id)fp12;
- (BOOL)keepBackupFile;
- (BOOL)_finishWritingFileNamed:(id)fp8 in:(const struct FSRef *)fp12 byExchangingWithFileIn:(const struct FSRef *)fp16;
- (BOOL)_finishWritingItemAt:(id)fp8 byMovingItemAt:(id)fp12;
- (BOOL)_writeItemAt:(id)fp8 withType:(id)fp12 forSaveOperation:(int)fp16;
- (BOOL)_writeItemAt:(id)fp8 in:(const struct FSRef *)fp12 makingTemporaryCopyIn:(const struct FSRef *)fp16 withType:(id)fp20 forSaveOperation:(int)fp24;
- (BOOL)writeWithBackupToFile:(id)fp8 ofType:(id)fp12 saveOperation:(int)fp16;
- (BOOL)writeToFile:(id)fp8 ofType:(id)fp12 originalFile:(id)fp16 saveOperation:(int)fp20;
- (id)fileAttributesToWriteToFile:(id)fp8 ofType:(id)fp12 saveOperation:(int)fp16;
- (BOOL)revertToSavedFromFile:(id)fp8 ofType:(id)fp12;
- (BOOL)revertToSavedFromURL:(id)fp8 ofType:(id)fp12;
- (void)_compatibility_doSavePanelSave:(int)fp8 delegate:(id)fp12 didSaveSelector:(SEL)fp16 contextInfo:(void *)fp20;
- (void)_changeAlertDidEnd:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;
- (void)_runAlertPanelForDocumentMoved:(BOOL)fp8 orDocumentRenamed:(BOOL)fp12 orDocumentInTrash:(BOOL)fp16 orDocumentUnavailable:(BOOL)fp20 thenSaveDocumentWithDelegate:(id)fp24 didSaveSelector:(SEL)fp28 contextInfo:(void *)fp32;
- (void)_finishSaveDocumentTo:(id)fp8 withType:(id)fp12 forSaveOperation:(int)fp16 withDelegate:(id)fp20 didSaveSelector:(SEL)fp24 contextInfo:(void *)fp28;
- (void)saveDocumentWithDelegate:(id)fp8 didSaveSelector:(SEL)fp12 contextInfo:(void *)fp16;
- (void)saveToFile:(id)fp8 saveOperation:(int)fp12 delegate:(id)fp16 didSaveSelector:(SEL)fp20 contextInfo:(void *)fp24;
- (void)saveDocument:(id)fp8;
- (void)saveDocumentAs:(id)fp8;
- (void)saveDocumentTo:(id)fp8;
- (void)_revertPanel:(id)fp8 didConfirm:(int)fp12 contextInfo:(void *)fp16;
- (void)revertDocumentToSaved:(id)fp8;
- (void)changeSaveType:(id)fp8;
- (void)_loadPanelAccessoryNib;
- (void)_addItemsToSpaButton:(id)fp8 fromArray:(id)fp12 enabled:(BOOL)fp16;
- (id)_setUpAccessoryViewWithEditorTypes:(id)fp8 exportableTypes:(id)fp12 selectedType:(id)fp16 enableExportable:(BOOL)fp20;
- (BOOL)prepareSavePanel:(id)fp8;
- (void)_savePanelDidEnd:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;
- (void)runModalSavePanelForSaveOperation:(int)fp8 delegate:(id)fp12 didSaveSelector:(SEL)fp16 contextInfo:(void *)fp20;
- (id)fileNameFromRunningSavePanelForSaveOperation:(int)fp8;
- (id)fileTypeFromLastRunSavePanel;
- (BOOL)fileNameExtensionWasHiddenInLastRunSavePanel;
- (BOOL)shouldRunSavePanelWithAccessoryView;
- (int)runModalSavePanel:(id)fp8 withAccessoryView:(id)fp12;
- (BOOL)shouldChangePrintInfo:(id)fp8;
- (id)printInfo;
- (void)setPrintInfo:(id)fp8;
- (int)runModalPageLayoutWithPrintInfo:(id)fp8;
- (void)_pageLayout:(id)fp8 didEndAndReturn:(int)fp12 contextInfo:(void *)fp16;
- (void)runModalPageLayoutWithPrintInfo:(id)fp8 delegate:(id)fp12 didRunSelector:(SEL)fp16 contextInfo:(void *)fp20;
- (void)runPageLayout:(id)fp8;
- (BOOL)preparePageLayout:(id)fp8;
- (void)_document:(id)fp8 pageLayoutDidReturn:(BOOL)fp12 contextInfo:(void *)fp16;
- (void)_printOperation:(id)fp8 didReturn:(BOOL)fp12 contextInfo:(void *)fp16;
- (void)runModalPrintOperation:(id)fp8 delegate:(id)fp12 didRunSelector:(SEL)fp16 contextInfo:(void *)fp20;
- (void)printShowingPrintPanel:(BOOL)fp8;
- (void)printDocument:(id)fp8;
- (BOOL)validateUserInterfaceItem:(id)fp8;
- (BOOL)validateMenuItem:(id)fp8;

@end

@interface NSDocument (NSEditorRegistration)
- (BOOL)_isBeingEdited;
- (BOOL)_commitEditing;
- (BOOL)_commitEditingAndEndUndo;
- (void)_discardEditing;
- (void)objectDidBeginEditing:(id)fp8;
- (void)objectDidEndEditing:(id)fp8;
@end

@interface NSDocumentController : NSObject
{
id _documents;
struct __controllerFlags _controllerFlags;
NSArray *_types;
NSMutableArray *_recents;
int _recentsLimit;
}

+ (void)initialize;
+ (id)sharedDocumentController;
+ (void)_setSharedDocumentController:(id)fp8;
- (id)init;
- (void)dealloc;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)documents;
- (id)currentDocument;
- (id)currentDirectory;
- (id)documentForWindow:(id)fp8;
- (id)documentForFileName:(id)fp8;
- (void)_handleDocumentFileChanges:(id)fp8;
- (void)_appDidBecomeActive:(id)fp8;
- (void)addDocument:(id)fp8;
- (void)removeDocument:(id)fp8;
- (id)makeUntitledDocumentOfType:(id)fp8;
- (id)makeDocumentWithContentsOfFile:(id)fp8 ofType:(id)fp12;
- (id)makeDocumentWithContentsOfURL:(id)fp8 ofType:(id)fp12;
- (id)openUntitledDocumentOfType:(id)fp8 display:(BOOL)fp12;
- (id)_openDocumentFileAt:(id)fp8 display:(BOOL)fp12;
- (id)openDocumentWithContentsOfURL:(id)fp8 display:(BOOL)fp12;
- (id)openDocumentWithContentsOfFile:(id)fp8 display:(BOOL)fp12;
- (BOOL)shouldCreateUI;
- (void)setShouldCreateUI:(BOOL)fp8;
- (void)newDocument:(id)fp8;
- (void)openDocument:(id)fp8;
- (void)saveAllDocuments:(id)fp8;
- (void)_saveAllEnumeration:(BOOL)fp8;
- (void)_document:(id)fp8 didSave:(BOOL)fp12 contextInfo:(void *)fp16;
- (BOOL)validateUserInterfaceItem:(id)fp8;
- (BOOL)validateMenuItem:(id)fp8;
- (int)runModalOpenPanel:(id)fp8 forTypes:(id)fp12;
- (id)_setupOpenPanel;
- (id)fileNamesFromRunningOpenPanel;
- (id)URLsFromRunningOpenPanel;
- (BOOL)closeAllDocuments;
- (void)closeAllDocumentsWithDelegate:(id)fp8 didCloseAllSelector:(SEL)fp12 contextInfo:(void *)fp16;
- (void)_closeDocumentsStartingWith:(id)fp8 shouldClose:(BOOL)fp12 closeAllContext:(void *)fp16;
- (BOOL)reviewUnsavedDocumentsWithAlertTitle:(id)fp8 cancellable:(BOOL)fp12;
- (int)_editedDocumentCount;
- (void)reviewUnsavedDocumentsWithAlertTitle:(id)fp8 cancellable:(BOOL)fp12 delegate:(id)fp16 didReviewAllSelector:(SEL)fp20 contextInfo:(void *)fp24;
- (BOOL)hasEditedDocuments;
- (void)_startingWithDocument:(id)fp8 continueSavingAndClosingAll:(BOOL)fp12 contextInfo:(void *)fp16;
- (void)_shouldTerminateWithDelegate:(id)fp8 shouldTerminateSelector:(SEL)fp12;
- (BOOL)_openFile:(id)fp8;
- (BOOL)_openUntitled;
- (BOOL)_printFile:(id)fp8;
- (id)displayNameForType:(id)fp8;
- (id)_extensionsFromTypeInfo:(id)fp8;
- (id)typeFromFileExtension:(id)fp8;
- (id)fileExtensionsFromType:(id)fp8;
- (id)_reallyFileExtensionsFromType:(id)fp8;
- (Class)documentClassForType:(id)fp8;
- (int)_recentDocumentsLimit;
- (void)_readRecentDocumentDefaultsIfNecessary;
- (void)_writeRecentDocumentDefaults;
- (void)_prepareForOpeningOfOpenRecentMenu:(id)fp8;
- (void)_installOpenRecentMenuOpeningEventHandler:(struct OpaqueMenuRef *)fp8;
- (void)_installOpenRecentsMenu;
- (void)_setOpenRecentMenu:(id)fp8;
- (void)noteNewRecentDocument:(id)fp8;
- (void)noteNewRecentDocumentURL:(id)fp8;
- (void)_forgetRecentDocumentAt:(id)fp8;
- (id)recentDocumentURLs;
- (void)clearRecentDocuments:(id)fp8;
- (void)_openRecentDocument:(id)fp8;
- (int)_nextUntitledDocumentNumber;

@end

@interface NSDocumentController (NSTypes_Internal)
- (id)_resolveTypeAlias:(id)fp8;
- (id)_unresolveTypeAlias:(id)fp8;
- (id)_types;
- (id)_typeDictForType:(id)fp8;
- (id)_openableFileExtensions;
- (id)_defaultType:(BOOL)fp8;
- (id)_typesForDocumentClass:(Class)fp8 includeEditors:(BOOL)fp12 includeViewers:(BOOL)fp16 includeExportable:(BOOL)fp20;
- (id)_documentClassNames;
@end

@interface NSDocument (NSScripting)
- (id)lastComponentOfFileName;
- (void)setLastComponentOfFileName:(id)fp8;
- (void)_saveAsIntoFile:(id)fp8;
- (id)handleSaveScriptCommand:(id)fp8;
- (id)handleCloseScriptCommand:(id)fp8;
- (id)handlePrintScriptCommand:(id)fp8;
- (id)objectSpecifier;
@end

@interface NSDPSServerContext : NSDPSContext
{
}

@end

@interface NSDPSContext : NSObject
{
}

@end

@interface NSGraphicsContext (NSDPSServerContextCompatibilityCategory)
+ (void)setEventCoalescingEnabled:(BOOL)fp8;
+ (BOOL)isEventCoalescingEnabled;
+ (void)setDeadKeyProcessingEnabled:(BOOL)fp8;
+ (BOOL)isDeadKeyProcessingEnabled;
+ (void)setEventsTraced:(BOOL)fp8;
+ (BOOL)areEventsTraced;
- (id)initWithHostName:(id)fp8 serverName:(id)fp12 textProc:(const void *)fp16 errorProc:(const void *)fp20 timeout:(double)fp24 secure:(BOOL)fp32 encapsulated:(BOOL)fp36;
- (id)hostName;
- (id)serverName;
- (int)sendPort:(id)fp8 withAllRights:(BOOL)fp12;
- (int)sendTaggedMsg:(const void *)fp8;
- (void)sendEOF;
@end

@interface NSGraphicsContext (NSDPSContextCompatibilityCategory)
+ (void)setAllContextsSynchronized:(BOOL)fp8;
+ (BOOL)areAllContextsSynchronized;
+ (void)setAllContextsOutputTraced:(BOOL)fp8;
+ (BOOL)areAllContextsOutputTraced;
+ (id)stringForDPSError:(const void *)fp8;
+ (id)contextForSecondaryThread;
- (id)initWithMutableData:(id)fp8 forDebugging:(BOOL)fp12 languageEncoding:(const void *)fp16 nameEncoding:(const void *)fp20 textProc:(const void *)fp24 errorProc:(const void *)fp28;
- (id)mutableData;
- (const void *)DPSContext;
- (void)writeBinaryObjectSequence:(const void *)fp8 length:(unsigned int)fp12;
- (void)writeBOSArray:(const void *)fp8 count:(unsigned int)fp12 ofType:(const void *)fp16;
- (void)writeBOSString:(const void *)fp8 length:(unsigned int)fp12;
- (void)writeBOSNumString:(const void *)fp8 length:(unsigned int)fp12 ofType:(const void *)fp16 scale:(int)fp20;
- (void)awaitReturnValues;
- (void)updateNameMap;
- (void)writeData:(id)fp8;
- (void)writePostScriptWithLanguageEncodingConversion:(id)fp8;
- (void)printFormat:(id)fp8;
- (void)printFormat:(id)fp8 arguments:(char *)fp12;
- (void)resetCommunication;
- (void)interruptExecution;
- (void)notifyObjectWhenFinishedExecuting:(id)fp8;
- (void)setTextProc:(const void *)fp8;
- (const void *)textProc;
- (void)setErrorProc:(const void *)fp8;
- (const void *)errorProc;
- (void)chainChildContext:(id)fp8;
- (void)unchainContext;
- (id)childContext;
- (id)parentContext;
- (void)startWaitCursorTimer;
- (void)setWaitCursorEnabled:(BOOL)fp8;
- (BOOL)isWaitCursorEnabled;
- (void)setSynchronized:(BOOL)fp8;
- (BOOL)isSynchronized;
- (void)setOutputTraced:(BOOL)fp8;
- (BOOL)isOutputTraced;
@end

@interface _NSDragManager : NSObject
{
NSDate *_autoscrollDate;
}

+ (void)initialize;
+ (double)_autoscrollDelay;
+ (id)sharedDragManager;
- (int)registerDragTypes:(id)fp8 forWindow:(id)fp12;
- (BOOL)unregisterDragTypesForWindow:(id)fp8;
- (void)slideImage:(id)fp8 from:(struct _NSPoint)fp12 to:(struct _NSPoint)fp20;
- (void)dragImage:(id)fp8 fromWindow:(id)fp12 at:(struct _NSPoint)fp16 offset:(struct _NSSize)fp24 event:(id)fp32 pasteboard:(id)fp36 source:(id)fp40 slideBack:(BOOL)fp44;
- (id)_dragLocalSource;
- (void)_setAutoscrollDate:(id)fp8;
- (id)_autoscrollDate;

@end

@interface NSCoreDragManager : _NSDragManager
{
NSWindow *_dragWindow;
struct _NSPoint _mouseLocation;
struct _NSSize _offset;
struct OpaqueCoreDrag *_drag;
NSImage *_image;
id _dragLocalSource;
}

+ (void)insertText:(id)fp8;
+ (void)doCommandBySelector:(SEL)fp8;
- (int)registerDragTypes:(id)fp8 forWindow:(id)fp12;
- (BOOL)unregisterDragTypesForWindow:(id)fp8;
- (void)slideImage:(id)fp8 from:(struct _NSPoint)fp12 to:(struct _NSPoint)fp20;
- (void)_dragUntilMouseUp:(id)fp8 accepted:(char *)fp12;
- (id)_dragLocalSource;
- (struct _NSSize)_offset;
- (id)_image;
- (id)_setImage:(struct CGPoint)fp8;
- (void)dragImage:(id)fp8 fromWindow:(id)fp12 at:(struct _NSPoint)fp16 offset:(struct _NSSize)fp24 event:(id)fp32 pasteboard:(id)fp36 source:(id)fp40 slideBack:(BOOL)fp44;

@end

@interface NSDragDestination : NSObject
{
NSWindow *_window;
struct OpaqueCoreDragHandler *trackingHandlerRef;
struct OpaqueCoreDragHandler *receiveHandlerRef;
NSString *_pasteboardName;
BOOL _finalSlide;
int _lastDragDestinationOperation;
struct _NSPoint _finalSlideLocation;
id _target;
struct __CFRunLoopTimer *_updateTimer;
struct OpaqueCoreDrag *_drag;
}

- (id)_initWithWindow:(id)fp8;
- (void)_setTrackingHandlerRef:(struct OpaqueCoreDragHandler *)fp8;
- (void)_setReceiveHandlerRef:(struct OpaqueCoreDragHandler *)fp8;
- (struct OpaqueCoreDragHandler *)_trackingHandlerRef;
- (struct OpaqueCoreDragHandler *)_receiveHandlerRef;
- (void)_setDragRef:(struct OpaqueCoreDrag *)fp8;
- (void)dealloc;
- (id)draggingDestinationWindow;
- (unsigned int)draggingSourceOperationMask;
- (struct _NSPoint)draggingLocation;
- (struct _NSPoint)draggedImageLocation;
- (id)draggedImage;
- (id)draggingPasteboard;
- (id)draggingSource;
- (int)draggingSequenceNumber;
- (id)namesOfPromisedFilesDroppedAtDestination:(id)fp8;
- (void)_setFinalSlideLocation:(struct _NSPoint)fp8;
- (struct _NSPoint)_finalSlideLocation;
- (void)_setLastDragDestinationOperation:(unsigned int)fp8;
- (unsigned int)_lastDragDestinationOperation;
- (id)_target;
- (void)_setTarget:(id)fp8;
- (void)_unsetFinalSlide;
- (void)slideDraggedImageTo:(struct _NSPoint)fp8;
- (void)_startDraggingUpdates;
- (void)_stopDraggingUpdates;
- (void)_doAutoscroll:(id)fp8;

@end

@interface NSBitmapImageRep (NSDragManagerFix)
+ (void)_setEnableFlippedImageFix:(BOOL)fp8;
@end

@interface NSDrawerWindow : NSWindow
{
NSDrawer *_drawer;
NSWindow *_drawerParentWindow;
}

+ (Class)frameViewClassForStyleMask:(unsigned int)fp8;
- (id)initWithContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 backing:(int)fp28 defer:(BOOL)fp32 drawer:(id)fp36;
- (void)_changeTexture;
- (void)_setParentWindow:(id)fp8;
- (id)_parentWindow;
- (struct _NSSize)_potentialMinSize;
- (struct _NSSize)_potentialMaxSize;
- (struct _NSSize)minSize;
- (struct _NSSize)maxSize;
- (BOOL)hasShadow;
- (void)_changeKeyAndMainLimitedOK:(BOOL)fp8;
- (BOOL)isKeyWindow;
- (BOOL)canBecomeKeyWindow;
- (void)becomeKeyWindow;
- (void)_drawerTakeFocus;
- (void)makeKeyWindow;
- (void)resignKeyWindow;
- (void)_changeDrawerKeyState;
- (void)_changeDrawerMainState;
- (void)_changeDrawerFirstResponder;
- (id)_generateScaledBackground;
- (id)_compositedBackground;
- (void)_resetDrawerFirstResponder;
- (void)orderOut:(id)fp8;
- (BOOL)isMainWindow;
- (BOOL)canBecomeMainWindow;
- (void)becomeMainWindow;
- (void)makeMainWindow;
- (void)resignMainWindow;
- (BOOL)_hasActiveControls;
- (void)_setForceActiveControls:(BOOL)fp8;
- (BOOL)worksWhenModal;
- (id)_getUndoManager:(BOOL)fp8;
- (BOOL)isExcludedFromWindowsMenu;
- (id)fieldEditor:(BOOL)fp8 forObject:(id)fp12;
- (BOOL)makeFirstResponder:(id)fp8;
- (id)_newFirstResponderAfterResigning;
- (id)_oldFirstResponderBeforeBecoming;
- (void)_selectFirstKeyView;
- (void)resizeWithDelta:(struct _NSPoint)fp8 fromFrame:(struct _NSRect)fp16 beginOperation:(BOOL)fp32 endOperation:(BOOL)fp36;
- (BOOL)_isVertical;
- (BOOL)validateMenuItem:(id)fp8;
- (void)performClose:(id)fp8;
- (void)performZoom:(id)fp8;
- (void)performMiniaturize:(id)fp8;
- (void)_adjustWindowToScreen;
- (BOOL)isMovableByWindowBackground;
- (void)_cycleDrawersReversed:(BOOL)fp8;

@end

@interface NSDrawer : NSResponder
{
int _drawerState;
int _drawerNextState;
int _drawerEdge;
int _drawerNextEdge;
int _drawerPreferredEdge;
float _drawerPercent;
float _drawerPercentSaved;
float _drawerLeadingOffset;
float _drawerTrailingOffset;
NSLock *_drawerLock;
NSWindow *_drawerWindow;
NSWindow *_drawerParentWindow;
NSWindow *_drawerNextParentWindow;
NSString *_drawerSaveName;
double _drawerStartTime;
double _drawerTotalTime;
struct __CFRunLoop *_drawerLoop;
struct __CFRunLoopTimer *_drawerTimer;
id _drawerDelegate;
unsigned int _drawerFlags;
struct __CFRunLoopObserver *_drawerObserver;
}

+ (void)initialize;
+ (BOOL)_usesCorrectContentSize;
- (id)_initWithContentSize:(struct _NSSize)fp8 preferredEdge:(int)fp16;
- (id)initWithContentSize:(struct _NSSize)fp8 preferredEdge:(int)fp16;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (void)dealloc;
- (void)setParentWindow:(id)fp8;
- (id)parentWindow;
- (void)setContentView:(id)fp8;
- (id)contentView;
- (void)setPreferredEdge:(int)fp8;
- (int)preferredEdge;
- (void)open;
- (void)openOnEdge:(int)fp8;
- (void)close;
- (void)open:(id)fp8;
- (void)close:(id)fp8;
- (void)toggle:(id)fp8;
- (void)removeImmediately:(BOOL)fp8;
- (BOOL)isOpen;
- (int)state;
- (int)edge;
- (void)setContentSize:(struct _NSSize)fp8;
- (struct _NSSize)contentSize;
- (void)setMinContentSize:(struct _NSSize)fp8;
- (struct _NSSize)minContentSize;
- (void)setMaxContentSize:(struct _NSSize)fp8;
- (struct _NSSize)maxContentSize;
- (void)setLeadingOffset:(float)fp8;
- (float)leadingOffset;
- (void)setTrailingOffset:(float)fp8;
- (float)trailingOffset;
- (void)setAutosaveName:(id)fp8;
- (id)autosaveName;
- (void)setDelegate:(id)fp8;
- (id)delegate;

@end

@interface NSWindow (DrawerSupportPrivate)
- (void)_hideAllDrawers;
- (void)_unhideAllDrawers;
- (void)_destroyRealWindowForAllDrawers;
- (void)_displayAllDrawersIfNeeded;
- (void)_positionAllDrawers;
- (void)_sizeAllDrawers;
- (void)_sizeAllDrawersWithRect:(struct _NSRect)fp8;
- (void)_changeAllDrawersKeyState;
- (void)_changeAllDrawersMainState;
- (void)_changeAllDrawersFirstResponder;
- (struct _NSRect)_standardFrameForDrawersInRect:(struct _NSRect)fp8;
- (struct _NSSize)_minContentSizeForDrawers;
- (struct _NSSize)_minSizeForDrawers;
- (void)_removeAllDrawersImmediately:(BOOL)fp8;
- (void)_registerAllDrawersForDraggedTypesIfNeeded;
- (void)_resetAllDrawersDisableCounts;
- (void)_resetAllDrawersPostingCounts;
- (void)_startLiveResizeForAllDrawers;
- (void)_endLiveResizeForAllDrawers;
- (void)_setLevelForAllDrawers;
- (void)_cycleDrawersReversed:(BOOL)fp8;
- (id)_openDrawers;
@end

@interface NSWindow (TemporaryMailviewerSupport)
- (void)addDrawerWithView:(id)fp8;
- (void)_addDrawerWithView:(id)fp8;
- (void)openFirstDrawer:(id)fp8;
- (void)_openDrawer;
- (void)_openDrawerOnEdge:(int)fp8;
- (void)shutAllDrawers:(id)fp8;
- (void)_shutDrawer;
- (BOOL)_drawerIsOpen;
- (void)removeAllDrawersImmediately;
@end

@interface NSDrawer (NSResponder)
- (BOOL)tryToPerform:(SEL)fp8 with:(id)fp12;
- (BOOL)performKeyEquivalent:(id)fp8;
- (id)validRequestorForSendType:(id)fp8 returnType:(id)fp12;
- (void)interpretKeyEvents:(id)fp8;
- (void)flushBufferedKeyEvents;
- (void)setMenu:(id)fp8;
- (id)menu;
- (void)helpRequested:(id)fp8;
- (BOOL)performMnemonic:(id)fp8;
- (void)doCommandBySelector:(SEL)fp8;
- (id)undoManager;
@end

@interface NSDrawer (DrawerInternals)
- (void)_doAttachDrawerIgnoreHidden:(BOOL)fp8;
- (void)_doAttachDrawer;
- (void)_doDetachDrawer;
- (void)_doStartDrawer;
- (void)_doStopDrawer;
- (void)_doPositionDrawer;
- (void)_doPositionDrawerAndSize:(struct _NSSize)fp8 parentFrame:(struct _NSRect)fp16;
- (void)_doPositionDrawerAndSize:(struct _NSSize)fp8 parentFrame:(struct _NSRect)fp16 stashSize:(BOOL)fp32;
- (void)_doSlideDrawerWithDelta:(struct _NSPoint)fp8;
- (void)_doResizeDrawerWithDelta:(struct _NSPoint)fp8 fromFrame:(struct _NSRect)fp16;
- (void)_doOpenDrawer;
- (void)_doCloseDrawer;
- (void)_doRemoveDrawer;
- (void)_doSetParentWindow:(id)fp8;
- (void)_doAutoselectEdge;
- (id)_drawerWindow;
@end

@interface NSDrawer (DrawerPrivate)
+ (void)_setDrawerVelocity:(double)fp8;
+ (double)_drawerVelocity;
+ (void)_setDrawerTransform:(int)fp8;
+ (int)_drawerTransform;
- (int)_edge;
- (void)_setDrawerEdge:(int)fp8;
- (void)_hide;
- (void)_unhide;
- (void)_destroyRealWindow;
- (void)_displayIfNeeded;
- (void)_position;
- (void)_size;
- (void)_sizeWithRect:(struct _NSRect)fp8;
- (void)_changeKeyState;
- (void)_changeMainState;
- (void)_changeFirstResponder;
- (void)_takeFocus;
- (struct _NSSize)_minParentWindowContentSize;
- (void)_slideWithDelta:(struct _NSPoint)fp8 beginOperation:(BOOL)fp16 endOperation:(BOOL)fp20;
- (void)_resizeWithDelta:(struct _NSPoint)fp8 fromFrame:(struct _NSRect)fp16 beginOperation:(BOOL)fp32 endOperation:(BOOL)fp36;
- (id)_registerDragTypesIfNeeded;
- (id)_resetDisableCounts;
- (id)_resetPostingCounts;
- (void)_startLiveResize;
- (void)_endLiveResize;
- (void)_setLevel;
@end

@interface NSWindow (Drawers)
- (id)drawers;
- (id)openDrawers;
@end

@interface NSDrawerWindow (NSDrawerWindowAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityParentAttribute;
- (id)accessibilityWindowAttribute;
- (BOOL)accessibilityIsWindowAttributeSettable;
- (BOOL)accessibilityIsSizeAttributeSettable;
- (void)accessibilitySetSizeAttribute:(id)fp8;
@end

@interface NSDrawer (NSDrawerAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityParentAttribute;
- (BOOL)accessibilityIsParentAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsChildrenAttributeSettable;
- (id)accessibilityAttributeValue:(id)fp8;
- (BOOL)accessibilityIsAttributeSettable:(id)fp8;
- (void)accessibilitySetValue:(id)fp8 forAttribute:(id)fp12;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
@end

@interface NSDrawerFrame : NSFrameView
{
NSColor *drawerBackground;
int trackingTag;
int drawerEdge;
BOOL registeredForEdgeChanges;
}

+ (void)initialize;
+ (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
+ (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
+ (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
+ (struct _NSSize)minContentSizeForMinFrameSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
+ (float)minFrameWidthWithTitle:(id)fp8 styleMask:(unsigned int)fp12;
- (BOOL)isOpaque;
- (id)initWithFrame:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 owner:(id)fp28;
- (void)registerForEdgeChanges:(id)fp8;
- (void)shapeWindow;
- (struct _NSSize)minFrameSize;
- (struct _NSRect)contentRect;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)drawBevel:(struct _NSRect)fp8;
- (void)_drawIndicatorInRect:(struct _NSRect)fp8;
- (struct _NSRect)resizeIndicatorRect;
- (void)drawResizeIndicator:(struct _NSRect)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (void)drawFrame:(struct _NSRect)fp8;
- (void)_drawFrameRects:(struct _NSRect)fp8;
- (id)contentFill;
- (void)adjustHalftonePhase;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (void)_addTrackingRects;
- (void)_removeTrackingRects;
- (void)drawerDidOpen:(id)fp8;
- (void)drawerDidClose:(id)fp8;
- (void)resizeWithEvent:(id)fp8;
- (void)mouseDown:(id)fp8;
- (void)mouseEntered:(id)fp8;
- (void)mouseExited:(id)fp8;
- (void)viewWillMoveToWindow:(id)fp8;
- (void)viewDidMoveToWindow:(id)fp8;
- (void)_postFrameChangeNotification;
- (BOOL)shouldBeTreatedAsInkEvent:(id)fp8;
- (void)dealloc;

@end

@interface NSEPSImageRep : NSImageRep
{
struct _NSPoint _bBoxOrigin;
NSData *_epsData;
NSPDFImageRep *_pdfImageRep;
}

+ (void)initialize;
+ (id)imageRepWithData:(id)fp8;
+ (id)_imagesFromIcon:(id)fp8 inApp:(id)fp12 zone:(struct _NSZone *)fp16;
+ (BOOL)canInitWithData:(id)fp8;
+ (id)imageUnfilteredFileTypes;
+ (id)imageUnfilteredPasteboardTypes;
- (id)init;
- (void)dealloc;
- (id)initWithData:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (struct _NSRect)boundingBox;
- (BOOL)drawInRect:(struct _NSRect)fp8;
- (void)prepareGState;
- (BOOL)draw;
- (BOOL)_drawFromRect:(struct _NSRect)fp8 toRect:(struct _NSRect)fp24 operation:(int)fp40 alpha:(float)fp44 compositing:(BOOL)fp48 flipped:(BOOL)fp52 ignoreContext:(BOOL)fp56;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)EPSRepresentation;

@end

@interface NSEPSImageRep (Private)
- (void)_readBBox;
- (void)_createPDFImageRep;
@end

@interface NSTabletEvent : NSObject
{
int _subtype;
union {
struct {
int x;
int y;
int z;
unsigned short buttons;
float pressure;
struct {
float x;
float y;
} tilt;
float rotation;
float tangentialPressure;
unsigned short deviceID;
short vendor1;
short vendor2;
short vendor3;
int pad[5];
} tabletPointer;
struct {
unsigned short vendorID;
unsigned short tabletID;
unsigned short pointerID;
unsigned short deviceID;
unsigned short systemTabletID;
unsigned short vendorPointerType;
unsigned int pointerSerialNumber;
unsigned long long uniqueID;
unsigned int capabilityMask;
unsigned char pointerType;
unsigned char enterProximity;
unsigned short reserved1;
} tabletProximity;
} _data;
}

- (id)_initWithCGSEvent:(struct _CGSEventRecord)fp8;
- (int)subtype;
- (unsigned short)deviceID;
- (int)locationX;
- (int)locationY;
- (int)locationZ;
- (unsigned short)buttons;
- (float)pressure;
- (float)tiltX;
- (float)tiltY;
- (float)rotation;
- (float)tangentialPressure;
- (short)vendor1;
- (short)vendor2;
- (short)vendor3;
- (unsigned short)vendorID;
- (unsigned short)tabletID;
- (unsigned short)pointerID;
- (unsigned short)systemTabletID;
- (unsigned short)vendorPointerType;
- (unsigned int)pointerSerialNumber;
- (unsigned long long)uniqueID;
- (unsigned int)capabilityMask;
- (unsigned char)pointerType;
- (unsigned short)enterProximity;
- (id)description;

@end

@interface NSEvent : NSObject
{
int _type;
struct _NSPoint _location;
unsigned int _modifierFlags;
int _WSTimestamp;
double _timestamp;
int _windowNumber;
NSWindow *_window;
NSGraphicsContext *_context;
union {
struct {
int eventNumber;
int clickCount;
float pressure;
} mouse;
struct {
NSString *keys;
NSString *unmodKeys;
unsigned short keyCode;
char isARepeat;
} key;
struct {
int eventNumber;
int trackingNumber;
void *userData;
} tracking;
struct {
float deltaX;
float deltaY;
float deltaZ;
} scrollWheel;
struct {
int subtype;
int data1;
int data2;
} misc;
} _data;
void *_eventRef;
}

+ (id)mouseEventWithType:(int)fp8 location:(struct _NSPoint)fp12 modifierFlags:(unsigned int)fp20 timestamp:(double)fp24 windowNumber:(int)fp32 context:(id)fp36 eventNumber:(int)fp40 clickCount:(int)fp44 pressure:(float)fp48;
+ (id)keyEventWithType:(int)fp8 location:(struct _NSPoint)fp12 modifierFlags:(unsigned int)fp20 timestamp:(double)fp24 windowNumber:(int)fp32 context:(id)fp36 characters:(id)fp40 charactersIgnoringModifiers:(id)fp44 isARepeat:(BOOL)fp48 keyCode:(unsigned short)fp52;
+ (id)enterExitEventWithType:(int)fp8 location:(struct _NSPoint)fp12 modifierFlags:(unsigned int)fp20 timestamp:(double)fp24 windowNumber:(int)fp32 context:(id)fp36 eventNumber:(int)fp40 trackingNumber:(int)fp44 userData:(void *)fp48;
+ (id)otherEventWithType:(int)fp8 location:(struct _NSPoint)fp12 modifierFlags:(unsigned int)fp20 timestamp:(double)fp24 windowNumber:(int)fp32 context:(id)fp36 subtype:(short)fp40 data1:(int)fp44 data2:(int)fp48;
+ (struct _NSPoint)mouseLocation;
+ (id)_eventWithCGSEvent:(struct _CGSEventRecord)fp8;
+ (void)_resetDiscardMask;
+ (void)_discardEventsFromSubthread:(id)fp8;
+ (void)_discardEventsWithMask:(unsigned int)fp8 eventTime:(unsigned long long)fp12;
+ (void)startPeriodicEventsAfterDelay:(double)fp8 withPeriod:(double)fp16;
+ (void)_stopPeriodicEventsForSource:(id)fp8;
+ (void)stopPeriodicEvents;
- (void)_fixCommandAlphaShifts;
- (id)_initWithCGSEvent:(struct _CGSEventRecord)fp8 eventRef:(void *)fp120;
- (struct _CGSEventRecord)_cgsEventRecord;
- (struct _CGSEvent)_cgsevent;
- (int)type;
- (struct _NSPoint)locationInWindow;
- (unsigned int)modifierFlags;
- (double)timestamp;
- (id)window;
- (int)windowNumber;
- (id)context;
- (int)eventNumber;
- (int)clickCount;
- (float)pressure;
- (int)buttonNumber;
- (float)_eventRecordDelta:(int)fp8;
- (float)deltaY;
- (float)deltaX;
- (float)deltaZ;
- (id)tabletEvent;
- (id)characters;
- (id)charactersIgnoringModifiers;
- (BOOL)_isDeadkey;
- (void)_setEventRef:(void *)fp8;
- (void)_postFromSubthread:(struct __CFBoolean *)fp8;
- (void)_postAtStart:(BOOL)fp8;
- (BOOL)isARepeat;
- (unsigned short)keyCode;
- (int)trackingNumber;
- (void *)userData;
- (short)subtype;
- (int)data1;
- (int)data2;
- (void *)_eventRef;
- (id)description;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)copy;
- (BOOL)isEqual:(id)fp8;
- (void)dealloc;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (int)_nxeventTime;
- (unsigned long long)_cgsEventTime;
- (id)_eventRelativeToWindow:(id)fp8;

@end

@interface __NSEventDiscardInfo : NSObject
{
unsigned int mask;
unsigned long long time;
}

@end

@interface _NSPeriodicEventSource : NSObject
{
double delay;
double period;
struct __CFRunLoopTimer *timer;
unsigned int errorData;
}

- (void)addTimerToModes;

@end

@interface NSFileLocator : NSObject
{
struct AliasRecord **_alias;
NSString *_standardizedPath;
void *_private1;
void *_private2;
}

+ (BOOL)_shouldUseAliasToLocate:(const struct FSRef *)fp8;
+ (id)_stringByReplacingChar:(unsigned short)fp8 withChar:(unsigned short)fp12 inString:(id)fp16;
+ (id)bestLocationRepFromPath:(id)fp8;
+ (id)bestLocationRepFromURL:(id)fp8;
- (id)initWithBestLocationRep:(id)fp8;
- (id)initWithPath:(id)fp8;
- (id)initWithProperties:(id)fp8;
- (id)_initByCopying:(id)fp8;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)fileSpecifier;
- (id)standardizedPath;
- (id)pathForDisplay;
- (id)properties;
- (id)url;
- (BOOL)matchesLocationBestRepresentedBy:(id)fp8;

@end

@interface NSFileSpecifier : NSObject
{
struct FSRef *_ref;
void *_private2;
void *_private3;
void *_private4;
}

+ (id)specifierFromPath:(id)fp8;
- (id)initWithPath:(id)fp8;
- (id)initWithRef:(const struct FSRef *)fp8;
- (id)initWithRefNoCopy:(struct FSRef *)fp8;
- (id)initWithURL:(id)fp8;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (BOOL)isEqual:(id)fp8;
- (id)nameForDisplay;
- (id)path;
- (id)parent;
- (const struct FSRef *)asRef;

@end

@interface NSFileWrapper : NSObject
{
id _impl;
NSString *_fileName;
NSString *_preferredFileName;
NSDictionary *_fileAttributes;
NSImage *_image;
id _subdocuments;
}

+ (void)initialize;
- (id)init;
- (id)initDirectoryWithFileWrappers:(id)fp8;
- (id)initRegularFileWithContents:(id)fp8;
- (id)initSymbolicLinkWithDestination:(id)fp8;
- (id)initWithPath:(id)fp8;
- (id)initWithSerializedRepresentation:(id)fp8;
- (void)dealloc;
- (BOOL)attemptOverwrite:(id)fp8;
- (BOOL)writeToFile:(id)fp8 atomically:(BOOL)fp12 updateFilenames:(BOOL)fp16;
- (id)serializedRepresentation;
- (void)setFilename:(id)fp8;
- (id)filename;
- (void)setPreferredFilename:(id)fp8;
- (id)preferredFilename;
- (void)setFileAttributes:(id)fp8;
- (id)fileAttributes;
- (BOOL)isRegularFile;
- (BOOL)isDirectory;
- (BOOL)isSymbolicLink;
- (void)setIcon:(id)fp8;
- (id)icon;
- (BOOL)needsToBeUpdatedFromPath:(id)fp8;
- (BOOL)updateFromPath:(id)fp8;
- (id)addFileWrapper:(id)fp8;
- (void)removeFileWrapper:(id)fp8;
- (id)fileWrappers;
- (id)keyForFileWrapper:(id)fp8;
- (id)addFileWithPath:(id)fp8;
- (id)addRegularFileWithContents:(id)fp8 preferredFilename:(id)fp12;
- (id)addSymbolicLinkWithDestination:(id)fp8 preferredFilename:(id)fp12;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)regularFileContents;
- (id)symbolicLinkDestination;

@end

@interface NSFileWrapper (NSPrivate)
- (id)_initWithImpl:(id)fp8 uniquedFileName:(id)fp12 docInfo:(id)fp16 imageData:(id)fp20 parentWrapper:(id)fp24;
- (id)_impl;
- (id)_mappedFile;
- (id)_uniqueNameForNewSubdocument:(id)fp8;
- (void)_updateFileNamesForChildren;
- (BOOL)_updateFromPath:(id)fp8 checkOnly:(BOOL)fp12 exists:(char *)fp16;
- (id)_fullDescription:(BOOL)fp8;
@end

@interface NSFocusStack : NSObject
{
struct __CFArray *_stack;
int _topIndex;
}

- (id)init;
- (void)dealloc;
- (void)focusView:(id)fp8 inWindow:(id)fp12;
- (id)focusedView;
- (void)unfocusView:(id)fp8;
- (void)popTopView;
- (void)removeFreedView:(id)fp8;
- (void)removeFreedWindow:(id)fp8;
- (BOOL)isWindowInFocusStack:(id)fp8;
- (void)invalidateFocus:(id)fp8;
- (void)fixInvalidatedFocusForFocusView;

@end

@interface _NSFocusStackElement : NSObject
{
NSView *_view;
NSWindow *_originalWindow;
unsigned int _errorData;
BOOL _valid;
}

@end

@interface NSFocusState : NSPSMatrix
{
struct _NSRect theClip;
NSWindow *window;
BOOL clipSet;
BOOL clipEmpty;
struct __CFArray *specialGStateViews;
void *initialGState;
}

+ (id)sharedFocusState;
- (void)dealloc;
- (id)clip:(const struct _NSRect *)fp8;
- (id)flush;
- (void)reset;
- (id)scaleTo:(float)fp8:(float)fp12;
- (void)setFrameRotation:(float)fp8;
- (void)setWindow:(id)fp8;
- (void)addSpecialGStateView:(id)fp8;
- (void)setInitialGState:(void *)fp8;

@end

@interface NSFont : NSObject
{
NSString *_name;
float _size;
void *_reservedFont1;
struct __fFlags _fFlags;
unsigned short _reservedFont2;
}

+ (void)_updateAntialiasingThreshold;
+ (id)allocWithZone:(struct _NSZone *)fp8;
+ (void)initializeUserAndSystemFonts;
+ (void)initialize;
+ (void)_setConcreteFontClass:(id)fp8;
+ (void)_setExportSpecialFonts:(BOOL)fp8;
+ (id)_fontWithName:(id)fp8 size:(float)fp12 matrix:(const float *)fp16;
+ (void)_printFontCollection;
+ (id)_fontWithName:(id)fp8 scale:(struct _NSSize)fp12 skew:(float)fp20 oblique:(float)fp24 translation:(struct _NSPoint)fp28;
+ (id)fontWithName:(id)fp8 matrix:(const float *)fp12;
+ (id)fontWithName:(id)fp8 size:(float)fp12;
+ (id)_makeSpecialFontName:(id)fp8 size:(float)fp12 matrix:(const float *)fp16 bit:(unsigned int)fp20;
+ (id)_substituteFontName:(id)fp8 flag:(BOOL)fp12;
+ (void)_addSurrogateName:(id)fp8 realName:(id)fp12;
+ (id)_surrogateFontName:(id)fp8;
+ (float)systemFontSize;
+ (float)smallSystemFontSize;
+ (float)labelFontSize;
+ (float)systemFontSizeForControlSize:(int)fp8;
+ (float)_toolbarLabelFontSize;
+ (float)_toolbarSmallLabelFontSize;
+ (id)userFontOfSize:(float)fp8;
+ (id)userFixedPitchFontOfSize:(float)fp8;
+ (id)systemFontOfSize:(float)fp8;
+ (id)boldSystemFontOfSize:(float)fp8;
+ (id)labelFontOfSize:(float)fp8;
+ (id)_toolbarLabelFontOfSize:(float)fp8;
+ (id)titleBarFontOfSize:(float)fp8;
+ (id)menuFontOfSize:(float)fp8;
+ (id)menuBarFontOfSize:(float)fp8;
+ (id)messageFontOfSize:(float)fp8;
+ (id)paletteFontOfSize:(float)fp8;
+ (id)toolTipsFontOfSize:(float)fp8;
+ (id)controlContentFontOfSize:(float)fp8;
+ (void)setUserFont:(id)fp8;
+ (void)setUserFixedPitchFont:(id)fp8;
+ (id)preferredFontNames;
+ (void)setPreferredFontNames:(id)fp8;
+ (void)useFont:(id)fp8;
+ (id)_findFont:(id)fp8 size:(float)fp12 matrix:(const float *)fp16 flag:(int)fp20;
+ (id)_cloneFont:(id)fp8 withFlag:(int)fp12;
+ (id)_realCloneFont:(id)fp8 withFlag:(int)fp12;
+ (id)_clearDocFontsUsed;
+ (id)_clearSheetFontsUsed;
+ (id)_clearPageFontsUsed;
+ (id)_writeDocFontsUsed;
+ (id)_writePageFontsUsed;
+ (void)_logUnavailableFont:(id)fp8;
+ (BOOL)_isFontUnavailable:(id)fp8;
+ (void)_setDisplayableSampleText:(id)fp8 forFamily:(id)fp12;
+ (void)findFontDebug:(BOOL)fp8;
+ (BOOL)_characterCannotBeRendered:(unsigned long)fp8;
+ (void)_setNeedsToReloadCoveredChars:(BOOL)fp8;
+ (id)coveredCharacterCache;
+ (void)setLocaleListForDefaultFontFallback:(id)fp8;
+ (id)findFontLike:(id)fp8 traits:(unsigned int)fp12 forCharacter:(unsigned long)fp16 inLanguage:(id)fp20 checkCoveredCache:(BOOL)fp24;
+ (id)findFontLike:(id)fp8 forCharacter:(unsigned long)fp12 inLanguage:(id)fp16;
+ (id)findFontLike:(id)fp8 forString:(id)fp12 withRange:(struct _NSRange)fp16 inLanguage:(id)fp24;
+ (id)findFontLike:(id)fp8 traits:(unsigned int)fp12 forCharacters:(const unsigned short *)fp16 length:(unsigned int)fp20 inLanguage:(id)fp24 checkCoveredCache:(BOOL)fp28;
+ (void)_flushCachedFontInfo;
- (void)_setName:(id)fp8;
- (void)_preInitSetMatrix:(const float *)fp8 fontSize:(float)fp12;
- (void)_postInit;
- (BOOL)_wantsToUseScreenFont;
- (void)_removeFromFontCollection;
- (void)dealloc;
- (id)retain;
- (unsigned int)retainCount;
- (id)autorelease;
- (void)release;
- (id)description;
- (float)pointSize;
- (id)fontName;
- (id)familyName;
- (id)displayName;
- (id)fontDescriptor;
- (id)encodingScheme;
- (const float *)matrix;
- (void *)metrics;
- (void)set;
- (unsigned int)mostCompatibleStringEncoding;
- (float)widthOfString:(id)fp8;
- (float)_widthOfPackedGlyphs:(const char *)fp8 count:(unsigned int)fp12;
- (id)screenFont;
- (id)printerFont;
- (const float *)__matrix;
- (void)_setIsDefaultFace:(BOOL)fp8;
- (BOOL)_isDefaultFace;
- (id)_concreteFontInit;
- (id)_commonFontInit;
- (struct _NSFaceInfo *)_concreteFontInit:(struct _NSFaceInfo *)fp8;
- (void)encodeWithCoder:(id)fp8;
- (Class)classForCoder;
- (Class)classForKeyedArchiver;
- (const float *)_decodeMatrixWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (BOOL)isBaseFont;
- (BOOL)_isCanonEncoding;
- (BOOL)isFixedPitch;
- (BOOL)_isFakeFixedPitch;
- (id)copy;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (float)defaultLineHeightForFont;
- (float)_defaultLineHeightForUILayout;
- (float)_baselineOffsetForUILayout;
- (struct _NSRect)boundingRectForFont;
- (struct _NSRect)boundingRectForGlyph:(unsigned int)fp8;
- (struct _NSSize)advancementForGlyph:(unsigned int)fp8;
- (unsigned int)_defaultGlyphForChar:(unsigned short)fp8;
- (unsigned int)_rawDefaultGlyphForChar:(unsigned short)fp8;
- (struct _NSSize)maximumAdvancement;
- (float)underlinePosition;
- (float)underlineThickness;
- (float)italicAngle;
- (float)capHeight;
- (float)xHeight;
- (float)ascender;
- (float)descender;
- (struct _NSSize)_absoluteAdvancementForGlyph:(unsigned int)fp8;
- (struct _NSPoint)positionOfGlyph:(unsigned int)fp8 precededByGlyph:(unsigned int)fp12 isNominal:(char *)fp16;
- (int)positionsForCompositeSequence:(unsigned int *)fp8 numberOfGlyphs:(int)fp12 pointArray:(struct _NSPoint *)fp16;
- (struct _NSPoint)positionOfGlyph:(unsigned int)fp8 struckOverGlyph:(unsigned int)fp12 metricsExist:(char *)fp16;
- (float)_horizontalAdjustmentForItalicAngleAtHeight:(float)fp8;
- (struct _NSPoint)positionOfGlyph:(unsigned int)fp8 withRelation:(int)fp12 toBaseGlyph:(unsigned int)fp16 totalAdvancement:(struct _NSSize *)fp20 metricsExist:(char *)fp24;
- (struct _NSPoint)positionOfGlyph:(unsigned int)fp8 struckOverRect:(struct _NSRect)fp12 metricsExist:(char *)fp28;
- (struct _NSPoint)positionOfGlyph:(unsigned int)fp8 forLongCharacter:(unsigned long)fp12 struckOverRect:(struct _NSRect)fp16;
- (struct _NSPoint)positionOfGlyph:(unsigned int)fp8 forCharacter:(unsigned short)fp12 struckOverRect:(struct _NSRect)fp16;
- (unsigned int)glyphWithName:(id)fp8;
- (int)glyphPacking;
- (id)afmDictionary;
- (id)afmFileContents;
- (BOOL)glyphIsEncoded:(unsigned int)fp8;
- (BOOL)coversAllCharactersInString:(id)fp8;
- (BOOL)coversCharacter:(unsigned short)fp8;
- (unsigned int)numberOfGlyphs;
- (id)displayableSampleText;
- (id)displayableSampleTextForLanguage:(id)fp8;
- (unsigned int)_fontFallbackType;
- (unsigned int)hyphenGlyphForLanguage:(id)fp8;
- (BOOL)_usesNoRulebook;
- (id)_coveredCharSet;
- (id)coveredCharacterSet;
- (float)_leading;
- (BOOL)isScreenFont;

@end

@interface NSFontManager : NSObject
{
id _panel;
unsigned int _reservedFMInt1;
SEL _action;
int _whatToDo;
unsigned int _traitToChange;
NSFont *_selFont;
struct _fmFlags _fmFlags;
unsigned short _lastPos;
id _delegate;
id _collections;
unsigned int _reservedFMint3;
unsigned int _reservedFMint4;
}

+ (void)setFontPanelFactory:(Class)fp8;
+ (void)setFontManagerFactory:(Class)fp8;
+ (id)sharedFontManager;
- (id)init;
- (void)dealloc;
- (void)_loadFontFiles;
- (int)_reloadFontInfoIfNecessary:(id)fp8;
- (id)_defaultFontSet;
- (id)_oldFontSetWithName:(id)fp8;
- (id)_oldFontSetNames;
- (void)_noteFontCollectionsChanged;
- (void)noteFontCollectionsChanged;
- (void)noteFontFavoritesChanged;
- (void)saveFontCollection:(id)fp8 withName:(id)fp12;
- (void)setFontMenu:(id)fp8;
- (BOOL)isMultiple;
- (id)selectedFont;
- (BOOL)validateMenuItem:(id)fp8;
- (void)setSelectedFont:(id)fp8 isMultiple:(BOOL)fp12;
- (void)setSelectedAttributes:(id)fp8 isMultiple:(BOOL)fp12;
- (id)convertFont:(id)fp8;
- (id)convertAttributes:(id)fp8;
- (id)fontMenu:(BOOL)fp8;
- (id)_menu;
- (void)_setFontPanel:(id)fp8;
- (id)fontPanel:(BOOL)fp8;
- (id)fontNameWithFamily:(id)fp8 traits:(unsigned int)fp12 weight:(int)fp16;
- (id)fontWithFamily:(id)fp8 traits:(unsigned int)fp12 weight:(int)fp16 size:(float)fp20;
- (unsigned int)traitsOfFont:(id)fp8;
- (int)weightOfFont:(id)fp8;
- (id)availableFonts;
- (id)availableFontFamilies;
- (id)availableMembersOfFontFamily:(id)fp8;
- (id)convertFont:(id)fp8 toFace:(id)fp12;
- (id)convertFont:(id)fp8 toSize:(float)fp12;
- (id)convertFont:(id)fp8 toFamily:(id)fp12;
- (id)convertFont:(id)fp8 toHaveTrait:(unsigned int)fp12;
- (id)convertFont:(id)fp8 toNotHaveTrait:(unsigned int)fp12;
- (id)convertWeight:(BOOL)fp8 ofFont:(id)fp12;
- (void)addFontTrait:(id)fp8;
- (void)removeFontTrait:(id)fp8;
- (id)modifyFontTrait:(id)fp8;
- (void)modifyFont:(id)fp8;
- (void)orderFrontFontPanel:(id)fp8;
- (void)orderFrontStylesPanel:(id)fp8;
- (void)orderFrontFontOptionsPanel:(id)fp8;
- (void)modifyFontViaPanel:(id)fp8;
- (BOOL)isEnabled;
- (void)setEnabled:(BOOL)fp8;
- (SEL)action;
- (void)setAction:(SEL)fp8;
- (BOOL)sendAction;
- (BOOL)worksWhenModal;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (BOOL)fontNamed:(id)fp8 hasTraits:(unsigned int)fp12;
- (id)availableFontNamesWithTraits:(unsigned int)fp8;
- (id)convertFont:(id)fp8 toApproximateTraits:(unsigned int)fp12;
- (id)localizedNameForFamily:(id)fp8 face:(id)fp12;
- (id)_displayName:(id)fp8;
- (id)_descStringForFont:(id)fp8;
- (BOOL)_isInternalFontName:(id)fp8;

@end

@interface NSFontPanel : NSPanel
{
NSFontManager *_manager;
id _familyList;
id _faceList;
id _sizeList;
id _mainCollectionList;
id _sizeField;
id _sizeSlider;
id _sizeSliderBox;
id _preview;
id _previewCaption;
id _mainSplitView;
id _mmCollectionList;
id _mmFamilyList;
id _mmFaceList;
id _mmSizeList;
id _extrasPopup;
id _searchField;
id _fixedListButton;
id _sliderButton;
id _accessoryView;
struct __fpFlags _fpFlags;
float _cachedSizeValue;
id _separator;
id _splitVue;
id _regularModeBox;
id _miniModeBox;
id _modeBoxSuperview;
id _collectionLabel;
id _sizeLabel;
id _faceLabel;
id _familyLabel;
id _sizeStyleButton;
id _newSizeField;
id _editSizeList;
id _editSizeListBox;
id _editSizeSliderBox;
id _editSizeSliderMaxField;
id _editSizeSliderMinField;
id _sizeEditWindow;
id _defaultCollection;
id _defaultCollectionRep;
id _currentCollectionRep;
id _availableSizes;
id _collections;
int _lastPane;
NSFontDescriptor *_prevSelectedFontDescriptor;
id _searchTimer;
id _unused0;
void *_carbonNotification;
id _collectionRenameButton;
id _reserved3[2];
id _addCollectionButton;
id _removeCollectionButton;
id _previewBox;
int _genCount;
id _collectionsPboard;
float _fontPanelPreviewHeight;
id _typographyPanel;
id _actionButton;
id _fontEffectsBox;
int _seqNumber;
int _sizeStyle;
id _targetObject;
id _unused13;
id _unused14;
id _unused15;
id _unused16;
int _unused17;
id _unsed18;
id _unused19;
id _unused20;
id _unused21;
id _unused22;
id _unused23;
id _unused24;
id _unused25;
id _unused26;
id _unused27;
id _unused28;
id _unused29;
id _unused30;
id _unused31;
id _unused32;
id _unused33;
id _unused34;
id _unused35;
id _unused36;
id _unused37;
id _unused38;
id _unused39;
id _unused40;
id _unused41;
id _unused42;
id _unused43;
id _Reserved32[16];
id _unused44;
id _unused45;
id _unused46;
id _unused47;
}

+ (BOOL)sharedFontPanelExists;
+ (id)sharedFontPanel;
- (void)awakeFromNib;
- (void)_setup;
- (id)initWithContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 backing:(int)fp28 defer:(BOOL)fp32;
- (oneway void)release;
- (void)dealloc;
- (void *)_carbonNotification;
- (void)setCarbonNotification:(id)fp8;
- (void)_sendCarbonNotification;
- (void)_startTimer:(id)fp8;
- (void)_stopSearchTimer;
- (void)_setCurrentCollectionRep:(id)fp8;
- (void)_searchRegularCollection;
- (void)_searchFavoriteStyleCollection;
- (void)_searchChanged:(id)fp8;
- (BOOL)_inPreview;
- (BOOL)_inMiniMode;
- (BOOL)_showEffects;
- (void)_checkMiniMode:(int)fp8;
- (void)_checkCollectionMoveOut:(int)fp8;
- (void)_checkFavoriteMode;
- (BOOL)_inHideCollectionsMode;
- (BOOL)_inHideFaceMode;
- (BOOL)_inFavMode;
- (void)_setPreviewFont:(id)fp8;
- (BOOL)_isCurrentCollectionFavorites;
- (id)_selectedFamilyName;
- (id)_selectedFaceName;
- (id)_selectedFontName;
- (id)_selectedFamilyArray;
- (id)_selectedSize;
- (id)_selectedCollectionName;
- (id)_selectedCollectionStyle;
- (id)_selectedCollectionDescriptors;
- (void)reloadDefaultFontFamilies;
- (id)accessoryView;
- (void)setAccessoryView:(id)fp8;
- (BOOL)_updateContentsIfNecessary;
- (void)setDelegate:(id)fp8;
- (void)_sortCollections;
- (id)_createFontPanelSizeRep;
- (BOOL)tableView:(id)fp8 shouldEditTableColumn:(id)fp12 row:(int)fp16;
- (BOOL)tableView:(id)fp8 shouldSelectRow:(int)fp12;
- (void)tableViewSelectionIsChanging:(id)fp8;
- (id)tableView:(id)fp8 objectValueForTableColumn:(id)fp12 row:(int)fp16 localized:(BOOL)fp20;
- (id)tableView:(id)fp8 objectValueForTableColumn:(id)fp12 row:(int)fp16;
- (void)tableView:(id)fp8 willDisplayCell:(id)fp12 forTableColumn:(id)fp16 row:(int)fp20;
- (void)tableView:(id)fp8 setObjectValue:(id)fp12 forTableColumn:(id)fp16 row:(int)fp20;
- (int)numberOfRowsInTableView:(id)fp8;
- (void)splitView:(id)fp8 resizeSubviewsWithOldSize:(struct _NSSize)fp12;
- (void)splitViewDidResizeSubviews:(id)fp8;
- (float)splitView:(id)fp8 constrainSplitPosition:(float)fp12 ofSubviewAt:(int)fp16;
- (int)numberOfItemsInComboBox:(id)fp8;
- (id)comboBox:(id)fp8 objectValueForItemAtIndex:(int)fp12;
- (unsigned int)comboBox:(id)fp8 indexOfItemWithStringValue:(id)fp12;
- (void)_chooseCollection:(id)fp8;
- (void)_chooseFace:(id)fp8;
- (void)_chooseFamily:(id)fp8;
- (void)_setFont:(id)fp8;
- (void)_setRecents:(id)fp8;
- (void)loadFaces:(id)fp8;
- (void)_chooseBestMatchingFace;
- (void)setSize:(id)fp8;
- (void)setSizeTitle:(id)fp8;
- (void)setChooser:(id)fp8;
- (void)_chooseSizeFromList:(id)fp8;
- (BOOL)worksWhenModal;
- (BOOL)isEnabled;
- (void)setEnabled:(BOOL)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (BOOL)conformsToProtocol:(id)fp8;
- (void)_chooseSizeFromField:(id)fp8;
- (void)_chooseSize:(id)fp8;
- (void)_chooseSizeFromSlider:(id)fp8;
- (void)_makeNewCollection:(id)fp8;
- (void)_removeCollection:(id)fp8;
- (void)_sheetDidDismiss:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;
- (void)_sheetDidEndShouldDelete:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;
- (void)_openActionButton:(id)fp8;
- (void)_openExtrasPopup:(id)fp8;
- (void)togglePreview:(BOOL)fp8;
- (void)_sizeEditDone:(id)fp8;
- (void)_addSizeToList:(id)fp8;
- (void)_removeSizeFromList:(id)fp8;
- (void)_resetSizeList:(id)fp8;
- (void)_setBox:(id)fp8 enabled:(BOOL)fp12;
- (void)_changeSizeStyle:(id)fp8;
- (void)_addFontDescriptorFromDrag:(id)fp8 toCollectionAtIndex:(int)fp12;
- (void)_removeFontDescriptorFromDrag:(id)fp8 point:(struct _NSPoint)fp12;
- (void)_populatePopup:(id)fp8 withTableView:(id)fp12;
- (void)_populateMiniMode;
- (void)windowDidUpdate:(id)fp8;
- (void)windowDidResize:(id)fp8;
- (BOOL)_showOpaqueGrowBox;
- (void)applicationDidBecomeActive:(id)fp8;
- (void)_validateSizes:(int)fp8;
- (void)_validateFaces:(int)fp8;
- (void)_validateCollections:(int)fp8;
- (struct _NSSize)windowWillResize:(id)fp8 toSize:(struct _NSSize)fp12;
- (void)_validateExtrasButton:(id)fp8;
- (void)_positionLabels;
- (void)_resizeContentsOfMainBox;
- (void)_resizeContentsOfMiniMode;
- (void)_resizeContentsOfPreviewBox;
- (void)_reflectFont;
- (void)_setRecents;
- (void)setPanelFont:(id)fp8 isMultiple:(BOOL)fp12;
- (id)panelConvertFont:(id)fp8;
- (void)_setAttributes:(id)fp8 isMultiple:(BOOL)fp12;
- (id)convertAttributes:(id)fp8;
- (void)_sizeListChanged:(id)fp8;
- (void)_collectionsChanged:(id)fp8;
- (void)_notifyTypographyPanel;
- (void)_toggleTypographyPanel;
- (id)_typographyPanel;
- (id)_currentFont;

@end

@interface NSFontPanelImagePopUpButtonCell : NSPopUpButtonCell
{
NSImage *image;
NSImage *alternateImage;
}

- (void)dealloc;
- (float)_extraWidthForCellHeight:(float)fp8;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawBorderAndBackgroundWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)setImage:(id)fp8;
- (id)image;
- (void)setAlternateImage:(id)fp8;
- (id)alternateImage;

@end

@interface NSFontPanelSizeListCell : NSCell
{
}

- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;

@end

@interface NSFontPanelCanDragTableView : NSFontPanelTableView
{
NSString *fontDescriptorKey;
}

- (void)setFontDescriptorKey:(id)fp8;
- (void)mouseDown:(id)fp8;
- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)fp8;
- (void)draggedImage:(id)fp8 endedAt:(struct _NSPoint)fp12 operation:(unsigned int)fp20;

@end

@interface NSFontPanelCollectionsTableView : NSFontPanelTableView
{
int lastSelectedItem;
}

- (int)lastSelectedItem;
- (unsigned int)draggingEntered:(id)fp8;
- (unsigned int)draggingUpdated:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (void)draggingExited:(id)fp8;

@end

@interface NSFontPanelTableView : NSTableView
{
}

- (void)setFontPanel:(id)fp8;
- (void)keyDown:(id)fp8;
- (void)mouseDown:(id)fp8;
- (void)textDidEndEditing:(id)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (BOOL)shouldDelayWindowOrderingForEvent:(id)fp8;
- (BOOL)needsPanelToBecomeKey;

@end

@interface NSFontPanelPreviewBackground : NSBox
{
}

- (id)initWithFrame:(struct _NSRect)fp8;
- (void)drawRect:(struct _NSRect)fp8;

@end

@interface NSFontPanelSplitView : NSSplitView
{
}

- (void)setPanel:(id)fp8;
- (float)dividerThickness;
- (void)drawDividerInRect:(struct _NSRect)fp8;

@end

@interface NSApplication (NSFontPanel)
- (void)orderFrontFontPanel:(id)fp8;
@end

@interface NSForm : NSMatrix
{
}

+ (void)initialize;
- (id)initWithFrame:(struct _NSRect)fp8;
- (float)_maxWidth;
- (void)_resetTitleWidths;
- (void)calcSize;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)sizeToFit;
- (int)indexOfSelectedItem;
- (void)setEntryWidth:(float)fp8;
- (void)setInterlineSpacing:(float)fp8;
- (void)setBordered:(BOOL)fp8;
- (void)setBezeled:(BOOL)fp8;
- (void)setTitleAlignment:(int)fp8;
- (void)setTextAlignment:(int)fp8;
- (void)setFont:(id)fp8;
- (id)font;
- (void)setTitleFont:(id)fp8;
- (void)setTextFont:(id)fp8;
- (id)cellAtIndex:(int)fp8;
- (void)drawCellAtIndex:(int)fp8;
- (id)addEntry:(id)fp8;
- (id)insertEntry:(id)fp8 atIndex:(int)fp12;
- (void)removeEntryAtIndex:(int)fp8;
- (int)indexOfCellWithTag:(int)fp8;
- (void)selectTextAtIndex:(int)fp8;

@end

@interface NSForm (NSFormAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityFocusedUIElement;
@end

@interface NSFormCell : NSActionCell
{
float _titleWidth;
id _titleCell;
float _titleEndPoint;
}

+ (void)initialize;
- (id)init;
- (id)initTextCell:(id)fp8;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (BOOL)acceptsFirstResponder;
- (float)titleWidth:(struct _NSSize)fp8;
- (float)titleWidth;
- (void)setTitleWidth:(float)fp8;
- (id)title;
- (void)setTitle:(id)fp8;
- (id)mnemonic;
- (void)setTitleWithMnemonic:(id)fp8;
- (void)setMnemonicLocation:(unsigned int)fp8;
- (unsigned int)mnemonicLocation;
- (id)attributedTitle;
- (void)setAttributedTitle:(id)fp8;
- (id)titleFont;
- (void)setTitleFont:(id)fp8;
- (int)titleAlignment;
- (void)setTitleAlignment:(int)fp8;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)isOpaque;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (struct _NSRect)drawingRectForBounds:(struct _NSRect)fp8;
- (BOOL)_highlightsWithHighlightRect;
- (void)_drawLiveResizeHighlightWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (struct _NSRect)_titleRectForCellFrame:(struct _NSRect)fp8;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (id)_selectOrEdit:(const struct _NSRect *)fp8 inView:(id)fp12 target:(id)fp16 editor:(id)fp20 event:(id)fp24 start:(int)fp28 end:(int)fp32;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (void)resetCursorRect:(struct _NSRect)fp8 inView:(id)fp24;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (struct _NSRange)_characterRangeForPoint:(struct _NSPoint)fp8 inRect:(struct _NSRect)fp16 ofView:(id)fp32;
- (void)setPlaceholderString:(id)fp8;
- (id)placeholderString;
- (void)setPlaceholderAttributedString:(id)fp8;
- (id)placeholderAttributedString;

@end

@interface NSFormCell (NSFormCellAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityParameterizedAttributeNames;
- (id)accessibilityTitleUIElementAttribute;
- (BOOL)accessibilityIsTitleUIElementAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsChildrenAttributeSettable;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (struct _NSRect)_accessibilityTitleRect;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface NSFrameView : NSView
{
unsigned int styleMask;
NSString *_title;
NSCell *titleCell;
NSButton *closeButton;
NSButton *zoomButton;
NSButton *minimizeButton;
BOOL resizeByIncrement;
BOOL frameNeedsDisplay;
unsigned char tabViewCount;
struct _NSSize resizeParameter;
int shadowState;
}

+ (void)initialize;
+ (void)initTitleCell:(id)fp8 styleMask:(unsigned int)fp12;
+ (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
+ (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
+ (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
+ (struct _NSSize)minContentSizeForMinFrameSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
+ (float)minFrameWidthWithTitle:(id)fp8 styleMask:(unsigned int)fp12;
+ (unsigned int)_validateStyleMask:(unsigned int)fp8;
- (id)initWithFrame:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 owner:(id)fp28;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (void)shapeWindow;
- (void)tileAndSetWindowShape:(BOOL)fp8;
- (void)tile;
- (void)drawRect:(struct _NSRect)fp8;
- (void)_drawFrameRects:(struct _NSRect)fp8;
- (void)drawFrame:(struct _NSRect)fp8;
- (void)drawThemeContentFill:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawWindowBackgroundRect:(struct _NSRect)fp8;
- (void)drawWindowBackgroundRegion:(void *)fp8;
- (float)contentAlpha;
- (void)_windowChangedKeyState;
- (void)_updateButtonState;
- (BOOL)_isSheet;
- (BOOL)_isUtility;
- (void)setShadowState:(int)fp8;
- (int)shadowState;
- (BOOL)_canHaveToolbar;
- (BOOL)_toolbarIsInTransition;
- (BOOL)_toolbarIsShown;
- (BOOL)_toolbarIsHidden;
- (void)_showToolbarWithAnimation:(BOOL)fp8;
- (void)_hideToolbarWithAnimation:(BOOL)fp8;
- (float)_distanceFromToolbarBaseToTitlebar;
- (int)_shadowType;
- (unsigned int)_shadowFlags;
- (void)_setShadowParameters;
- (void)_drawFrameShadowAndFlushContext:(id)fp8;
- (void)setUpGState;
- (void)adjustHalftonePhase;
- (void)systemColorsDidChange:(id)fp8;
- (id)frameColor;
- (id)contentFill;
- (void)tabViewAdded;
- (void)tabViewRemoved;
- (id)title;
- (void)setTitle:(id)fp8;
- (id)titleCell;
- (void)initTitleCell:(id)fp8;
- (void)setResizeIncrements:(struct _NSSize)fp8;
- (struct _NSSize)resizeIncrements;
- (void)setAspectRatio:(struct _NSSize)fp8;
- (struct _NSSize)aspectRatio;
- (unsigned int)styleMask;
- (id)representedFilename;
- (void)setRepresentedFilename:(id)fp8;
- (void)setDocumentEdited:(BOOL)fp8;
- (void)_setFrameNeedsDisplay:(BOOL)fp8;
- (BOOL)frameNeedsDisplay;
- (id)titleFont;
- (struct _NSRect)_maxTitlebarTitleRect;
- (struct _NSRect)titlebarRect;
- (void)_setUtilityWindow:(BOOL)fp8;
- (void)_setNonactivatingPanel:(BOOL)fp8;
- (void)setIsClosable:(BOOL)fp8;
- (void)setIsResizable:(BOOL)fp8;
- (id)closeButton;
- (id)minimizeButton;
- (id)zoomButton;
- (struct _NSSize)miniaturizedSize;
- (void)_clearDragMargins;
- (void)_resetDragMargins;
- (void)setTitle:(id)fp8 andDefeatWrap:(BOOL)fp12;
- (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
- (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
- (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
- (struct _NSRect)dragRectForFrameRect:(struct _NSRect)fp8;
- (struct _NSRect)contentRect;
- (struct _NSSize)minFrameSize;
- (void)_recursiveDisplayRectIfNeededIgnoringOpacity:(struct _NSRect)fp8 isVisibleRect:(BOOL)fp24 rectIsVisibleRectForView:(id)fp28 topView:(BOOL)fp32;

@end

@interface NSColor (NSTitledFrameColors)
+ (void)updateFrameColors:(id)fp8;
+ (id)notActiveWindowFrameColor;
+ (id)mainWindowFrameColor;
+ (id)keyWindowFrameShadowColor;
+ (id)mainWindowFrameShadowColor;
+ (id)notActiveWindowFrameShadowColor;
+ (id)tearOffTitlebarShadowColor;
+ (id)keyWindowFrameHighlightColor;
+ (id)mainWindowFrameHighlightColor;
+ (id)notActiveWindowFrameHighlightColor;
+ (id)notActiveWindowTitlebarTextColor;
+ (id)tearOffTitlebarHighlightColor;
+ (id)windowFrameOutlineColor;
- (id)shadeColorWithDistance:(float)fp8 towardsColor:(id)fp12;
@end

@interface NSGIFImageReader : NSImageReader
{
struct {
NSData *sourceData;
char *data;
unsigned int remaining;
struct {
char valid;
char userInput;
char hasTransparency;
int disposal;
int transparencyIndex;
float delay;
} graphicControl;
char loggedError;
int disposalMethod;
struct {
short left;
short top;
short width;
short height;
} disposalRect;
char *disposalData;
int currentFrame;
float frameDuration;
} _decompressor;
struct {
int logicalScreenWidth;
int logicalScreenHeight;
int globalColorTableResolution;
int globalBackgroundColorIndex;
struct {
char valid;
char sorted;
char color;
int size;
char *table;
} globalColorTable;
float pixelAspectRatio;
int loopCount;
unsigned int bufferingSize;
NSMutableData *colorSyncData;
int imageCount;
int width;
int height;
char hasTransparency;
char hasColor;
} _imageInfo;
int _currentFrame;
}

- (void)dealloc;
- (BOOL)loadImageHeader;
- (BOOL)loadImage:(char **)fp8;
- (int)frameCount;
- (int)currentFrame;
- (void)setCurrentFrame:(int)fp8;
- (float)currentFrameDuration;
- (id)colorTable;
- (int)loopCount;
- (unsigned int)bufferingSize;
- (id)colorSyncData;

@end

@interface NSGIFImageWriter : NSImageWriter
{
}

- (id)representationWithImageProperties:(id)fp8 withProperties:(id)fp12;

@end

@interface NSGlyphGenerator : NSObject
{
}

+ (BOOL)_compatibleWithRulebookVersion:(int)fp8;
+ (id)sharedGlyphGenerator;
+ (id)sharedGlyphGeneratorForTypesetterBehavior:(int)fp8;
- (void)generateGlyphsForLayoutManager:(id)fp8 range:(struct _NSRange)fp12 desiredNumberOfCharacters:(unsigned int)fp20 startingAtGlyphIndex:(unsigned int)fp24 completedRange:(struct _NSRange *)fp28 nextGlyphIndex:(unsigned int *)fp32;
- (void)generateGlyphsForGlyphStorage:(id)fp8 desiredNumberOfCharacters:(unsigned int)fp12 glyphIndex:(unsigned int *)fp16 characterIndex:(unsigned int *)fp20;

@end

@interface NSGlyphGenerator (NSGlyphGenPrivate)
+ (void)halt;
- (id)characterSetCoveredByFont:(id)fp8 language:(id)fp12;
- (void)singlestep:(int)fp8;
- (int)_runInitBook:(id)fp8;
- (void)_callImplementor:(int)fp8 context:(struct _NSGlyphGenContext *)fp12 chars:(id)fp16 glyphs:(id)fp20 stringBuffer:(struct _NSRAStringBuffer *)fp24 font:(id)fp28;
- (void)_recurWithContext:(struct _NSGlyphGenContext *)fp8 chars:(id)fp12 glyphs:(id)fp16 stringBuffer:(struct _NSRAStringBuffer *)fp20 font:(id)fp24;
- (unsigned int)lineBreakInString:(id)fp8 beforeIndex:(unsigned int)fp12 withinRange:(struct _NSRange)fp16 useBook:(id)fp24;
- (struct _NSRange)doubleClickInString:(id)fp8 atIndex:(int)fp12 useBook:(id)fp16;
- (unsigned int)nextWordInString:(id)fp8 fromIndex:(int)fp12 useBook:(id)fp16 forward:(BOOL)fp20;
- (unsigned int)hyphenGlyphForFont:(id)fp8 language:(id)fp12;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)setOption:(id)fp8 value:(int)fp12;
- (int)optionSetting:(id)fp8;
@end

@interface NSGlyphHole : NSObject
{
unsigned int glyphIndex;
struct _NSRange characterRange;
unsigned int refCount;
}

+ (void)initialize;
+ (id)allocWithZone:(struct _NSZone *)fp8;
- (id)retain;
- (oneway void)release;
- (unsigned int)retainCount;
- (id)initWithGlyphIndex:(unsigned int)fp8 characterRange:(struct _NSRange)fp12;
- (id)init;
- (int)compare:(id)fp8;
- (id)description;

@end

@interface NSCIDGlyphInfo : NSGlyphInfo
{
unsigned short _cid;
int _collection;
}

+ (id)glyphInfoWithCharacterIdentifier:(unsigned int)fp8 collection:(int)fp12 baseString:(id)fp16;
- (id)initWithCharacterIdentifier:(unsigned int)fp8 collection:(int)fp12 baseString:(id)fp16;
- (unsigned int)_glyphForFont:(id)fp8 baseString:(id)fp12;
- (unsigned int)characterIdentifier;
- (int)characterCollection;
- (void)encodeWithCoder:(id)fp8;
- (id)description;

@end

@interface NSGlyphNameGlyphInfo : NSIdentityGlyphInfo
{
NSString *_name;
}

- (id)initWithGlyphName:(id)fp8 glyph:(unsigned int)fp12 forFont:(id)fp16 baseString:(id)fp20;
- (void)dealloc;
- (id)glyphName;
- (void)encodeWithCoder:(id)fp8;
- (id)description;

@end

@interface NSIdentityGlyphInfo : NSGlyphInfo
{
NSFont *_font;
unsigned int _glyph;
}

+ (id)glyphInfoWithGlyph:(unsigned int)fp8 forFont:(id)fp12 baseString:(id)fp16;
- (id)initWithGlyph:(unsigned int)fp8 forFont:(id)fp12 baseString:(id)fp16;
- (void)dealloc;
- (unsigned int)_glyphForFont:(id)fp8 baseString:(id)fp12;
- (unsigned int)_glyph;
- (void)encodeWithCoder:(id)fp8;
- (id)description;

@end

@interface NSGlyphInfo : NSObject
{
NSString *_baseString;
}

+ (id)glyphInfoWithGlyphName:(id)fp8 forFont:(id)fp12 baseString:(id)fp16;
+ (id)glyphInfoWithGlyph:(unsigned int)fp8 forFont:(id)fp12 baseString:(id)fp16;
+ (id)glyphInfoWithCharacterIdentifier:(unsigned int)fp8 collection:(int)fp12 baseString:(id)fp16;
+ (void)initialize;
- (id)initWithBaseString:(id)fp8;
- (void)dealloc;
- (unsigned int)_glyphForFont:(id)fp8 baseString:(id)fp12;
- (id)_baseString;
- (id)glyphName;
- (unsigned int)characterIdentifier;
- (int)characterCollection;
- (void)encodeWithCoder:(id)fp8;
- (Class)classForKeyedArchiver;
- (id)initWithCoder:(id)fp8;

@end

@interface NSGraphicCell : NSCell
{
}

+ (void)initialize;
- (void)highlight:(BOOL)fp8 withFrame:(struct _NSRect)fp12 inView:(id)fp28;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (id)setImageNamed:(id)fp8 forView:(id)fp12;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (struct _NSSize)cellSize;
- (id)richTextForView:(id)fp8;
- (void)readRichText:(id)fp8 forView:(id)fp12;

@end

@interface NSGraphicsContext : NSObject
{
}

+ (void)initialize;
+ (id)currentContext;
+ (id)_lastOnScreenContext;
+ (void)setCurrentContext:(id)fp8;
+ (BOOL)currentContextDrawingToScreen;
+ (id)graphicsContextWithAttributes:(id)fp8;
+ (id)graphicsContextWithWindow:(id)fp8;
+ (void)saveGraphicsState;
+ (void)restoreGraphicsState;
+ (void)setGraphicsState:(int)fp8;
- (id)attributes;
- (BOOL)isDrawingToScreen;
- (void)saveGraphicsState;
- (void)restoreGraphicsState;
- (void)flushGraphics;
- (void *)focusStack;
- (void)setFocusStack:(void *)fp8;
- (void *)graphicsPort;

@end

@interface NSGraphicsContext (NSGraphicsContext_RenderingOptions)
- (void)setShouldAntialias:(BOOL)fp8;
- (BOOL)shouldAntialias;
- (void)setImageInterpolation:(int)fp8;
- (int)imageInterpolation;
- (void)setPatternPhase:(struct _NSPoint)fp8;
- (struct _NSPoint)patternPhase;
@end

@interface NSGrayFrame : NSThemeFrame
{
BOOL _bottomCornerRounded;
}

+ (void)initialize;
+ (void)drawBevel:(struct _NSRect)fp8 inFrame:(struct _NSRect)fp24 topCornerRounded:(BOOL)fp40 bottomCornerRounded:(BOOL)fp44;
+ (struct _NSSize)sizeOfTitlebarButtons:(unsigned int)fp8;
+ (float)_minXTitlebarWidgetInset:(unsigned int)fp8;
+ (float)_maxXTitlebarWidgetInset:(unsigned int)fp8;
- (id)initWithFrame:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 owner:(id)fp28;
- (void)_setUtilityWindow:(BOOL)fp8;
- (void)setBottomCornerRounded:(BOOL)fp8;
- (BOOL)bottomCornerRounded;
- (struct _NSSize)_topCornerSize;
- (struct _NSSize)_bottomCornerSize;
- (void)drawRect:(struct _NSRect)fp8;
- (void)_setFrameNeedsDisplay:(BOOL)fp8;
- (void)_drawTitleBar:(struct _NSRect)fp8;
- (void)drawWindowBackgroundRect:(struct _NSRect)fp8 level:(int)fp24;
- (void)drawWindowBackgroundRect:(struct _NSRect)fp8;
- (void)drawWindowBackgroundRegion:(void *)fp8 level:(int)fp12;
- (void)drawWindowBackgroundRegion:(void *)fp8;
- (unsigned int)_shadowFlags;
- (id)contentFill;
- (float)_minYTitlebarButtonsOffset;
- (float)_minYTitlebarTitleOffset;
- (struct _NSRect)_maxXminYResizeRect;
- (struct _NSRect)_growBoxRect;
- (void)_drawGrowBoxWithClip:(struct _NSRect)fp8;
- (BOOL)_inactiveButtonsNeedMask;
- (float)_minXTitlebarWidgetInset;
- (float)_maxXTitlebarWidgetInset;
- (struct _NSPoint)_toolbarButtonOrigin;
- (float)_windowTitlebarButtonSpacingWidth;
- (struct _NSSize)sizeOfTitlebarToolbarButton;

@end

@interface NSHelpAttachment : NSTextAttachment
{
NSString *markerName;
NSString *fileName;
}

- (id)initWithFileName:(id)fp8 markerName:(id)fp12;
- (id)markerName;
- (id)fileName;
- (void)dealloc;

@end

@interface _NSContextHelpBorderView : NSView
{
}

- (void)drawRect:(struct _NSRect)fp8;

@end

@interface NSHelpManager : NSObject
{
struct _NSMapTable *_helpMapTable;
struct _NSMapTable *_keyMapTable;
struct _NSMapTable *_bundleMapTable;
NSWindow *_helpWindow;
NSWindow *_shadowWindow;
NSWindow *_evtWindow;
NSBundle *_helpBundle;
}

+ (id)sharedHelpManager;
+ (void)setContextHelpModeActive:(BOOL)fp8;
+ (BOOL)isContextHelpModeActive;
- (void)dealloc;
- (void)setContextHelp:(id)fp8 forObject:(id)fp12;
- (void)removeContextHelpForObject:(id)fp8;
- (id)contextHelpForObject:(id)fp8;
- (BOOL)showContextHelpForObject:(id)fp8 locationHint:(struct _NSPoint)fp12;
- (void)openHelpAnchor:(id)fp8 inBook:(id)fp12;
- (void)findString:(id)fp8 inBook:(id)fp12;

@end

@interface NSApplication (NSApplicationHelpExtension)
- (void)activateContextHelpMode:(id)fp8;
- (void)showHelp:(id)fp8;
@end

@interface NSBundle (NSBundleHelpExtension)
- (id)contextHelpForKey:(id)fp8;
@end

@interface NSHelpManager (NSPrivateClickHelp)
+ (BOOL)_isCtrlAltForHelpDesired;
+ (void)_setCtrlAltForHelpDesired:(BOOL)fp8;
+ (BOOL)_keyboardIsOldNeXT;
+ (BOOL)_activateHelpModeBasedOnEvent:(id)fp8;
- (void)_captureInput;
- (void)_releaseInput;
- (void)_showDropShadow;
- (void)_hideDropShadow;
- (void)_orderFrontHelpWindow;
- (BOOL)_orderOutHelpWindow;
- (BOOL)_orderOutHelpWindowAfterEventMask:(unsigned int)fp8;
- (id)_helpWindow;
@end

@interface NSHelpManager (NSHelpManagerPrivate)
- (void)_setHelpKey:(id)fp8 forObject:(id)fp12;
- (void)_removeHelpKeyForObject:(id)fp8;
- (id)_helpBundleForObject:(id)fp8;
- (id)_helpKeyForObject:(id)fp8;
- (id)_resolveHelpKeyForObject:(id)fp8;
- (void)_setBundleForHelpSearch:(id)fp8;
- (struct _NSRect)_screenRectContainingPoint:(struct _NSPoint)fp8;
- (void)_placeHelpWindowNear:(struct _NSPoint)fp8;
- (void)_prepareHelpWindow:(id)fp8 locationHint:(struct _NSPoint)fp12;
- (void)_cleanupHelpForQuit;
- (void)showHelpFile:(id)fp8 context:(int)fp12;
@end

@interface NSHyphenator : NSObject
{
struct _NSMapTable *exceptionsTable;
struct _NSMapTable *patternTable;
char *patternMemory;
unsigned int maxPatternLength;
}

+ (id)sharedInstance;
- (id)init;
- (void)dealloc;
- (unsigned int)getHyphenLocations:(unsigned int *)fp8 inString:(id)fp12;
- (unsigned int)getHyphenLocations:(unsigned int *)fp8 inString:(id)fp12 wordAtIndex:(unsigned int)fp16;

@end

@interface NSIBHelpConnector : NSObject
{
id _destination;
NSString *_file;
NSString *_marker;
}

+ (void)initialize;
- (id)init;
- (void)dealloc;
- (id)source;
- (void)setSource:(id)fp8;
- (id)destination;
- (void)setDestination:(id)fp8;
- (id)label;
- (void)setLabel:(id)fp8;
- (id)file;
- (void)setFile:(id)fp8;
- (id)marker;
- (void)setMarker:(id)fp8;
- (void)replaceObject:(id)fp8 withObject:(id)fp12;
- (void)establishConnection;
- (void)instantiateWithObjectInstantiator:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSIBObjectData : NSObject
{
id rootObject;
struct _NSMapTable *objectTable;
struct _NSMapTable *nameTable;
NSMutableSet *visibleWindows;
NSMutableArray *connections;
id firstResponder;
id fontManager;
struct _NSMapTable *oidTable;
unsigned int nextOid;
struct _NSMapTable *classTable;
struct _NSMapTable *instantiatedObjectTable;
NSString *targetFramework;
id _document;
id _reserved;
}

+ (void)initialize;
- (id)init;
- (void)dealloc;
- (id)instantiateObject:(id)fp8;
- (void)nibInstantiateWithOwner:(id)fp8;
- (void)nibInstantiateWithOwner:(id)fp8 topLevelObjects:(id)fp12;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSIBObjectData (NSCompatibility)
- (void)_encodeMapTable:(struct _NSMapTable *)fp8 forTypes:(const char *)fp12 withCoder:(id)fp16;
- (void)_readVersion0:(id)fp8;
- (void)_assignObjectIds;
@end

@interface NSICOImageReader : NSImageReader
{
unsigned short resourceType;
unsigned short iconInfoCount;
unsigned short curIconInfoIndex;
BOOL headerLoaded;
struct {
int;
int;
int;
int;
int;
int;
char *;
char *;
char *;
char *;
char;
} *iconInfo;
}

- (unsigned int)numberOfImages;
- (void)setCurrentImageNumber:(unsigned int)fp8;
- (unsigned int)currentImageNumber;
- (unsigned char)getByte;
- (unsigned short)getLEWord;
- (unsigned long)getLELong;
- (void)dealloc;
- (int)bitsPerPixel;
- (int)actualBitsPerPixel;
- (int)bytesPerRow;
- (int)bytesPerPlane;
- (int)numberOfPlanes;
- (struct _NSSize)size;
- (int)bitsPerSample;
- (int)pixelsWide;
- (int)pixelsHigh;
- (unsigned int)numberOfPaletteEntries;
- (const char *)palette;
- (const char *)bitmapData;
- (BOOL)loadImageHeader;
- (BOOL)loadImage:(char **)fp8;

@end

@interface NSObsoleteBitmap : NSObject
{
char *name;
int isBuiltIn;
}

- (id)initWithCoder:(id)fp8;
- (id)awakeAfterUsingCoder:(id)fp8;
- (void)dealloc;

@end

@interface NSImage : NSObject
{
NSString *_name;
struct _NSSize _size;
struct __imageFlags _flags;
void *_reps;
NSColor *_color;
}

+ (void)initialize;
+ (BOOL)canInitWithPasteboard:(id)fp8;
+ (id)_imageNamed:(id)fp8;
+ (id)_findSystemImageNamed:(id)fp8;
+ (id)imageNamed:(id)fp8;
+ (id)_searchForImageNamed:(id)fp8;
+ (id)_searchForSystemImageNamed:(id)fp8;
+ (void)_invalidateImageTypeCaches;
+ (id)imageFileTypes;
+ (id)imagePasteboardTypes;
+ (id)imageUnfilteredFileTypes;
+ (id)imageUnfilteredPasteboardTypes;
- (struct _RepresentationInfo *)_newRepresentation:(id)fp8;
- (struct _RepresentationInfo *)_newLazyRepresentation:(int)fp8:(id)fp12:(id)fp16;
- (struct _RepresentationInfo *)_newLazyIconRefRepresentation:(struct OpaqueIconRef *)fp8 ofSize:(int)fp12;
- (BOOL)_useIconNamed:(id)fp8 from:(id)fp12;
- (id)_useSharedKitWindow:(int)fp8 rect:(const struct _NSRect *)fp12;
- (id)initByReferencingFile:(id)fp8;
- (id)initWithContentsOfFile:(id)fp8;
- (id)initWithContentsOfURL:(id)fp8;
- (id)initByReferencingURL:(id)fp8;
- (id)initWithData:(id)fp8;
- (id)initWithSize:(struct _NSSize)fp8;
- (id)init;
- (id)initFromImage:(id)fp8 rect:(struct _NSRect)fp12;
- (void)getImage:(id *)fp8 rect:(struct _NSRect *)fp12;
- (id)initWithPasteboard:(id)fp8;
- (void)_expand;
- (void)recache;
- (BOOL)setName:(id)fp8;
- (id)name;
- (void)setBackgroundColor:(id)fp8;
- (id)backgroundColor;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (id)_handleError:(int)fp8 delta:(float)fp12 fromRect:(const struct _NSRect *)fp16 toPoint:(const struct _NSPoint *)fp20;
- (id)_freeRepresentation:(struct _RepresentationInfo *)fp8;
- (void)dealloc;
- (id)_resizeAllCaches;
- (id)_freeCache:(struct _RepresentationInfo *)fp8;
- (BOOL)_getCacheWindow:(id *)fp8 andRect:(struct _NSRect *)fp12 forRep:(struct _RepresentationInfo *)fp16;
- (void)setSize:(struct _NSSize)fp8;
- (struct _NSSize)size;
- (void)setFlipped:(BOOL)fp8;
- (BOOL)isFlipped;
- (void)setScalesWhenResized:(BOOL)fp8;
- (BOOL)scalesWhenResized;
- (void)setDataRetained:(BOOL)fp8;
- (BOOL)isDataRetained;
- (void)setCachedSeparately:(BOOL)fp8;
- (BOOL)isCachedSeparately;
- (void)setCacheDepthMatchesImageDepth:(BOOL)fp8;
- (BOOL)cacheDepthMatchesImageDepth;
- (void)setUsesEPSOnResolutionMismatch:(BOOL)fp8;
- (BOOL)usesEPSOnResolutionMismatch;
- (void)setPrefersColorMatch:(BOOL)fp8;
- (BOOL)prefersColorMatch;
- (void)setMatchesOnMultipleResolution:(BOOL)fp8;
- (BOOL)matchesOnMultipleResolution;
- (void)setCacheMode:(int)fp8;
- (int)cacheMode;
- (void)_setAntialiased:(BOOL)fp8;
- (BOOL)_antialiased;
- (BOOL)_asIconHasAlpha;
- (BOOL)hasAlpha;
- (id)representations;
- (void)_setRepresentationListCache:(id)fp8;
- (BOOL)_focusOnCache:(struct _RepresentationInfo *)fp8;
- (BOOL)_whenDrawn:(id)fp8 fills:(const struct _NSRect *)fp12;
- (BOOL)_requiresCacheWithAlpha:(struct _RepresentationInfo *)fp8;
- (void)drawAtPoint:(struct _NSPoint)fp8 fromRect:(struct _NSRect)fp16 operation:(int)fp32 fraction:(float)fp36;
- (void)drawInRect:(struct _NSRect)fp8 fromRect:(struct _NSRect)fp24 operation:(int)fp40 fraction:(float)fp44;
- (BOOL)drawRepresentation:(id)fp8 inRect:(struct _NSRect)fp12;
- (BOOL)_drawRepresentation:(struct _RepresentationInfo *)fp8;
- (id)_drawDone:(struct _RepresentationInfo *)fp8 success:(BOOL)fp12;
- (BOOL)_cacheRepresentation:(struct _RepresentationInfo *)fp8;
- (BOOL)_cacheRepresentation:(struct _RepresentationInfo *)fp8 stayFocused:(BOOL)fp12;
- (id)_forgetData:(struct _RepresentationInfo *)fp8;
- (BOOL)_expandRep:(struct _RepresentationInfo *)fp8;
- (BOOL)_addRepsFrom:(id)fp8 toRep:(struct _RepresentationInfo *)fp12;
- (BOOL)_addOneRepFrom:(id)fp8 toRep:(struct _RepresentationInfo *)fp12;
- (void)_subImageFocus;
- (BOOL)isValid;
- (void)lockFocusOnRepresentation:(id)fp8;
- (void)lockFocus;
- (BOOL)_lockFocusOnRep:(struct _RepresentationInfo *)fp8;
- (void)unlockFocus;
- (void)addRepresentation:(id)fp8;
- (void)addRepresentations:(id)fp8;
- (void)removeRepresentation:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)awakeAfterUsingCoder:(id)fp8;
- (BOOL)_getGlobalWindowNumber:(unsigned int *)fp8 andRect:(struct _NSRect *)fp12 forRepresentation:(id)fp16;
- (id)TIFFRepresentation;
- (id)TIFFRepresentationUsingCompression:(int)fp8 factor:(float)fp12;
- (struct _RepresentationInfo *)_bestRepresentation:(BOOL)fp8 device:(id)fp12 bestWidth:(float)fp16 checkFlag:(BOOL)fp20;
- (id)bestRepresentationForDevice:(id)fp8;
- (void)compositeToPoint:(struct _NSPoint)fp8 operation:(int)fp16;
- (void)dissolveToPoint:(struct _NSPoint)fp8 fraction:(float)fp16;
- (void)compositeToPoint:(struct _NSPoint)fp8 fromRect:(struct _NSRect)fp16 operation:(int)fp32;
- (void)dissolveToPoint:(struct _NSPoint)fp8 fromRect:(struct _NSRect)fp16 fraction:(float)fp32;
- (void)compositeToPoint:(struct _NSPoint)fp8 operation:(int)fp16 fraction:(float)fp20;
- (void)compositeToPoint:(struct _NSPoint)fp8 fromRect:(struct _NSRect)fp16 operation:(int)fp32 fraction:(float)fp36;
- (void)_compositeToPoint:(struct _NSPoint)fp8 operation:(int)fp16 fraction:(float)fp20;
- (void)_compositeToPoint:(struct _NSPoint)fp8 fromRect:(struct _NSRect)fp16 operation:(int)fp32 fraction:(float)fp36;
- (void *)_createPatternFromRect:(struct _NSRect)fp8;
- (void *)_createPattern;
- (BOOL)_composite:(int)fp8 delta:(float)fp12 fromRect:(const struct _NSRect *)fp16 toPoint:(const struct _NSPoint *)fp20;
- (id)description;
- (id)_initWithData:(id)fp8 fileType:(id)fp12 hfsType:(id)fp16;
- (id)_initWithIconRef:(void *)fp8 includeThumbnail:(BOOL)fp12;
- (void)cancelIncrementalLoad;

@end

@interface NSBundle (NSBundleImageExtension)
- (id)pathForImageResource:(id)fp8;
@end

@interface NSImageCell : NSCell
{
id _controlView;
struct __ICFlags _icFlags;
struct _NSImageCellAnimationState *_animationState;
NSImage *_scaledImage;
}

+ (void)initialize;
- (id)init;
- (id)initImageCell:(id)fp8;
- (id)copy;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)dealloc;
- (void)_setContents:(id)fp8;
- (void)highlight:(BOOL)fp8 withFrame:(struct _NSRect)fp12 inView:(id)fp28;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (int)imageAlignment;
- (void)setImageAlignment:(int)fp8;
- (int)imageScaling;
- (void)setImageScaling:(int)fp8;
- (int)imageFrameStyle;
- (void)setImageFrameStyle:(int)fp8;
- (void)setObjectValue:(id)fp8;
- (id)image;
- (void)setImage:(id)fp8;
- (BOOL)_highlightsWithHighlightRect;
- (struct _NSRect)imageRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)titleRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)drawingRectForBounds:(struct _NSRect)fp8;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (BOOL)isOpaque;
- (void)setFormatter:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)_setControlView:(id)fp8;
- (id)controlView;

@end

@interface NSImageCell (NSPrivateAnimationSupport)
- (BOOL)_animates;
- (void)_setAnimates:(BOOL)fp8;
- (void)_startAnimation;
- (void)_stopAnimation;
- (void)_animationTimerCallback:(id)fp8;
@end

@interface NSImageCell (NSImageCellAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityTitleAttribute;
- (BOOL)accessibilityIsTitleAttributeSettable;
@end

@interface NSImage (NSImageAccessibility)
- (id)_accessibilityTitle;
@end

@interface NSImageReader : NSObject
{
char *planes[4];
int pixelsHigh;
int pixelsWide;
int bytesPerRow;
int bytesPerPlane;
NSString *colorSpaceName;
NSData *colorSyncData;
struct _NSSize size;
unsigned int samplesPerPixel;
unsigned int numberOfPlanes;
unsigned int bitsPerPixel;
unsigned int bitsPerSample;
BOOL isPlanar;
BOOL hasAlpha;
BOOL loadError;
BOOL reserved1;
int reserved2;
NSData *data;
char *bytes;
unsigned int length;
unsigned int location;
}

- (id)initWithData:(id)fp8;
- (void)dealloc;
- (id)data;
- (char **)bitmapDataPlanes;
- (BOOL)isPlanar;
- (int)samplesPerPixel;
- (int)bitsPerPixel;
- (int)bytesPerRow;
- (int)bytesPerPlane;
- (int)numberOfPlanes;
- (struct _NSSize)size;
- (BOOL)hasAlpha;
- (id)colorSpaceName;
- (id)colorSyncData;
- (int)bitsPerSample;
- (int)pixelsWide;
- (int)pixelsHigh;
- (BOOL)loadImageHeader;
- (BOOL)loadImage:(char **)fp8;
- (BOOL)loadImage:(char **)fp8 forImageRep:(id)fp12;

@end

@interface NSImageRep : NSObject
{
struct __repFlags _repFlags;
NSString *_colorSpaceName;
struct _NSSize _size;
int _pixelsWide;
int _pixelsHigh;
}

+ (void)initialize;
+ (BOOL)canInitWithData:(id)fp8;
+ (id)imageUnfilteredFileTypes;
+ (id)imageUnfilteredPasteboardTypes;
+ (id)imagePasteboardTypes;
+ (id)imageFileTypes;
+ (BOOL)canInitWithPasteboard:(id)fp8;
+ (id)imageRepsWithContentsOfFile:(id)fp8;
+ (id)imageRepWithContentsOfFile:(id)fp8;
+ (id)imageRepsWithPasteboard:(id)fp8;
+ (id)imageRepWithPasteboard:(id)fp8;
+ (id)imageRepsWithContentsOfURL:(id)fp8;
+ (id)imageRepWithContentsOfURL:(id)fp8;
+ (id)_imageRepsWithData:(id)fp8 fileType:(id)fp12 hfsType:(id)fp16;
+ (void)registerImageRepClass:(Class)fp8;
+ (void)unregisterImageRepClass:(Class)fp8;
+ (id)registeredImageRepClasses;
+ (Class)_imageRepClassForFileNameExtension:(id)fp8 andHFSFileType:(id)fp12;
+ (Class)imageRepClassForFileType:(id)fp8;
+ (Class)imageRepClassForPasteboardType:(id)fp8;
+ (Class)imageRepClassForData:(id)fp8;
+ (BOOL)_preferFilter;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)setSize:(struct _NSSize)fp8;
- (struct _NSSize)size;
- (void)_gsave;
- (void)_grestore;
- (void)dealloc;
- (BOOL)drawAtPoint:(struct _NSPoint)fp8;
- (BOOL)drawInRect:(struct _NSRect)fp8;
- (BOOL)draw;
- (BOOL)_drawFromRect:(struct _NSRect)fp8 toRect:(struct _NSRect)fp24 operation:(int)fp40 alpha:(float)fp44 compositing:(BOOL)fp48 flipped:(BOOL)fp52 ignoreContext:(BOOL)fp56;
- (int)_uncachedSize;
- (BOOL)_isValid;
- (void *)_createPatternFromRect:(struct _NSRect)fp8;
- (void)setColorSpaceName:(id)fp8;
- (id)colorSpaceName;
- (void)setAlpha:(BOOL)fp8;
- (BOOL)hasAlpha;
- (void)setOpaque:(BOOL)fp8;
- (BOOL)isOpaque;
- (void)setBitsPerSample:(int)fp8;
- (int)bitsPerSample;
- (void)setPixelsWide:(int)fp8;
- (int)pixelsWide;
- (void)setPixelsHigh:(int)fp8;
- (int)pixelsHigh;
- (BOOL)_canDrawOutsideOfItsBounds;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)description;
- (struct CGImage *)_CGImageRef;
- (void)_setCGImageRef:(struct CGImage *)fp8;

@end

@interface NSImageView : NSControl
{
BOOL _editable;
id _target;
SEL _action;
}

+ (void)initialize;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (int)imageFrameStyle;
- (void)setImageFrameStyle:(int)fp8;
- (int)imageAlignment;
- (void)setImageAlignment:(int)fp8;
- (int)imageScaling;
- (void)setImageScaling:(int)fp8;
- (void)setEditable:(BOOL)fp8;
- (BOOL)isEditable;
- (id)image;
- (void)setImage:(id)fp8;
- (void)setTarget:(id)fp8;
- (void)setAction:(SEL)fp8;
- (id)target;
- (SEL)action;
- (BOOL)isOpaque;
- (BOOL)animates;
- (void)setAnimates:(BOOL)fp8;
- (void)rightMouseDown:(id)fp8;
- (BOOL)shouldBeTreatedAsInkEvent:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (unsigned int)draggingEntered:(id)fp8;
- (void)draggingExited:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (void)concludeDragOperation:(id)fp8;

@end

@interface NSImageView (NSImageViewPrivate)
- (void)registerForDrags;
@end

@interface NSImageWriter : NSObject
{
char *planes[4];
int pixelsHigh;
int pixelsWide;
int bytesPerRow;
int bytesPerPlane;
NSString *colorSpaceName;
struct _NSSize size;
struct {
unsigned int samplesPerPixel:4;
unsigned int numberOfPlanes:4;
unsigned int bitsPerPixel:8;
unsigned int bitsPerSample:8;
unsigned int isPlanar:1;
unsigned int hasAlpha:1;
unsigned int error:1;
unsigned int dibFormat:1;
unsigned int reserved:12;
} flags;
}

- (id)initWithBitmapDataPlanes:(char **)fp8 pixelsWide:(int)fp12 pixelsHigh:(int)fp16 bitsPerSample:(int)fp20 samplesPerPixel:(int)fp24 hasAlpha:(BOOL)fp28 isPlanar:(BOOL)fp32 colorSpaceName:(id)fp36 bytesPerRow:(int)fp40 bitsPerPixel:(int)fp44 size:(struct _NSSize)fp48;
- (id)representationWithImageProperties:(id)fp8 withProperties:(id)fp12;

@end

@interface NSIncrementalImageReader : NSImageReader
{
NSImage *_image;
NSImageRep *_imageRep;
NSURL *_url;
id _urlHandle;
int _mode;
NSData *_availableData;
BOOL _newDataAvailable;
BOOL _loading;
BOOL _loadFinished;
BOOL _directLoading;
}

+ (void)cancelIncrementalLoadForImage:(id)fp8;
+ (id)incrementalImageReaderForRep:(id)fp8;
- (void)dealloc;
- (id)initWithURL:(id)fp8;
- (void)setImageRep:(id)fp8 forImage:(id)fp12;
- (id)initForDirectImageRep:(id)fp8;
- (BOOL)doProgressiveLoad;
- (BOOL)doProgressiveLoadHeader;
- (BOOL)startProgressiveLoad;
- (BOOL)doProgressiveLoadImage;
- (void)finishProgressiveLoad:(int)fp8;
- (int)validRows;
- (int)mode;
- (id)image;
- (id)rep;
- (void)beginDataLoad;
- (void)setNewAvailableData:(id)fp8;
- (void)clearNewAvailableData;
- (BOOL)newDataAvailable;
- (BOOL)loadFinished;
- (id)availableData;
- (void)finishDataLoad;
- (int)directDataAvailable:(id)fp8;
- (int)directDataComplete;
- (void)URLHandleResourceDidBeginLoading:(id)fp8;
- (void)URLHandleResourceDidFinishLoading:(id)fp8;
- (void)URLHandle:(id)fp8 resourceDataDidBecomeAvailable:(id)fp12;
- (void)URLHandleResourceDidCancelLoading:(id)fp8;
- (void)URLHandle:(id)fp8 resourceDidFailLoadingWithReason:(id)fp12;

@end

@interface NSTSMInputContext : NSInputContext
{
struct OpaqueTSMDocumentID *_documentID;
unsigned short _deadKeyChar;
short _scriptID;
struct {
unsigned int _inPreProcess:1;
unsigned int _acceptsGlyphInfo:1;
unsigned int _respondsToString:1;
unsigned int _respondsToTextStorage:1;
unsigned int _hasLocking:1;
unsigned int _unicodeInputEventReceived:1;
unsigned int _reserved:26;
} _ticFlags;
}

+ (void)initialize;
+ (void)_destroyTSMDocument:(id)fp8;
+ (void)cycleToNextInputScript:(id)fp8;
+ (void)cycleToNextInputKeyboardLayout:(id)fp8;
- (id)initWithClient:(id)fp8;
- (void)dealloc;
- (BOOL)_activate;
- (void)_deactivate;
- (BOOL)_inTSMPreProcess;
- (void)_setUnicodeInputEventReceived:(BOOL)fp8;
- (BOOL)_unicodeInputEventReceived;
- (void)setAcceptsGlyphInfo:(BOOL)fp8;
- (void)markedTextAbandoned:(id)fp8;
- (void)markedTextSelectionChanged:(struct _NSRange)fp8 client:(id)fp16;
- (BOOL)wantsToInterpretAllKeystrokes;
- (BOOL)wantsToHandleMouseEvents;
- (BOOL)handleMouseEvent:(id)fp8;
- (BOOL)wantsToDelayTextChangeNotifications;
- (unsigned short)_currentDeadKeyChar;
- (void)interpretKeyEvents:(id)fp8;
- (void)cycleToNextInputScript:(id)fp8;
- (void)cycleToNextInputKeyboardLayout:(id)fp8;

@end

@interface NSInputContext : NSObject
{
id _client;
NSInputManager *_inputManager;
NSKeyBindingManager *_keyBindingManager;
void *_keyBindingState;
NSInputManager *_markingInputManager;
struct {
unsigned int _usingExtendedInputMethods:1;
unsigned int _respondsToAcceptsMarkedText:1;
unsigned int _disableEventProcessing:1;
unsigned int _checkedClientKeyManager:1;
unsigned int _reserved:28;
} _icFlags;
}

+ (void)_applicationDidBecomeActive;
+ (void)_applicationDidResignActive;
+ (id)inputContextWithClient:(id)fp8;
+ (id)currentInputContext;
+ (void)updateInputContexts;
+ (void)_handleCommand:(SEL)fp8;
+ (void *)keyBindingState;
+ (BOOL)processInputKeyBindings:(id)fp8;
- (void)_handleText:(id)fp8;
- (void)_handleCommand:(SEL)fp8;
- (void)setAcceptsGlyphInfo:(BOOL)fp8;
- (BOOL)_isEventProcessingDisabled;
- (void)_insertText:(id)fp8 forInputManager:(id)fp12;
- (void)_setMarkedText:(id)fp8 selectedRange:(struct _NSRange)fp12 forInputManager:(id)fp20;
- (void)_doCommandBySelector:(SEL)fp8 forInputManager:(id)fp12;
- (id)initWithClient:(id)fp8;
- (void)dealloc;
- (void)setCurrentInputManager:(id)fp8;
- (id)currentInputManager;
- (BOOL)_activate;
- (void)_deactivate;
- (void)_invalidate;
- (id)client;
- (void)insertText:(id)fp8;
- (void)doCommandBySelector:(SEL)fp8;
- (void)setMarkedText:(id)fp8 selectedRange:(struct _NSRange)fp12;
- (void)unmarkText;
- (BOOL)hasMarkedText;
- (long)conversationIdentifier;
- (id)attributedSubstringFromRange:(struct _NSRange)fp8;
- (struct _NSRange)markedRange;
- (struct _NSRange)selectedRange;
- (struct _NSRect)firstRectForCharacterRange:(struct _NSRange)fp8;
- (unsigned int)characterIndexForPoint:(struct _NSPoint)fp8;
- (id)validAttributesForMarkedText;
- (id)localizedInputManagerName;
- (void)markedTextAbandoned:(id)fp8;
- (void)markedTextSelectionChanged:(struct _NSRange)fp8 client:(id)fp16;
- (BOOL)wantsToInterpretAllKeystrokes;
- (id)language;
- (id)image;
- (id)server;
- (BOOL)wantsToHandleMouseEvents;
- (BOOL)handleMouseEvent:(id)fp8;
- (BOOL)wantsToDelayTextChangeNotifications;
- (void)interpretKeyEvents:(id)fp8;
- (void *)keyBindingState;
- (void)cycleToNextInputScript:(id)fp8;
- (void)cycleToNextInputKeyboardLayout:(id)fp8;
- (void)togglePlatformInputSystem:(id)fp8;
- (void)setKeyBindingManager:(id)fp8;
- (id)keyBindingManager;

@end

@interface NSInputContext (NSInputContextConcreteClassSelector)
+ (id)_concreteInputContextClass;
@end

@interface NSView (NSKeyBindingManager_Support)
+ (id)keyBindingManager;
@end

@interface NSInputManager : NSObject
{
id _currentClient;
id _server;
id _bundleObj;
id _keybindings;
NSString *_trueName;
NSString *_connectionName;
NSString *_hostName;
NSString *_procToExec;
NSString *_visibleName;
NSString *_bundleName;
NSString *_language;
NSImage *_image;
unsigned int _flags;
NSString *_keyBindingsName;
int _reservedInputManager2;
}

+ (void)_terminate:(id)fp8;
+ (void)_updateInputManagerState;
+ (void)_switchToPlatformInput:(id)fp8;
+ (id)_inputManagerInNextScript:(id)fp8;
+ (id)_nextInputManagerInScript:(id)fp8;
+ (void)initialize;
+ (void)installInputManagerMenu:(id)fp8;
+ (void)setCurrentInputManager:(id)fp8;
+ (id)currentInputManager;
+ (void)cycleToNextInputLanguage:(id)fp8;
+ (void)cycleToNextInputServerInLanguage:(id)fp8;
+ (BOOL)worksWhenModal;
- (BOOL)_setActivationState:(BOOL)fp8;
- (BOOL)_isActivated;
- (BOOL)worksWhenModal;
- (id)initWithName:(id)fp8 host:(id)fp12;
- (id)_initWithName:(id)fp8 host:(id)fp12 process:(id)fp16 bundle:(id)fp20 serverClass:(id)fp24 keyBindings:(id)fp28;
- (void)_activateServer;
- (BOOL)_validateBundleSecurity;
- (void)_loadBundle;
- (void)_loadKeyboardBindings;
- (id)_keyBindingManager;
- (void)_senderIsInvalid:(id)fp8;
- (id)_currentClient;
- (void)_setCurrentClient:(id)fp8;
- (void)activateInputManagerFromMenu:(id)fp8;
- (id)localizedInputManagerName;
- (BOOL)wantsToInterpretAllKeystrokes;
- (BOOL)isEnabled;
- (BOOL)handleMouseEvent:(id)fp8;
- (void)insertText:(id)fp8 client:(id)fp12;
- (void)doCommandBySelector:(SEL)fp8 client:(id)fp12;
- (void)markedTextAbandoned:(id)fp8;
- (void)markedTextSelectionChanged:(struct _NSRange)fp8 client:(id)fp16;
- (id)server;
- (id)bundleObject;
- (BOOL)wantsToDelayTextChangeNotifications;
- (BOOL)wantsToHandleMouseEvents;
- (id)language;
- (id)image;
- (void)dealloc;
- (void)_terminate;
- (id)description;
- (id)_trueName;
- (void)insertText:(id)fp8;
- (void)doCommandBySelector:(SEL)fp8;
- (void)setMarkedText:(id)fp8 selectedRange:(struct _NSRange)fp12;
- (void)getMarkedText:(id *)fp8 selectedRange:(struct _NSRange *)fp12;
- (BOOL)hasMarkedText;
- (void)unmarkText;
- (id)validAttributesForMarkedText;
- (struct _NSRect)firstRectForCharacterRange:(struct _NSRange)fp8;
- (struct _NSRange)selectedRange;
- (struct _NSRange)markedRange;
- (id)attributedSubstringFromRange:(struct _NSRange)fp8;
- (long)conversationIdentifier;
- (unsigned int)characterIndexForPoint:(struct _NSPoint)fp8;

@end

@interface NSDeadKeyInputServer : NSInputServer
{
NSData *_dataObj;
unsigned short *_data;
short _numDeadKeys;
unsigned short _bufferedChar;
}

- (void)_loadDeadKeyData;
- (id)initWithDelegate:(id)fp8 name:(id)fp12;
- (BOOL)canBeDisabled;
- (void)doCommandBySelector:(SEL)fp8 client:(id)fp12;
- (void)insertText:(id)fp8 client:(id)fp12;
- (void)inputClientEnabled:(id)fp8;
- (BOOL)validStartCharacter:(unsigned short)fp8;
- (id)findCombinationForLetter:(unsigned short)fp8 accent:(unsigned short)fp12;
- (void)markedTextAbandoned:(id)fp8;
- (void)activeConversationWillChange:(id)fp8 fromOldConversation:(long)fp12;

@end

@interface NSLocalInputServer : NSInputServer
{
NSMutableDictionary *_dictionary;
}

- (id)initWithDelegate:(id)fp8 name:(id)fp12;
- (void)dealloc;
- (void)setMutableDictionary:(id)fp8;
- (id)mutableDictionary;

@end

@interface NSRemoteInputServer : NSInputServer
{
NSConnection *_connection;
}

- (void)_invalidateConnectionsAsNecessary:(id)fp8;
- (id)initWithDelegate:(id)fp8 name:(id)fp12;
- (void)dealloc;
- (void)forwardInvocation:(id)fp8;
- (void)markedTextAbandoned:(id)fp8;
- (void)terminate:(id)fp8;

@end

@interface NSInputServer : NSObject
{
NSString *_name;
id _delegate;
}

- (id)initWithDelegate:(id)fp8 name:(id)fp12;
- (void)dealloc;
- (id)description;
- (void)insertText:(id)fp8 client:(id)fp12;
- (void)doCommandBySelector:(SEL)fp8 client:(id)fp12;
- (void)markedTextAbandoned:(id)fp8;
- (void)markedTextSelectionChanged:(struct _NSRange)fp8 client:(id)fp16;
- (void)activeConversationWillChange:(id)fp8 fromOldConversation:(long)fp12;
- (void)activeConversationChanged:(id)fp8 toNewConversation:(long)fp12;
- (void)terminate:(id)fp8;
- (BOOL)wantsToInterpretAllKeystrokes;
- (BOOL)wantsToHandleMouseEvents;
- (BOOL)wantsToDelayTextChangeNotifications;
- (BOOL)canBeDisabled;
- (void)inputClientBecomeActive:(id)fp8;
- (void)inputClientResignActive:(id)fp8;
- (void)inputClientEnabled:(id)fp8;
- (void)inputClientDisabled:(id)fp8;
- (BOOL)mouseDownOnCharacterIndex:(unsigned int)fp8 atCoordinate:(struct _NSPoint)fp12 withModifier:(unsigned int)fp20 client:(id)fp24;
- (BOOL)mouseDraggedOnCharacterIndex:(unsigned int)fp8 atCoordinate:(struct _NSPoint)fp12 withModifier:(unsigned int)fp20 client:(id)fp24;
- (void)mouseUpOnCharacterIndex:(unsigned int)fp8 atCoordinate:(struct _NSPoint)fp12 withModifier:(unsigned int)fp20 client:(id)fp24;

@end

@interface NSInputClientWrapper : NSObject
{
id _realClient;
id _lastString;
struct _NSRange _lastRange;
}

+ (void)invalidateConnectionsAsNecessary:(id)fp8;
+ (id)clientWrapperWithRealClient:(id)fp8;
+ (void)terminateForClient:(id)fp8;
- (void)resetState;
- (id)initWithRealClient:(id)fp8;
- (void)dealloc;
- (void)insertText:(id)fp8;
- (void)doCommandBySelector:(SEL)fp8;
- (void)setMarkedText:(id)fp8 selectedRange:(struct _NSRange)fp12;
- (void)unmarkText;
- (BOOL)hasMarkedText;
- (long)conversationIdentifier;
- (id)attributedSubstringFromRange:(struct _NSRange)fp8;
- (struct _NSRange)markedRange;
- (struct _NSRange)selectedRange;
- (struct _NSRect)firstRectForCharacterRange:(struct _NSRange)fp8;
- (unsigned int)characterIndexForPoint:(struct _NSPoint)fp8;
- (id)validAttributesForMarkedText;

@end

@interface NSInputServer (NSInputServerDOOptimization)
- (void)_inputClientChangedStatus:(id)fp8 inputClient:(id)fp12;
@end

@interface NSInputServer (NSInputServerCompatibility)
- (void)setActivated:(BOOL)fp8 sender:(id)fp12;
- (void)senderDidBecomeActive:(id)fp8;
- (void)senderDidResignActive:(id)fp8;
- (void)cancelInput:(id)fp8 conversation:(long)fp12;
@end

@interface NSView (NSInterfaceStyle)
- (int)interfaceStyle;
- (void)setInterfaceStyle:(int)fp8;
@end

@interface NSWindow (NSInterfaceStyle)
- (int)interfaceStyle;
- (void)setInterfaceStyle:(int)fp8;
@end

@interface NSResponder (NSInterfaceStyle)
- (int)interfaceStyle;
- (void)setInterfaceStyle:(int)fp8;
@end

@interface NSJPEGImageReader : NSIncrementalImageReader
{
void *_decompressor;
int _validRows;
}

- (void)dealloc;
- (void)extractHeaderInfo:(struct jpeg_decompress_struct *)fp8;
- (BOOL)loadImageHeader;
- (BOOL)loadImage:(char **)fp8;
- (BOOL)startProgressiveLoad;
- (BOOL)doProgressiveLoadHeader;
- (BOOL)doProgressiveLoadImage;
- (void)finishProgressiveLoad:(int)fp8;
- (int)validRows;
- (void)clearNewAvailableData;

@end

@interface NSJPEGImageWriter : NSImageWriter
{
}

- (id)representationWithImageProperties:(id)fp8 withProperties:(id)fp12;

@end

@interface NSKeyBindingAtom : NSObject
{
unsigned short key;
unsigned int mask;
id _binding;
}

- (id)initWithKey:(unsigned short)fp8 mask:(unsigned int)fp12 binding:(id)fp16;
- (void)dealloc;
- (void)setBinding:(id)fp8;
- (id)binding;
- (int)compare:(id)fp8;
- (BOOL)isEqual:(id)fp8;
- (id)description;

@end

@interface NSKeyBindingManager : NSObject
{
NSDictionary *_dict;
NSSortedArray *_atomArray;
NSKeyBindingAtom *_argBinding;
NSKeyBindingAtom *_quoteBinding;
NSKeyBindingManager *_nextManager;
int _reservedKeyBindingMgr1;
}

+ (id)sharedKeyBindingManager;
+ (void)interpretKeyEvents:(id)fp8 sender:(id)fp12;
+ (void)cancel;
+ (int)repeatCount;
+ (void)setRepeatCountForNextCommand:(int)fp8;
+ (void)_setKeyBindingMonitor:(id)fp8;
+ (id)_keyBindingMonitor;
- (id)initWithDictionary:(id)fp8;
- (void)dealloc;
- (id)dictionary;
- (void)setDictionary:(id)fp8;
- (void)setArgumentBinding:(id)fp8;
- (void)setQuoteBinding:(id)fp8;
- (void)_setNextKeyBindingManager:(id)fp8;
- (void)_monitorKeyBinding:(unsigned short)fp8 flags:(unsigned int)fp12;

@end

@interface NSKeyBindingManager (NSKeyBindingManager_MultiClients)
+ (id)keyBindingManagerForClient:(id)fp8;
+ (id)inputKeyBindingManager;
+ (id)draggingKeyBindingManager;
- (BOOL)interpretEventAsCommand:(id)fp8 forClient:(id)fp12;
- (void)interpretEventAsText:(id)fp8 forClient:(id)fp12;
- (void)flushTextForClient:(id)fp8;
- (void)interpretKeyEvents:(id)fp8 forClient:(id)fp12;
@end

@interface NSUnavailableLanguagePlaceholder : NSLanguage
{
}

+ (id)languageWithName:(id)fp8;
- (id)_initWithName:(id)fp8;
- (id)languageName;
- (id)formalName;
- (id)languageCode;

@end

@interface NSLanguage : NSObject
{
NSString *_name;
NSLanguageContext *_lang;
int _flags;
NSCollator *_collator0;
NSCollator *_collator1;
NSRulebook *_dblClick;
NSRulebook *_lineBreak;
NSRulebook *_wordMove;
}

+ (void)initialize;
+ (void)setDefaultLanguage:(id)fp8;
+ (void)setSystemLanguage:(id)fp8;
+ (id)defaultLanguage;
+ (id)systemLanguage;
+ (id)availableLanguageNames;
+ (id)languageWithName:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)_initWithName:(id)fp8;
- (void)_setLang:(id)fp8;
- (void)_setName:(id)fp8;
- (void)_setCaseConversionFlags;
- (unsigned int)caseConversionFlags;
- (id)collator:(BOOL)fp8;
- (id)doubleClickHandler;
- (id)lineBreakHandler;
- (id)wordMovementHandler;
- (id)languageName;
- (id)formalName;
- (id)languageCode;
- (id)dictionaryRepresentation;
- (id)languageContext;
- (id)longMonthNames;
- (id)shortMonthNames;
- (id)longWeekdayNames;
- (id)shortWeekdayNames;
- (id)decimalSeparator;
- (id)thousandsSeparator;
- (id)AMPMDesignation;

@end

@interface NSLayoutHole : NSObject
{
struct _NSRange characterRange;
BOOL isSoft;
unsigned int refCount;
}

+ (void)initialize;
+ (id)allocWithZone:(struct _NSZone *)fp8;
- (id)retain;
- (oneway void)release;
- (unsigned int)retainCount;
- (id)initWithCharacterRange:(struct _NSRange)fp8 isSoft:(BOOL)fp16;
- (id)init;
- (int)compare:(id)fp8;
- (id)description;

@end

@interface NSLayoutManager : NSObject
{
NSTextStorage *_textStorage;
NSGlyphGenerator *_glyphGenerator;
NSTypesetter *_typesetter;
NSMutableArray *_textContainers;
NSStorage *_containerUsedRects;
NSStorage *_glyphs;
NSRunStorage *_containerRuns;
NSRunStorage *_fragmentRuns;
NSRunStorage *_glyphLocations;
NSRunStorage *_glyphRotationRuns;
struct _NSRect _extraLineFragmentRect;
struct _NSRect _extraLineFragmentUsedRect;
NSTextContainer *_extraLineFragmentContainer;
NSSortedArray *_glyphHoles;
NSSortedArray *_layoutHoles;
struct __lmFlags _lmFlags;
id _delegate;
unsigned short _textViewResizeDisableStack;
unsigned short _displayInvalidationDisableStack;
struct _NSRange _deferredDisplayCharRange;
NSTextView *_firstTextView;
struct _NSRect *_cachedRectArray;
unsigned int _cachedRectArrayCapacity;
char *_glyphBuffer;
unsigned int _glyphBufferSize;
struct _NSRange _cachedLocationNominalGlyphRange;
unsigned int _cachedLocationGlyphIndex;
struct _NSPoint _cachedLocation;
struct _NSRange _cachedFontCharRange;
NSFont *_cachedFont;
unsigned int _firstUnlaidGlyphIndex;
unsigned int _firstUnlaidCharIndex;
NSBox *_rulerAccView;
id _rulerAccViewAlignmentButtons;
id _rulerAccViewSpacing;
NSTabWell *_rulerAccViewLeftTabWell;
NSTabWell *_rulerAccViewRightTabWell;
NSTabWell *_rulerAccViewCenterTabWell;
NSTabWell *_rulerAccViewDecimalTabWell;
id _rulerAccViewStyles;
id _rulerAccViewReserved;
struct _NSRange _newlyFilledGlyphRange;
void *_extraData;
}

+ (void)initialize;
+ (BOOL)_usesScreenFonts;
- (void)_commonInit;
- (id)init;
- (void)dealloc;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)textStorage;
- (void)setTextStorage:(id)fp8;
- (void)replaceTextStorage:(id)fp8;
- (id)typesetter;
- (void)setTypesetter:(id)fp8;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (id)textContainers;
- (struct _NSRange)_characterRangeCurrentlyInAndAfterContainer:(id)fp8;
- (void)addTextContainer:(id)fp8;
- (void)insertTextContainer:(id)fp8 atIndex:(unsigned int)fp12;
- (void)removeTextContainerAtIndex:(unsigned int)fp8;
- (void)textContainerChangedGeometry:(id)fp8;
- (void)textContainerChangedTextView:(id)fp8;
- (void)_invalidateGlyphsForCharacterRange:(struct _NSRange)fp8 editedCharacterRange:(struct _NSRange)fp16 changeInLength:(int)fp24 actualCharacterRange:(struct _NSRange *)fp28;
- (void)invalidateGlyphsForCharacterRange:(struct _NSRange)fp8 changeInLength:(int)fp16 actualCharacterRange:(struct _NSRange *)fp20;
- (void)invalidateLayoutForCharacterRange:(struct _NSRange)fp8 isSoft:(BOOL)fp16 actualCharacterRange:(struct _NSRange *)fp20;
- (void)_primitiveInvalidateDisplayForGlyphRange:(struct _NSRange)fp8;
- (void)invalidateDisplayForCharacterRange:(struct _NSRange)fp8;
- (void)invalidateDisplayForGlyphRange:(struct _NSRange)fp8;
- (void)_forceDisplayToBeCorrectForViewsWithUnlaidGlyphs;
- (void)textStorage:(id)fp8 edited:(unsigned int)fp12 range:(struct _NSRange)fp16 changeInLength:(int)fp24 invalidatedRange:(struct _NSRange)fp28;
- (void)setBackgroundLayoutEnabled:(BOOL)fp8;
- (BOOL)backgroundLayoutEnabled;
- (void)setShowsInvisibleCharacters:(BOOL)fp8;
- (BOOL)showsInvisibleCharacters;
- (void)setShowsControlCharacters:(BOOL)fp8;
- (BOOL)showsControlCharacters;
- (void)setHyphenationFactor:(float)fp8;
- (float)hyphenationFactor;
- (void)setDefaultAttachmentScaling:(int)fp8;
- (int)defaultAttachmentScaling;
- (void)insertGlyphs:(const unsigned int *)fp8 length:(unsigned int)fp12 forStartingGlyphAtIndex:(unsigned int)fp16 characterIndex:(unsigned int)fp20;
- (void)insertGlyph:(unsigned int)fp8 atGlyphIndex:(unsigned int)fp12 characterIndex:(unsigned int)fp16;
- (void)replaceGlyphAtIndex:(unsigned int)fp8 withGlyph:(unsigned int)fp12;
- (void)deleteGlyphsInRange:(struct _NSRange)fp8;
- (void)setCharacterIndex:(unsigned int)fp8 forGlyphAtIndex:(unsigned int)fp12;
- (unsigned int)numberOfGlyphs;
- (unsigned int)glyphAtIndex:(unsigned int)fp8;
- (unsigned int)glyphAtIndex:(unsigned int)fp8 isValidIndex:(char *)fp12;
- (BOOL)isValidGlyphIndex:(unsigned int)fp8;
- (unsigned int)getGlyphs:(unsigned int *)fp8 range:(struct _NSRange)fp12;
- (unsigned int)characterIndexForGlyphAtIndex:(unsigned int)fp8;
- (void)setIntAttribute:(int)fp8 value:(int)fp12 forGlyphAtIndex:(unsigned int)fp16;
- (int)intAttribute:(int)fp8 forGlyphAtIndex:(unsigned int)fp12;
- (void)setTextContainer:(id)fp8 forGlyphRange:(struct _NSRange)fp12;
- (void)setLineFragmentRect:(struct _NSRect)fp8 forGlyphRange:(struct _NSRange)fp24 usedRect:(struct _NSRect)fp32;
- (void)setExtraLineFragmentRect:(struct _NSRect)fp8 usedRect:(struct _NSRect)fp24 textContainer:(id)fp40;
- (void)setDrawsOutsideLineFragment:(BOOL)fp8 forGlyphAtIndex:(unsigned int)fp12;
- (void)setLocation:(struct _NSPoint)fp8 forStartOfGlyphRange:(struct _NSRange)fp16 coalesceRuns:(BOOL)fp24;
- (void)setLocation:(struct _NSPoint)fp8 forStartOfGlyphRange:(struct _NSRange)fp16;
- (void)setAttachmentSize:(struct _NSSize)fp8 forGlyphRange:(struct _NSRange)fp16;
- (struct _NSSize)attachmentSizeForGlyphAtIndex:(unsigned int)fp8;
- (void)setNotShownAttribute:(BOOL)fp8 forGlyphAtIndex:(unsigned int)fp12;
- (id)textContainerForGlyphAtIndex:(unsigned int)fp8 effectiveRange:(struct _NSRange *)fp12;
- (struct _NSRect)usedRectForTextContainer:(id)fp8;
- (struct _NSRect)lineFragmentRectForGlyphAtIndex:(unsigned int)fp8 effectiveRange:(struct _NSRange *)fp12;
- (struct _NSRect)lineFragmentUsedRectForGlyphAtIndex:(unsigned int)fp8 effectiveRange:(struct _NSRange *)fp12 allowLayout:(BOOL)fp16;
- (struct _NSRect)lineFragmentUsedRectForGlyphAtIndex:(unsigned int)fp8 effectiveRange:(struct _NSRange *)fp12;
- (struct _NSRect)extraLineFragmentRect;
- (struct _NSRect)extraLineFragmentUsedRect;
- (id)extraLineFragmentTextContainer;
- (BOOL)drawsOutsideLineFragmentForGlyphAtIndex:(unsigned int)fp8;
- (struct _NSPoint)locationForGlyphAtIndex:(unsigned int)fp8;
- (BOOL)notShownAttributeForGlyphAtIndex:(unsigned int)fp8;
- (struct _NSRange)glyphRangeForCharacterRange:(struct _NSRange)fp8 actualCharacterRange:(struct _NSRange *)fp16;
- (struct _NSRange)characterRangeForGlyphRange:(struct _NSRange)fp8 actualGlyphRange:(struct _NSRange *)fp16;
- (struct _NSRange)glyphRangeForTextContainer:(id)fp8;
- (struct _NSRange)rangeOfNominallySpacedGlyphsContainingIndex:(unsigned int)fp8;
- (struct _NSRect *)rectArrayForCharacterRange:(struct _NSRange)fp8 withinSelectedCharacterRange:(struct _NSRange)fp16 inTextContainer:(id)fp24 rectCount:(unsigned int *)fp28;
- (struct _NSRect *)rectArrayForGlyphRange:(struct _NSRange)fp8 withinSelectedGlyphRange:(struct _NSRange)fp16 inTextContainer:(id)fp24 rectCount:(unsigned int *)fp28;
- (struct _NSRect)boundingRectForGlyphRange:(struct _NSRange)fp8 inTextContainer:(id)fp16;
- (struct _NSRange)glyphRangeForBoundingRect:(struct _NSRect)fp8 inTextContainer:(id)fp24;
- (struct _NSRange)glyphRangeForBoundingRectWithoutAdditionalLayout:(struct _NSRect)fp8 inTextContainer:(id)fp24;
- (unsigned int)glyphIndexForPoint:(struct _NSPoint)fp8 inTextContainer:(id)fp16;
- (float)fractionOfDistanceThroughGlyphForPoint:(struct _NSPoint)fp8 inTextContainer:(id)fp16;
- (unsigned int)glyphIndexForPoint:(struct _NSPoint)fp8 inTextContainer:(id)fp16 fractionOfDistanceThroughGlyph:(float *)fp20;
- (unsigned int)firstUnlaidCharacterIndex;
- (unsigned int)firstUnlaidGlyphIndex;
- (void)getFirstUnlaidCharacterIndex:(unsigned int *)fp8 glyphIndex:(unsigned int *)fp12;
- (BOOL)usesScreenFonts;
- (void)setUsesScreenFonts:(BOOL)fp8;
- (id)substituteFontForFont:(id)fp8;
- (id)temporaryAttributesAtCharacterIndex:(unsigned int)fp8 effectiveRange:(struct _NSRange *)fp12;
- (void)setTemporaryAttributes:(id)fp8 forCharacterRange:(struct _NSRange)fp12;
- (void)addTemporaryAttributes:(id)fp8 forCharacterRange:(struct _NSRange)fp12;
- (void)removeTemporaryAttribute:(id)fp8 forCharacterRange:(struct _NSRange)fp12;
- (id)_temporaryAttribute:(id)fp8 atCharacterIndex:(unsigned int)fp12 effectiveRange:(struct _NSRange *)fp16;
- (id)_temporaryAttribute:(id)fp8 atCharacterIndex:(unsigned int)fp12 longestEffectiveRange:(struct _NSRange *)fp16 inRange:(struct _NSRange)fp20;
- (id)_temporaryAttributesAtCharacterIndex:(unsigned int)fp8 longestEffectiveRange:(struct _NSRange *)fp12 inRange:(struct _NSRange)fp16;
- (unsigned int)getGlyphsInRange:(struct _NSRange)fp8 glyphs:(unsigned int *)fp16 characterIndexes:(unsigned int *)fp20 glyphInscriptions:(int *)fp24 elasticBits:(char *)fp28;
- (unsigned int)getGlyphsInRange:(struct _NSRange)fp8 glyphs:(unsigned int *)fp16 characterIndexes:(unsigned int *)fp20 glyphInscriptions:(int *)fp24 elasticBits:(char *)fp28 bidiLevels:(char *)fp32;
- (int)typesetterBehavior;
- (void)setTypesetterBehavior:(int)fp8;
- (float)defaultLineHeightForFont:(id)fp8;
- (float)defaultBaselineOffsetForFont:(id)fp8;
- (id)attributedString;
- (unsigned int)layoutOptions;
- (id)description;

@end

@interface NSLayoutManager (NSPrivate)
+ (void)_doSomeBackgroundLayout;
- (id)_glyphGenerator;
- (void)_setGlyphGenerator:(id)fp8;
- (void)_mergeGlyphHoles;
- (void)_mergeLayoutHoles;
- (struct _NSRange)_extendedCharRangeForInvalidation:(struct _NSRange)fp8 editedCharRange:(struct _NSRange)fp16;
- (void)_adjustCharacterIndicesForRawGlyphRange:(struct _NSRange)fp8 byDelta:(int)fp16;
- (void)_fillGlyphHoleAtIndex:(unsigned int)fp8 desiredNumberOfCharacters:(unsigned int)fp12;
- (BOOL)_doOptimizedLayoutStartingAtGlyphIndex:(unsigned int)fp8 forSoftLayoutHole:(id)fp12 inTextContainer:(id)fp16 lineLimit:(unsigned int)fp20 nextGlyphIndex:(unsigned int *)fp24;
- (void)_doLayoutWithFullContainerStartingAtGlyphIndex:(unsigned int)fp8 nextGlyphIndex:(unsigned int *)fp12;
- (void)_fillLayoutHoleAtIndex:(unsigned int)fp8 desiredNumberOfLines:(unsigned int)fp12;
- (unsigned int)_smallEncodingGlyphIndexForCharacterIndex:(unsigned int)fp8 startOfRange:(BOOL)fp12 okToFillHoles:(BOOL)fp16;
- (unsigned int)_glyphIndexForCharacterIndex:(unsigned int)fp8 startOfRange:(BOOL)fp12 okToFillHoles:(BOOL)fp16;
- (struct _NSRange)_glyphRangeForCharacterRange:(struct _NSRange)fp8 actualCharacterRange:(struct _NSRange *)fp16 okToFillHoles:(BOOL)fp20;
- (void)_markSelfAsDirtyForBackgroundLayout:(id)fp8;
- (id)_containerDescription;
- (id)_lineFragmentDescription:(BOOL)fp8;
- (id)_glyphDescription;
- (void)_updateUsageForTextContainer:(id)fp8 addingUsedRect:(struct _NSRect)fp12;
- (void)_invalidateUsageForTextContainersInRange:(struct _NSRange)fp8;
- (void)_recalculateUsageForTextContainerAtIndex:(unsigned int)fp8;
- (struct _NSStoredContainerUsage *)_validatedStoredUsageForTextContainerAtIndex:(unsigned int)fp8;
- (void)_invalidateInsertionPoint;
- (void)_invalidateDisplayIfNeeded;
- (void)_resizeTextViewForTextContainer:(id)fp8;
- (void)_fixSelectionAfterChangeInCharacterRange:(struct _NSRange)fp8 changeInLength:(int)fp16;
- (void)_growCachedRectArrayToSize:(unsigned int)fp8;
- (struct _NSRect *)_rectArrayForRange:(struct _NSRange)fp8 withinSelectionRange:(struct _NSRange)fp16 rangeIsCharRange:(BOOL)fp24 singleRectOnly:(BOOL)fp28 fullLineRectsOnly:(BOOL)fp32 inTextContainer:(id)fp36 rectCount:(unsigned int *)fp40 rangeWithinContainer:(struct _NSRange *)fp44 glyphsDrawOutsideLines:(char *)fp48;
- (struct _NSRect)_boundingRectForGlyphRange:(struct _NSRange)fp8 inTextContainer:(id)fp16 fast:(BOOL)fp20 fullLineRectsOnly:(BOOL)fp24;
- (struct _NSRange)_firstPassGlyphRangeForBoundingRect:(struct _NSRect)fp8 inTextContainer:(id)fp24 hintGlyphRange:(struct _NSRange)fp28 okToFillHoles:(BOOL)fp36;
- (struct _NSRange)_firstPassGlyphRangeForBoundingRect:(struct _NSRect)fp8 inTextContainer:(id)fp24 okToFillHoles:(BOOL)fp28;
- (struct _NSRange)_glyphRangeForBoundingRect:(struct _NSRect)fp8 inTextContainer:(id)fp24 fast:(BOOL)fp28 okToFillHoles:(BOOL)fp32;
- (unsigned int)_indexOfFirstGlyphInTextContainer:(id)fp8 okToFillHoles:(BOOL)fp12;
- (void)_invalidateGlyphsForExtendedCharacterRange:(struct _NSRange)fp8 changeInLength:(int)fp16;
- (void)_invalidateLayoutForExtendedCharacterRange:(struct _NSRange)fp8 isSoft:(BOOL)fp16;
- (void)_firstTextViewChanged;
- (void)_drawBackgroundForGlyphRange:(struct _NSRange)fp8 atPoint:(struct _NSPoint)fp16 parameters:(struct _NSDrawingParameters *)fp24;
- (char *)_packedGlyphs:(int)fp8 range:(struct _NSRange)fp12 length:(unsigned int *)fp20;
- (void)_drawGlyphsForGlyphRange:(struct _NSRange)fp8 atPoint:(struct _NSPoint)fp16 parameters:(struct _NSDrawingParameters *)fp24;
- (void)_rulerAccViewUpdateStyles:(id)fp8;
- (id)_rulerAccView;
- (void)_doUserParagraphStyleLineHeight:(float)fp8 fixed:(BOOL)fp12;
- (void)controlTextDidEndEditing:(id)fp8;
- (void)_rulerAccViewIncrementLineHeightAction:(id)fp8;
- (void)_rulerAccViewFixedLineHeightAction:(id)fp8;
- (void)_rulerAccViewUpdatePullDown:(id)fp8;
- (void)_rulerAccViewPullDownAction:(id)fp8;
- (void)_doUserParagraphStyleLineHeightMultiple:(float)fp8 min:(float)fp12 max:(float)fp16 lineSpacing:(float)fp20 paragraphSpacingBefore:(float)fp24 after:(float)fp28 isFinal:(BOOL)fp32;
- (void)_doUserSetAttributes:(id)fp8 removeAttributes:(id)fp12;
- (void)_doUserSetAttributes:(id)fp8;
- (void)_rulerAccViewAlignmentAction:(id)fp8;
- (void)_rulerAccViewSpacingAction:(id)fp8;
- (void)_rulerAccViewStylesAction:(id)fp8;
- (void)_setRotation:(float)fp8 forGlyphAtIndex:(unsigned int)fp12;
- (float)_rotationForGlyphAtIndex:(unsigned int)fp8 effectiveRange:(struct _NSRange *)fp12;
- (unsigned int)_glyphAtIndex:(unsigned int)fp8 characterIndex:(unsigned int *)fp12 glyphInscription:(int *)fp16 isValidIndex:(char *)fp20;
- (BOOL)_needToFlushGlyph;
- (void)_setNeedToFlushGlyph:(BOOL)fp8;
- (void)_simpleInsertGlyph:(unsigned int)fp8 atGlyphIndex:(unsigned int)fp12 characterIndex:(unsigned int)fp16 elastic:(BOOL)fp20;
- (void)_simpleDeleteGlyphsInRange:(struct _NSRange)fp8;
- (void)_insertGlyphs:(unsigned int *)fp8 elasticAttributes:(char *)fp12 count:(unsigned int)fp16 atGlyphIndex:(unsigned int)fp20 characterIndex:(unsigned int)fp24;
- (void)_promoteGlyphStoreToFormat:(int)fp8;
- (id)_attachmentSizesRun;
- (struct _NSRect)_currentAttachmentRect;
- (unsigned int)_currentAttachmentIndex;
- (void)_setCurrentAttachmentRect:(struct _NSRect)fp8 index:(unsigned int)fp24;
- (void)_clearCurrentAttachmentSettings;
- (void)_clearTemporaryAttributes;
- (void)_clearTemporaryAttributesForCharacterRange:(struct _NSRange)fp8 changeInLength:(int)fp16;
- (void)_setIsInUILayoutMode:(BOOL)fp8;
- (BOOL)_isInUILayoutMode;
- (BOOL)usesFontLeading;
- (void)setUsesFontLeading:(BOOL)fp8;
- (void)_setHasSeenRightToLeft:(BOOL)fp8;
- (BOOL)_hasSeenRightToLeft;
- (BOOL)ignoresAntialiasThreshold;
- (void)setIgnoresAntialiasThreshold:(BOOL)fp8;
@end

@interface NSLayoutManager (NSTextViewSupport)
- (id)rulerMarkersForTextView:(id)fp8 paragraphStyle:(id)fp12 ruler:(id)fp16;
- (id)rulerAccessoryViewForTextView:(id)fp8 paragraphStyle:(id)fp12 ruler:(id)fp16 enabled:(BOOL)fp20;
- (BOOL)layoutManagerOwnsFirstResponderInWindow:(id)fp8;
- (id)firstTextView;
- (id)textViewForBeginningOfSelection;
- (void)drawBackgroundForGlyphRange:(struct _NSRange)fp8 atPoint:(struct _NSPoint)fp16;
- (void)drawGlyphsForGlyphRange:(struct _NSRange)fp8 atPoint:(struct _NSPoint)fp16;
- (void)showPackedGlyphs:(char *)fp8 length:(unsigned int)fp12 glyphRange:(struct _NSRange)fp16 atPoint:(struct _NSPoint)fp24 font:(id)fp32 color:(id)fp36 printingAdjustment:(struct _NSSize)fp40;
- (void)showAttachmentCell:(id)fp8 atPoint:(struct _NSPoint)fp12;
- (void)showAttachmentCell:(id)fp8 inRect:(struct _NSRect)fp12 characterIndex:(unsigned int)fp28;
- (void)drawSpellingUnderlineForGlyphRange:(struct _NSRange)fp8 spellingState:(int)fp16 inGlyphRange:(struct _NSRange)fp20 lineFragmentRect:(struct _NSRect)fp28 lineFragmentGlyphRange:(struct _NSRange)fp44 containerOrigin:(struct _NSPoint)fp52;
- (void)_drawLineForGlyphRange:(struct _NSRange)fp8 inContext:(struct CGContext *)fp16 from:(float)fp20 to:(float)fp24 at:(float)fp28 thickness:(float)fp32 lineOrigin:(struct _NSPoint)fp36 breakForDescenders:(BOOL)fp44;
- (void)_drawLineForGlyphRange:(struct _NSRange)fp8 type:(int)fp16 baselineOffset:(float)fp20 lineFragmentRect:(struct _NSRect)fp24 lineFragmentGlyphRange:(struct _NSRange)fp40 containerOrigin:(struct _NSPoint)fp48 isStrikethrough:(BOOL)fp56;
- (void)drawUnderlineForGlyphRange:(struct _NSRange)fp8 underlineType:(int)fp16 baselineOffset:(float)fp20 lineFragmentRect:(struct _NSRect)fp24 lineFragmentGlyphRange:(struct _NSRange)fp40 containerOrigin:(struct _NSPoint)fp48;
- (void)drawStrikethroughForGlyphRange:(struct _NSRange)fp8 strikethroughType:(int)fp16 baselineOffset:(float)fp20 lineFragmentRect:(struct _NSRect)fp24 lineFragmentGlyphRange:(struct _NSRange)fp40 containerOrigin:(struct _NSPoint)fp48;
- (void)_lineGlyphRange:(struct _NSRange)fp8 type:(int)fp16 lineFragmentRect:(struct _NSRect)fp20 lineFragmentGlyphRange:(struct _NSRange)fp36 containerOrigin:(struct _NSPoint)fp44 isStrikethrough:(BOOL)fp52;
- (void)strikethroughGlyphRange:(struct _NSRange)fp8 strikethroughType:(int)fp16 lineFragmentRect:(struct _NSRect)fp20 lineFragmentGlyphRange:(struct _NSRange)fp36 containerOrigin:(struct _NSPoint)fp44;
- (void)underlineGlyphRange:(struct _NSRange)fp8 underlineType:(int)fp16 lineFragmentRect:(struct _NSRect)fp20 lineFragmentGlyphRange:(struct _NSRange)fp36 containerOrigin:(struct _NSPoint)fp44;
@end

@interface NSLazyBrowserCell : NSBrowserCell
{
}

+ (void)initialize;
+ (id)allocWithZone:(struct _NSZone *)fp8;
+ (id)lazyBrowserCell;
- (id)init;
- (id)retain;
- (void)release;
- (id)autorelease;
- (void)dealloc;
- (void)setLoaded:(BOOL)fp8;
- (BOOL)isLoaded;
- (BOOL)_isLoaded;
- (BOOL)_checkLoaded:(id)fp8 rect:(const struct _NSRect *)fp12 highlight:(int)fp16;
- (void)highlight:(BOOL)fp8 withFrame:(struct _NSRect)fp12 inView:(id)fp28;
- (BOOL)isHighlighted;

@end

@interface NSLazyBrowserList : NSMutableArray
{
unsigned int count;
}

- (unsigned int)count;
- (id)objectAtIndex:(unsigned int)fp8;
- (void)addObject:(id)fp8;
- (void)replaceObjectAtIndex:(unsigned int)fp8 withObject:(id)fp12;
- (void)removeLastObject;
- (void)insertObject:(id)fp8 atIndex:(unsigned int)fp12;
- (void)removeObjectAtIndex:(unsigned int)fp8;
- (void)makeObjectsPerform:(SEL)fp8;
- (void)makeObjectsPerform:(SEL)fp8 withObject:(id)fp12;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSLineHeightFormatter : NSFormatter
{
}

- (id)stringForObjectValue:(id)fp8;
- (id)editingStringForObjectValue:(id)fp8;
- (BOOL)getObjectValue:(id *)fp8 forString:(id)fp12 errorDescription:(id *)fp16;

@end

@interface NSMatrix : NSControl
{
id _target;
SEL _action;
SEL _doubleAction;
SEL _errorAction;
id _delegate;
id _selectedCell;
int _selectedRow;
int _selectedCol;
int _numRows;
int _numCols;
struct _NSSize _cellSize;
struct _NSSize _intercell;
id _font;
id _protoCell;
id _cellClass;
NSColor *_backgroundColor;
void *_private;
NSMutableArray *_cells;
struct __MFlags _mFlags;
}

+ (void)initialize;
- (void)_allocAndInitPrivateIvars;
- (void)_setFont:(id)fp8 forCell:(id)fp12;
- (void)_setSelectedCell:(id)fp8 atRow:(int)fp12 column:(int)fp16;
- (void)_setSelectedCell:(id)fp8;
- (void)_maintainCell;
- (id)_initialize:(int)fp8:(int)fp12:(int)fp16;
- (id)initWithFrame:(struct _NSRect)fp8;
- (id)initWithFrame:(struct _NSRect)fp8 mode:(int)fp24 prototype:(id)fp28 numberOfRows:(int)fp32 numberOfColumns:(int)fp36;
- (id)initWithFrame:(struct _NSRect)fp8 mode:(int)fp24 cellClass:(Class)fp28 numberOfRows:(int)fp32 numberOfColumns:(int)fp36;
- (void)dealloc;
- (void)setCellClass:(Class)fp8;
- (Class)cellClass;
- (id)prototype;
- (void)setPrototype:(id)fp8;
- (BOOL)_containedInSingleColumnClipView;
- (void)_addCell:(id)fp8 atIndex:(int)fp12;
- (id)makeCellAtRow:(int)fp8 column:(int)fp12;
- (BOOL)isOpaque;
- (BOOL)isFlipped;
- (void)setMode:(int)fp8;
- (int)mode;
- (id)allowEmptySel:(BOOL)fp8;
- (void)setAllowsEmptySelection:(BOOL)fp8;
- (BOOL)allowsEmptySelection;
- (void)sendAction:(SEL)fp8 to:(id)fp12 forAllCells:(BOOL)fp16;
- (id)cells;
- (void)sortUsingFunction:(void *)fp8 context:(void *)fp12;
- (void)sortUsingSelector:(SEL)fp8;
- (id)selectedCell;
- (id)selectedCells;
- (int)selectedRow;
- (int)selectedColumn;
- (BOOL)_clearSelectedCell;
- (void)deselectSelectedCell;
- (void)deselectAllCells;
- (void)selectCellAtRow:(int)fp8 column:(int)fp12;
- (void)_selectAllNoRecurse:(id)fp8;
- (void)selectAll:(id)fp8;
- (void)selectCell:(id)fp8;
- (BOOL)selectCellWithTag:(int)fp8;
- (void)setSelectionByRect:(BOOL)fp8;
- (BOOL)isSelectionByRect;
- (struct _NSSize)cellSize;
- (void)setCellSize:(struct _NSSize)fp8;
- (struct _NSSize)intercellSpacing;
- (void)setIntercellSpacing:(struct _NSSize)fp8;
- (void)setEnabled:(BOOL)fp8;
- (void)setScrollable:(BOOL)fp8;
- (id)font;
- (void)setFont:(id)fp8;
- (void)setBackgroundColor:(id)fp8;
- (id)backgroundColor;
- (void)setDrawsBackground:(BOOL)fp8;
- (BOOL)drawsBackground;
- (void)setCellBackgroundColor:(id)fp8;
- (id)cellBackgroundColor;
- (void)setDrawsCellBackground:(BOOL)fp8;
- (BOOL)drawsCellBackground;
- (void)setState:(int)fp8 atRow:(int)fp12 column:(int)fp16;
- (void)getNumberOfRows:(int *)fp8 columns:(int *)fp12;
- (int)numberOfRows;
- (int)numberOfColumns;
- (id)cellAtRow:(int)fp8 column:(int)fp12;
- (struct _NSRect)cellFrameAtRow:(int)fp8 column:(int)fp12;
- (id)_getDrawingRow:(int *)fp8 andCol:(int *)fp12;
- (BOOL)_getRow:(int *)fp8 andCol:(int *)fp12 ofCell:(id)fp16 atRect:(const struct _NSRect *)fp20;
- (BOOL)getRow:(int *)fp8 column:(int *)fp12 ofCell:(id)fp16;
- (BOOL)getRow:(int *)fp8 column:(int *)fp12 forPoint:(struct _NSPoint)fp16;
- (void)_getRow:(int *)fp8 column:(int *)fp12 nearPoint:(struct _NSPoint)fp16;
- (void)renewRows:(int)fp8 columns:(int)fp12;
- (void)putCell:(id)fp8 atRow:(int)fp12 column:(int)fp16;
- (void)addRow;
- (void)addRowWithCells:(id)fp8;
- (void)insertRow:(int)fp8;
- (void)_needsDisplayfromRow:(int)fp8;
- (void)insertRow:(int)fp8 withCells:(id)fp12;
- (void)removeRow:(int)fp8;
- (void)addColumn;
- (void)addColumnWithCells:(id)fp8;
- (void)insertColumn:(int)fp8;
- (void)_needsDisplayfromColumn:(int)fp8;
- (void)insertColumn:(int)fp8 withCells:(id)fp12;
- (void)removeColumn:(int)fp8;
- (id)cellWithTag:(int)fp8;
- (void)setTag:(int)fp8 atRow:(int)fp12 column:(int)fp16;
- (id)target;
- (void)setTarget:(id)fp8;
- (void)setTarget:(id)fp8 atRow:(int)fp12 column:(int)fp16;
- (SEL)action;
- (void)setAction:(SEL)fp8;
- (SEL)doubleAction;
- (void)setDoubleAction:(SEL)fp8;
- (void)setAction:(SEL)fp8 atRow:(int)fp12 column:(int)fp16;
- (void)setTag:(int)fp8 target:(id)fp12 action:(SEL)fp16 atRow:(int)fp20 column:(int)fp24;
- (void)setAutosizesCells:(BOOL)fp8;
- (BOOL)autosizesCells;
- (BOOL)viewToolTipCanFadeOutDueToInactivity:(id)fp8;
- (void)view:(id)fp8 displayToolTipInWindowContentView:(id)fp12 userData:(id)fp16;
- (struct _NSRect)view:(id)fp8 frameForToolTip:(int)fp12 point:(struct _NSPoint)fp16 userData:(void *)fp24;
- (id)view:(id)fp8 stringForToolTip:(int)fp12 point:(struct _NSPoint)fp16 userData:(void *)fp24;
- (int)_addToolTipRect:(struct _NSRect)fp8 displayDelegate:(id)fp24 userData:(void *)fp28;
- (void)_addCellClipTipForCell:(id)fp8 cellRect:(struct _NSRect)fp12;
- (void)_addCellClipTipIfNecessaryForCell:(id)fp8 cellRect:(struct _NSRect)fp12;
- (void)_invalidateCellClipTips;
- (void)removeAllToolTips;
- (void)_removeAllCellClipTips;
- (void)_setWantsCellClipTips:(BOOL)fp8;
- (void)_computeAllCellClipTips;
- (void)_recomputeClipTipsIfNecessary;
- (id)_invalidateGStatesForTree;
- (void)scrollWheel:(id)fp8;
- (void)_delayedProcessAfterScrollWheel:(id)fp8;
- (void)viewDidEndLiveResize;
- (void)viewDidMoveToSuperview;
- (void)viewWillMoveToWindow:(id)fp8;
- (void)viewDidMoveToWindow;
- (void)setFrameOrigin:(struct _NSPoint)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)sizeToCells;
- (void)sizeToFit;
- (void)setValidateSize:(BOOL)fp8;
- (void)calcSize;
- (void)drawCell:(id)fp8;
- (void)_setNeedsDisplayInRow:(int)fp8 column:(int)fp12;
- (void)_setNeedsDisplayForSelectedCells;
- (void)updateCell:(id)fp8;
- (void)updateCellInside:(id)fp8;
- (void)drawCellInside:(id)fp8;
- (id)_drawCellAt:(int)fp8:(int)fp12 insideOnly:(BOOL)fp16;
- (void)drawCellAtRow:(int)fp8 column:(int)fp12;
- (id)_highlightCell:(BOOL)fp8 atRow:(int)fp12 column:(int)fp16 andDraw:(BOOL)fp20;
- (void)highlightCell:(BOOL)fp8 atRow:(int)fp12 column:(int)fp16;
- (void)_setMouseTrackingForCell:(id)fp8;
- (void)_clearMouseTrackingForCell:(id)fp8;
- (int)_firstSelectableRow;
- (BOOL)_selectFirstEnabledCell;
- (void)_setNeedsRedrawBeforeFirstLiveResizeCache:(BOOL)fp8;
- (BOOL)_needsRedrawBeforeFirstLiveResizeCache;
- (void)_setLiveResizeImageCacheingEnabled:(BOOL)fp8;
- (BOOL)_liveResizeImageCacheingEnabled;
- (BOOL)_wantsLiveResizeToUseCachedImage;
- (BOOL)_shouldAttemptIdleTimeDisposeOfLiveResizeCacheWithFrame:(struct _NSRect)fp8;
- (void)_liveResizeHighlightSelectionInClipRect:(struct _NSRect)fp8;
- (void)_drawRect:(struct _NSRect)fp8 liveResizeFill:(struct _NSRect)fp24:(struct _NSRect)fp40:(struct _NSRect)fp56:(struct _NSRect)fp72 cacheCoveredArea:(struct _NSRect)fp88;
- (void)drawRect:(struct _NSRect)fp8;
- (void)setAutoscroll:(BOOL)fp8;
- (BOOL)isAutoscroll;
- (id)_scrollRowToCenter:(int)fp8;
- (void)scrollCellToVisibleAtRow:(int)fp8 column:(int)fp12;
- (BOOL)_mouseHit:(struct _NSPoint)fp8 row:(int *)fp16 col:(int *)fp20;
- (BOOL)_loopHit:(struct _NSPoint)fp8 row:(int *)fp16 col:(int *)fp20;
- (BOOL)_radioHit:(struct _NSPoint)fp8 row:(int *)fp16 col:(int *)fp20;
- (id)_findFirstOne:(int *)fp8:(int *)fp12;
- (id)_deselectAllExcept:(int)fp8:(int)fp12 andDraw:(BOOL)fp16;
- (BOOL)_shouldShowFirstResponderForCell:(id)fp8;
- (void)setNextText:(id)fp8;
- (void)setPreviousText:(id)fp8;
- (id)nextText;
- (id)previousText;
- (BOOL)needsPanelToBecomeKey;
- (void)setRefusesFirstResponder:(BOOL)fp8;
- (BOOL)refusesFirstResponder;
- (BOOL)acceptsFirstResponder;
- (BOOL)tabKeyTraversesCells;
- (void)setTabKeyTraversesCells:(BOOL)fp8;
- (void)performClick:(id)fp8;
- (void)_setKeyCellNeedsDisplay;
- (void)_setKeyCellAtRow:(int)fp8 column:(int)fp12;
- (void)_clearKeyCell;
- (void)setKeyCell:(id)fp8;
- (id)keyCell;
- (void)_selectKeyCellAtRow:(int)fp8 column:(int)fp12;
- (BOOL)_selectNextCellKeyStartingAtRow:(int)fp8 column:(int)fp12;
- (BOOL)_makeNextCellKey;
- (void)_makeNextCellOrViewKey;
- (BOOL)_makePreviousCellKey;
- (void)_makePreviousCellOrViewKey;
- (void)_makeLeftCellKey;
- (void)_makeRightCellKey;
- (void)_makeUpCellKey;
- (void)_makeDownCellKey;
- (void)selectNextKeyView:(id)fp8;
- (void)selectPreviousKeyView:(id)fp8;
- (void)moveLeft:(id)fp8;
- (void)moveRight:(id)fp8;
- (void)moveUp:(id)fp8;
- (void)moveDown:(id)fp8;
- (BOOL)_changingSelectionWithKeyboard;
- (void)_changeSelectionWithEvent:(id)fp8;
- (void)_moveDownWithEvent:(id)fp8;
- (void)_moveUpWithEvent:(id)fp8;
- (void)_moveRightWithEvent:(id)fp8;
- (void)_moveLeftWithEvent:(id)fp8;
- (void)_setKeyCellFromTop;
- (void)_setKeyCellFromBottom;
- (void)_getBrowser:(id *)fp8 browserColumn:(int *)fp12;
- (id)_cellForRow:(int)fp8 browser:(id)fp12 browserColumn:(int)fp16;
- (int)_acceptableRowAboveRow:(int)fp8 minRow:(int)fp12;
- (int)_acceptableRowBelowRow:(int)fp8 maxRow:(int)fp12;
- (int)_acceptableRowBelowKeyInVisibleRect:(struct _NSRect)fp8;
- (int)_acceptableRowAboveKeyInVisibleRect:(struct _NSRect)fp8;
- (int)_acceptableRowBelowRow:(int)fp8 tryAbovePoint:(struct _NSPoint)fp12;
- (int)_acceptableRowAboveRow:(int)fp8 tryBelowPoint:(struct _NSPoint)fp12;
- (void)_keyboardModifyRow:(int)fp8 column:(int)fp12 withEvent:(id)fp16;
- (void)_pageDownWithEvent:(id)fp8;
- (void)_pageUpWithEvent:(id)fp8;
- (void)keyDown:(id)fp8;
- (void)_setAllowsNonVisibleCellsToBecomeFirstResponder:(BOOL)fp8;
- (BOOL)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (void)becomeKeyWindow;
- (void)resignKeyWindow;
- (BOOL)_hasEditableCell;
- (id)_makeEditable:(id)fp8:(int)fp12:(int)fp16:(id)fp20;
- (void)shiftModifySelection:(id)fp8;
- (void)altModifySelection:(id)fp8;
- (id)_mouseDownListmode:(id)fp8;
- (id)_mouseDownNonListmode:(id)fp8;
- (id)_mouseDownSimpleTrackingMode:(id)fp8;
- (void)setSelectionFrom:(int)fp8 to:(int)fp12 anchor:(int)fp16 highlight:(BOOL)fp20;
- (id)_setSelectionRange:(struct _SelectionAnchor *)fp8:(BOOL)fp12;
- (id)_selectRange:(struct _SelectionAnchor *)fp8:(struct _SelectionAnchor *)fp12:(BOOL)fp16:(BOOL)fp20;
- (id)_selectRectRange:(struct _SelectionAnchor *)fp8:(BOOL)fp12;
- (id)_selectRowRange:(struct _SelectionAnchor *)fp8:(BOOL)fp12;
- (id)_firstHighlightedCell;
- (int)_cellFurthestFrom:(int)fp8 andCol:(int)fp12;
- (id)_shiftDown:(id)fp8:(id)fp12:(int)fp16:(int)fp20;
- (id)_alternateDown:(id)fp8:(id)fp12:(int)fp16:(int)fp20;
- (id)_normalListmodeDown:(id)fp8:(id)fp12:(int)fp16:(int)fp20;
- (id)_mouseLoop:(id)fp8:(id)fp12:(int)fp16:(int)fp20:(struct _SelectionAnchor *)fp24:(BOOL)fp28;
- (int)mouseDownFlags;
- (void)mouseDown:(id)fp8;
- (BOOL)_keyEquivalentModifierMask:(unsigned int)fp8 matchesModifierFlags:(unsigned int)fp12;
- (BOOL)performKeyEquivalent:(id)fp8;
- (id)_recursiveFindDefaultButtonCell;
- (id)_setWindow:(id)fp8;
- (BOOL)performMnemonic:(id)fp8;
- (BOOL)sendAction:(SEL)fp8 to:(id)fp12;
- (BOOL)sendAction;
- (void)_sendDoubleActionToCellAt:(struct _NSPoint)fp8;
- (void)sendDoubleAction;
- (void)startSpeaking:(id)fp8;
- (void)stopSpeaking:(id)fp8;
- (BOOL)validateUserInterfaceItem:(id)fp8;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (BOOL)textView:(id)fp8 shouldChangeTextInRange:(struct _NSRange)fp12 replacementString:(id)fp20;
- (BOOL)textShouldEndEditing:(id)fp8;
- (BOOL)textShouldBeginEditing:(id)fp8;
- (void)textDidEndEditing:(id)fp8;
- (void)textDidBeginEditing:(id)fp8;
- (void)textDidChange:(id)fp8;
- (BOOL)textView:(id)fp8 doCommandBySelector:(SEL)fp12;
- (id)textView:(id)fp8 completions:(id)fp12 forPartialWordRange:(struct _NSRange)fp16 indexOfSelectedItem:(int *)fp24;
- (id)_selectTextOfCell:(id)fp8;
- (void)selectText:(id)fp8;
- (id)selectTextAtRow:(int)fp8 column:(int)fp12;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (void)setToolTip:(id)fp8 forCell:(id)fp12;
- (id)toolTipForCell:(id)fp8;
- (BOOL)_useSimpleTrackingMode;
- (void)_setUseSimpleTrackingMode:(BOOL)fp8;
- (void)_checkForSimpleTrackingMode;
- (void)_selectCellIfRequired;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)_doResetOfCursorRects:(BOOL)fp8 cellClipTips:(BOOL)fp12;
- (void)resetCursorRects;
- (void)helpRequested:(id)fp8;
- (id)menuForEvent:(id)fp8;
- (void)_rightMouseUpOrDown:(id)fp8;
- (void)_windowChangedKeyState;
- (BOOL)_wantsHeartBeat;
- (void)heartBeat:(CDAnonymousStruct10 *)fp8;

@end

@interface NSMatrix (NSMatrixObsolete)
- (SEL)errorAction;
- (void)setErrorAction:(SEL)fp8;
@end

@interface NSMatrix (NSMatrixAccessibility)
+ (BOOL)accessibilityIsSingleCelled;
- (id)accessibilityCurrentEditorForCell:(id)fp8;
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)_accessibilityCorrectlyParentedCells:(id)fp8;
- (void)_accessibilityLoadBrowserCellsAtRow:(int)fp8 count:(int)fp12;
- (id)accessibilityChildrenAttribute;
- (unsigned int)accessibilityIndexOfChild:(id)fp8;
- (unsigned int)accessibilityArrayAttributeCount:(id)fp8;
- (id)accessibilityArrayAttributeValues:(id)fp8 index:(unsigned int)fp12 maxCount:(unsigned int)fp16;
- (id)accessibilitySelectedChildrenAttribute;
- (BOOL)accessibilityIsSelectedChildrenAttributeSettable;
- (void)accessibilitySetSelectedChildrenAttribute:(id)fp8;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (id)accessibilityVisibleChildrenAttribute;
- (BOOL)accessibilityIsVisibleChildrenAttributeSettable;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (void)accessibilitySetFocus:(id)fp8 forChild:(id)fp12;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface NSMenu : NSObject
{
NSMenu *_supermenu;
NSString *_title;
void *_itemArray;
id _menuImpl;
struct __mFlags _mFlags;
NSString *_name;
}

+ (void)initialize;
+ (void)setMenuZone:(struct _NSZone *)fp8;
+ (struct _NSZone *)menuZone;
+ (id)_menusWithName:(id)fp8;
+ (void)_setContextMenuEvent:(id)fp8;
+ (id)_contextMenuEvent;
+ (void)_setContextMenuTarget:(id)fp8;
+ (id)_contextMenuTarget;
+ (void)popUpContextMenu:(id)fp8 withEvent:(id)fp12 forView:(id)fp16;
+ (void)popUpContextMenu:(id)fp8 withEvent:(id)fp12 forView:(id)fp16 withFont:(id)fp20;
+ (void)_setAppleMenuEnabled:(BOOL)fp8;
+ (void)setMenuBarVisible:(BOOL)fp8;
+ (BOOL)menuBarVisible;
+ (void)_saveTornOffMenus;
+ (void)_restoreTornOffMenus;
- (id)initWithTitle:(id)fp8;
- (id)init;
- (void)dealloc;
- (id)description;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)_finishedMakingConnections;
- (void)setTitle:(id)fp8;
- (id)title;
- (void)_setMenuName:(id)fp8;
- (id)_menuName;
- (void)setSupermenu:(id)fp8;
- (id)supermenu;
- (void)insertItem:(id)fp8 atIndex:(int)fp12;
- (void)addItem:(id)fp8;
- (id)insertItemWithTitle:(id)fp8 action:(SEL)fp12 keyEquivalent:(id)fp16 atIndex:(int)fp20;
- (id)addItemWithTitle:(id)fp8 action:(SEL)fp12 keyEquivalent:(id)fp16;
- (void)removeItemAtIndex:(int)fp8;
- (void)removeItem:(id)fp8;
- (void)setSubmenu:(id)fp8 forItem:(id)fp12;
- (id)itemArray;
- (int)numberOfItems;
- (int)indexOfItem:(id)fp8;
- (int)indexOfItemWithTitle:(id)fp8;
- (int)indexOfItemWithTag:(int)fp8;
- (int)indexOfItemWithRepresentedObject:(id)fp8;
- (int)indexOfItemWithSubmenu:(id)fp8;
- (int)indexOfItemWithTarget:(id)fp8 andAction:(SEL)fp12;
- (id)itemAtIndex:(int)fp8;
- (id)itemWithTitle:(id)fp8;
- (id)itemWithTag:(int)fp8;
- (void)_setSuppressAutoenabling:(BOOL)fp8;
- (void)setAutoenablesItems:(BOOL)fp8;
- (BOOL)autoenablesItems;
- (BOOL)_performKeyEquivalentWithDelegate:(id)fp8;
- (BOOL)performKeyEquivalent:(id)fp8;
- (void)_enableItems;
- (void)update;
- (void)setMenuChangedMessagesEnabled:(BOOL)fp8;
- (BOOL)menuChangedMessagesEnabled;
- (void)_menuChanged;
- (void)itemChanged:(id)fp8;
- (void)helpRequested:(id)fp8;
- (void)setMenuRepresentation:(id)fp8;
- (id)_menuImpl;
- (id)menuRepresentation;
- (void)setContextMenuRepresentation:(id)fp8;
- (id)_contextMenuImpl;
- (id)contextMenuRepresentation;
- (void)setTearOffMenuRepresentation:(id)fp8;
- (id)tearOffMenuRepresentation;
- (BOOL)isTornOff;
- (id)attachedMenu;
- (BOOL)isAttached;
- (void)sizeToFit;
- (struct _NSPoint)locationForSubmenu:(id)fp8;
- (void)performActionForItemAtIndex:(int)fp8;
- (id)_insertItemInSortedOrderWithTitle:(id)fp8 action:(SEL)fp12 keyEquivalent:(id)fp16;
- (BOOL)_isMenuMnemonicString:(id)fp8;
- (void)_popUpContextMenu:(id)fp8 withEvent:(id)fp12 forView:(id)fp16;
- (void)_popUpContextMenu:(id)fp8 withEvent:(id)fp12 forView:(id)fp16 withFont:(id)fp20;
- (void)_setEnabled:(BOOL)fp8;
- (BOOL)_isEnabled;
- (void)_updateEnabled;
- (void)_popUpMenuWithEvent:(id)fp8 forView:(id)fp12;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)_populate:(BOOL)fp8;
- (BOOL)_ownedByPopUp;
- (void)_setOwnedByPopUp:(id)fp8;
- (id)_owningPopUp;

@end

@interface NSMenu (NSCompatibilityCoding)
- (id)_responderInitWithCoder:(id)fp8;
- (id)_windowInitWithCoder:(id)fp8;
- (id)_panelInitWithCoder:(id)fp8;
- (id)_menuPanelInitWithCoder:(id)fp8;
@end

@interface NSMenu (NSKeyEquivalents)
+ (void)_addItem:(id)fp8 toTable:(struct _NSMapTable *)fp12;
+ (void)_recursivelyAddItemsInMenu:(id)fp8 toTable:(struct _NSMapTable *)fp12;
+ (void)_removeItem:(id)fp8 fromTable:(struct _NSMapTable *)fp12;
+ (void)_recursivelyRemoveItemsInMenu:(id)fp8 fromTable:(struct _NSMapTable *)fp12;
+ (void)_registerMenuForKeyEquivalentUniquing:(id)fp8;
+ (void)_unregisterMenuForKeyEquivalentUniquing:(id)fp8;
+ (void)_registerMenuItemForKeyEquivalentUniquing:(id)fp8;
+ (void)_unregisterMenuItemForKeyEquivalentUniquing:(id)fp8;
+ (BOOL)_canUseKeyEquivalentForMenuItem:(id)fp8;
@end

@interface NSMenuArrowView : NSView
{
NSMenuView *_menuView;
BOOL _isUp;
}

+ (void)initialize;
- (id)initWithFrame:(struct _NSRect)fp8 menuView:(id)fp24;
- (void)setIsUp:(BOOL)fp8;
- (BOOL)isFlipped;
- (BOOL)acceptsFirstResponder;
- (void)drawRect:(struct _NSRect)fp8;

@end

@interface NSMenuItem : NSObject
{
NSMenu *_menu;
NSString *_title;
NSString *_keyEquivalent;
unsigned int _keyEquivalentModifierMask;
unsigned int _mnemonicLocation;
int _state;
NSImage *_image;
NSImage *_onStateImage;
NSImage *_offStateImage;
NSImage *_mixedStateImage;
id _target;
SEL _action;
int _tag;
void *_extraData;
struct __miFlags _miFlags;
}

+ (void)initialize;
+ (void)setUsesUserKeyEquivalents:(BOOL)fp8;
+ (BOOL)usesUserKeyEquivalents;
+ (id)separatorItem;
+ (id)_userKeyEquivalentForTitle:(id)fp8;
+ (unsigned int)_userKeyEquivalentModifierMaskForTitle:(id)fp8;
- (id)initWithTitle:(id)fp8 action:(SEL)fp12 keyEquivalent:(id)fp16;
- (id)init;
- (void)dealloc;
- (id)description;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)setMenu:(id)fp8;
- (id)menu;
- (BOOL)hasSubmenu;
- (void)setSubmenu:(id)fp8;
- (void)_setSubmenu:(id)fp8;
- (id)submenu;
- (void)_setHidden:(BOOL)fp8;
- (void)_configureAsSeparatorItem;
- (BOOL)_isHidden;
- (void)setTitle:(id)fp8;
- (id)title;
- (void)setAttributedTitle:(id)fp8;
- (id)attributedTitle;
- (BOOL)isSeparatorItem;
- (void)setKeyEquivalent:(id)fp8;
- (id)keyEquivalent;
- (void)setKeyEquivalentModifierMask:(unsigned int)fp8;
- (unsigned int)keyEquivalentModifierMask;
- (BOOL)_shouldForceShiftModifierWithKeyEquivalent:(id)fp8;
- (void)_cacheUserKeyEquivalentInfo;
- (id)userKeyEquivalent;
- (unsigned int)userKeyEquivalentModifierMask;
- (id)_rawKeyEquivalent;
- (unsigned int)_rawKeyEquivalentModifierMask;
- (id)_desiredKeyEquivalent;
- (unsigned int)_desiredKeyEquivalentModifierMask;
- (void)setMnemonicLocation:(unsigned int)fp8;
- (unsigned int)mnemonicLocation;
- (id)mnemonic;
- (void)setTitleWithMnemonic:(id)fp8;
- (void)setImage:(id)fp8;
- (id)image;
- (struct OpaqueIconRef *)_iconRef;
- (void)_setIconRef:(struct OpaqueIconRef *)fp8;
- (void)setState:(int)fp8;
- (int)state;
- (void)setOnStateImage:(id)fp8;
- (id)onStateImage;
- (void)setOffStateImage:(id)fp8;
- (id)offStateImage;
- (void)setMixedStateImage:(id)fp8;
- (id)mixedStateImage;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)isEnabled;
- (void)setAlternate:(BOOL)fp8;
- (BOOL)isAlternate;
- (void)setIndentationLevel:(int)fp8;
- (int)indentationLevel;
- (void)setTarget:(id)fp8;
- (id)target;
- (void)setAction:(SEL)fp8;
- (SEL)action;
- (void)setTag:(int)fp8;
- (int)tag;
- (void)setRepresentedObject:(id)fp8;
- (id)representedObject;
- (void)setToolTip:(id)fp8;
- (id)toolTip;
- (void)_setChangedFlags:(int)fp8;
- (int)_changedFlags;
- (id)_win32TitleString;
- (id)selectedCell;
- (int)selectedTag;
- (int)selectedRow;
- (id)methodSignatureForSelector:(SEL)fp8;

@end

@interface NSMenuItem (NSCompatibilityCoding)
- (id)_cellInitWithCoder:(id)fp8;
- (id)_actionCellInitWithCoder:(id)fp8;
- (id)_buttonCellInitWithCoder:(id)fp8;
- (id)_menuCellInitWithCoder:(id)fp8;
- (void)_setControlView:(id)fp8;
- (id)controlView;
@end

@interface NSMenuItemCell : NSButtonCell
{
void *_extraData;
struct _NSSize _stateImageSize;
struct _NSSize _imageSize;
struct _NSSize _titleSize;
struct _NSSize _keyEquivalentSize;
struct _NSSize _size;
struct __micFlags _micFlags;
}

+ (void)initialize;
+ (BOOL)prefersTrackingUntilMouseUp;
+ (id)_dimmedImage:(id)fp8;
+ (id)_colorizedImage:(id)fp8 color:(id)fp12;
+ (void)_systemColorsChanged:(id)fp8;
- (id)initTextCell:(id)fp8;
- (id)init;
- (id)initImageCell:(id)fp8;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)_sharedTextCell;
- (void)setMenuView:(id)fp8;
- (id)menuView;
- (void)setMenuItem:(id)fp8;
- (id)menuItem;
- (id)_specialControlView;
- (void)setHighlighted:(BOOL)fp8;
- (BOOL)isHighlighted;
- (id)keyEquivalentAttributedString;
- (void)setNeedsSizing:(BOOL)fp8;
- (BOOL)needsSizing;
- (void)setNeedsDisplay:(BOOL)fp8;
- (BOOL)needsDisplay;
- (BOOL)_obeysHiddenBit;
- (struct _NSSize)_borderInset;
- (void)calcSize;
- (float)stateImageWidth;
- (float)imageWidth;
- (float)titleWidth;
- (float)keyEquivalentWidth;
- (short)_keyEquivalentGlyphWidth;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (struct _NSRect *)_rectsForBounds:(struct _NSRect)fp8;
- (void)_resetMeasuredCell;
- (struct _NSRect)stateImageRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)imageRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)titleRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)keyEquivalentRectForBounds:(struct _NSRect)fp8;
- (void)drawSeparatorItemWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawStateImageWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawImageWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawTitleWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (struct _NSRange)_characterRangeForPoint:(struct _NSPoint)fp8 inRect:(struct _NSRect)fp16 ofView:(id)fp32;
- (void)drawKeyEquivalentWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawBorderAndBackgroundWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (BOOL)isOpaque;
- (id)_highlightColor;
- (id)_highlightTextColor;
- (id)title;
- (unsigned int)mnemonicLocation;
- (int)tag;
- (id)representedObject;
- (id)image;
- (int)state;
- (void)setFont:(id)fp8;
- (void)setBordered:(BOOL)fp8;

@end

@interface NSMenuPanel : NSPanel
{
NSMenuView *_menuView;
}

+ (void)initialize;
- (id)initWithContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 backing:(int)fp28 defer:(BOOL)fp32;
- (id)menuView;
- (void)setMenuView:(id)fp8;
- (void)update;
- (BOOL)canBecomeKeyWindow;
- (BOOL)performKeyEquivalent:(id)fp8;
- (void)_shapeMenuPanel;
- (BOOL)hasShadow;
- (void)_commonAwake;
- (void)setFrame:(struct _NSRect)fp8 display:(BOOL)fp24;
- (BOOL)_setFrameFromString:(id)fp8 force:(BOOL)fp12;

@end

@interface NSMenuScrollView : NSView
{
NSMenuView *_menuView;
NSClipView *_clipView;
NSMenuArrowView *_upArrow;
NSMenuArrowView *_downArrow;
struct __msvFlags _msvFlags;
}

- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (void)setMenuView:(id)fp8;
- (id)menuView;
- (void)_recursiveDisplayRectIfNeededIgnoringOpacity:(struct _NSRect)fp8 isVisibleRect:(BOOL)fp24 rectIsVisibleRectForView:(id)fp28 topView:(BOOL)fp32;
- (void)tile;
- (void)scrollDown;
- (void)scrollUp;
- (BOOL)isFlipped;

@end

@interface NSMenuTemplate : NSObject
{
NSString *title;
struct _NSPoint location;
id view;
NSString *menuClassName;
id supermenu;
id realObject;
id extension;
BOOL isWindowsMenu;
BOOL isRequestMenu;
BOOL isFontMenu;
BOOL interfaceStyle;
char *cMenuClassName;
BOOL disabled;
id popupCell;
}

+ (void)initialize;
- (void)_setMenuClassName:(id)fp8;
- (id)menuClassName;
- (id)supermenu;
- (id)itemMatrix;
- (void)_setTitle:(id)fp8;
- (void)dealloc;
- (void)setSupermenu:(id)fp8;
- (void)_setPullsDown:(BOOL)fp8;
- (BOOL)_pullsDown;
- (id)nibInstantiate;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)_setEnabled:(BOOL)fp8;
- (BOOL)_isEnabled;
- (void)_setOwnedByPopUp:(id)fp8;

@end

@interface NSMenuView : NSView
{
NSMenu *_menu;
NSMutableArray *_cells;
float _stateImageWidth;
float _imageAndTitleWidth;
float _keyEquivalentWidth;
float *_extents;
unsigned int _extentsCapacity;
int _highlightedItemIndex;
void *_submenuPopupTimer;
NSMenuView *_attachedMenuView;
float _scrollArrowHeight;
float _maxWinHeight;
NSFont *_font;
struct _NSSize _minSize;
float _horizontalEdgePad;
void *trackingState;
id _scrollingView;
struct __mvFlags _mvFlags;
}

+ (void)initialize;
+ (float)menuBarHeight;
- (id)initWithFrame:(struct _NSRect)fp8;
- (id)initAsTearOff;
- (void)release;
- (void)dealloc;
- (BOOL)isFlipped;
- (BOOL)acceptsFirstResponder;
- (BOOL)_allowsContextMenus;
- (void)_createScrollViewAndWindow;
- (void)_createCells;
- (void)setMenu:(id)fp8;
- (id)menu;
- (void)_attachToSupermenuView:(id)fp8;
- (id)_attachedSupermenuView;
- (void)setHorizontal:(BOOL)fp8;
- (BOOL)isHorizontal;
- (void)setFont:(id)fp8;
- (id)font;
- (void)itemChanged:(id)fp8;
- (void)itemAdded:(id)fp8;
- (void)itemRemoved:(id)fp8;
- (void)_mainStatusChanged:(id)fp8;
- (void)update;
- (void)_menuChanged;
- (BOOL)isOpaque;
- (BOOL)_shouldDrawTwoBitGray;
- (void)drawRect:(struct _NSRect)fp8;
- (struct _NSRect)innerRect;
- (struct _NSRect)rectOfItemAtIndex:(int)fp8;
- (int)indexOfItemAtPoint:(struct _NSPoint)fp8;
- (struct _NSRect)_rectToDisplayForItemAtIndex:(int)fp8;
- (void)setNeedsDisplayForItemAtIndex:(int)fp8;
- (void)updateCell:(id)fp8;
- (void)updateCellInside:(id)fp8;
- (void)setHighlightedItemIndex:(int)fp8;
- (int)highlightedItemIndex;
- (void)detachSubmenu;
- (void)attachSubmenuForItemAtIndex:(int)fp8;
- (void)_resetAttachedMenuPositions;
- (void)performActionFlashForItemAtIndex:(int)fp8;
- (void)performActionWithHighlightingForItemAtIndex:(int)fp8;
- (void)_doAutoscrolling;
- (void)_updateTearOffPositionWithScreenPoint:(struct _NSPoint)fp8;
- (void)_startTearingOffWithScreenPoint:(struct _NSPoint)fp8;
- (void)_stopTearingOff;
- (void)_detectTrackingMenuChangeWithScreenPoint:(struct _NSPoint)fp8;
- (void)_updateAutoscrollingStateWithTrackingViewPoint:(struct _NSPoint)fp8 event:(id)fp16;
- (void)_updateSeekingSubmenuWithScreenPoint:(struct _NSPoint)fp8 viewPoint:(struct _NSPoint)fp16 event:(id)fp24;
- (void)_updateHighlightedItemWithTrackingViewPoint:(struct _NSPoint)fp8 event:(id)fp16;
- (void)_handleMouseUpWithEvent:(id)fp8;
- (void)_setMouseMovedEventsEnabled:(BOOL)fp8;
- (void)_invokeActionByKeyForCurrentlySelectedItem;
- (void)insertText:(id)fp8;
- (void)_selectNextItem;
- (void)_selectPreviousItem;
- (BOOL)_traverseToSupermenu;
- (BOOL)_traverseToSubmenu;
- (void)moveUp:(id)fp8;
- (void)moveDown:(id)fp8;
- (void)moveLeft:(id)fp8;
- (void)moveBackward:(id)fp8;
- (void)moveRight:(id)fp8;
- (void)moveForward:(id)fp8;
- (void)insertNewline:(id)fp8;
- (void)insertNewlineIgnoringFieldEditor:(id)fp8;
- (void)insertParagraphSeparator:(id)fp8;
- (void)cancel:(id)fp8;
- (BOOL)trackWithEvent:(id)fp8;
- (BOOL)mouseDownCanMoveWindow;
- (void)mouseDown:(id)fp8;
- (void)rightMouseDown:(id)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (BOOL)needsPanelToBecomeKey;
- (float)stateImageOffset;
- (float)stateImageWidth;
- (float)imageAndTitleOffset;
- (float)imageAndTitleWidth;
- (float)keyEquivalentOffset;
- (float)keyEquivalentWidth;
- (short)_keyEquivalentGlyphWidth;
- (void)_configureCell:(id)fp8 forItemAtIndex:(int)fp12;
- (void)setMenuItemCell:(id)fp8 forItemAtIndex:(int)fp12;
- (id)menuItemCellForItemAtIndex:(int)fp8;
- (id)cellForItemAtIndex:(int)fp8;
- (id)_makeCellForMenuItemAtIndex:(int)fp8;
- (void)setNeedsSizing:(BOOL)fp8;
- (BOOL)needsSizing;
- (struct _NSSize)_minSize;
- (void)_setMinSize:(struct _NSSize)fp8;
- (void)_calcScrollArrowHeight;
- (void)sizeToFit;
- (id)attachedMenu;
- (id)attachedMenuView;
- (BOOL)isAttached;
- (BOOL)isTornOff;
- (struct _NSPoint)locationForSubmenu:(id)fp8;
- (float)_scrollArrowHeight;
- (BOOL)_menuBarShouldSpanScreen;
- (void)_resizeWindowWithMaxHeight:(float)fp8;
- (BOOL)_setWindowFrameForPopUpAttachingToRect:(struct _NSRect)fp8 onScreen:(id)fp24 preferredEdge:(int)fp28 popUpSelectedItem:(int)fp32;
- (void)setWindowFrameForAttachingToRect:(struct _NSRect)fp8 onScreen:(id)fp24 preferredEdge:(int)fp28 popUpSelectedItem:(int)fp32;
- (void)_configureAsMainMenu;
- (float)horizontalEdgePadding;
- (void)setHorizontalEdgePadding:(float)fp8;
- (void)_popUpContextMenu:(id)fp8 withEvent:(id)fp12 forView:(id)fp16;
- (BOOL)_allowsTearOffs;
- (void)_setAllowsTearOffs:(BOOL)fp8;
- (id)_backgroundColor;
- (void)_setBackgroundColor:(id)fp8;

@end

@interface NSMenuView (NSWindowScrolling)
+ (int)_menuScrollAmount;
+ (BOOL)_scrollingMenusAreEnabled;
+ (int)_menuScrollingOffset;
+ (int)_finalScrollingOffsetFromEdge;
- (BOOL)_isScrolling;
- (id)_topMenuView;
- (void)_saveInitialMenuPosition;
- (void)_restoreInitialMenuPosition;
- (void)_beginScrolling;
- (void)_endScrolling;
- (int)_scrollingDirectionAndDeltas:(struct _NSPoint *)fp8;
- (void)_maybeScrollMenu;
@end

@interface NSMouseTracker : NSObject
{
struct _NSPoint _initialPoint;
struct _NSPoint _previousPoint;
struct _NSPoint _currentPoint;
NSEvent *_initialEvent;
NSEvent *_previousEvent;
NSEvent *_currentEvent;
NSView *_view;
id _delegate;
double _delay;
double _interval;
int _eventMask;
int _trackingConstraint;
unsigned int _trackingConstraintKeyMask;
struct __NSMouseTrackerDelegateRespondTo _delegateRespondTo;
void *_NSMouseTrackerReserved1;
void *_NSMouseTrackerReserved2;
void *_NSMouseTrackerReserved3;
}

- (id)init;
- (struct _NSPoint)_getLocalPoint:(id)fp8;
- (struct _NSPoint)_constrainPoint:(struct _NSPoint)fp8 withEvent:(id)fp16;
- (double)interval;
- (double)delay;
- (void)setPeriodicDelay:(double)fp8 interval:(double)fp16;
- (void)_setDelegate:(id)fp8;
- (void)setEventMask:(int)fp8;
- (int)eventMask;
- (void)_releaseEvents;
- (id)nextEventForWindow:(id)fp8;
- (BOOL)trackWithEvent:(id)fp8 inView:(id)fp12 withDelegate:(id)fp16;
- (BOOL)startTrackingWithEvent:(id)fp8 inView:(id)fp12 withDelegate:(id)fp16;
- (BOOL)continueTrackingWithEvent:(id)fp8;
- (BOOL)stopTrackingWithEvent:(id)fp8;
- (void)setTrackingConstraint:(int)fp8;
- (int)trackingConstraint;
- (void)setTrackingConstraintKeyMask:(unsigned int)fp8;
- (unsigned int)trackingConstraintKeyMask;
- (id)view;
- (id)delegate;
- (struct _NSPoint)currentPoint;
- (struct _NSPoint)previousPoint;
- (struct _NSPoint)initialPoint;
- (id)initialEvent;
- (id)previousEvent;

@end

@interface NSMovie : NSObject
{
void *_movie;
NSURL *_url;
struct {
unsigned int dispose:1;
unsigned int reserved:31;
} _movieFlags;
long _reserved1;
long _reserved2;
}

+ (void)initialize;
+ (id)movieUnfilteredFileTypes;
+ (id)movieUnfilteredPasteboardTypes;
+ (BOOL)canInitWithPasteboard:(id)fp8;
- (id)initWithMovie:(void *)fp8;
- (id)initWithURL:(id)fp8 byReference:(BOOL)fp12;
- (id)initWithPasteboard:(id)fp8;
- (void)dealloc;
- (void *)QTMovie;
- (id)URL;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSMovieView : NSView
{
NSMovie *_fMovie;
float _fRate;
float _fVolume;
struct __MVFlags _fFlags;
void *_fAuxData;
unsigned long _fReserved1;
unsigned long _fReserved2;
unsigned long _fReserved3;
}

+ (void)initialize;
+ (void)_setupIdle;
+ (void)_idleMovies;
+ (id)defaultMenu;
- (void)_createAuxData;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (BOOL)loadMovieFromURL:(id)fp8;
- (BOOL)loadMovieFromFile:(id)fp8;
- (void)_createMovieController;
- (void)_disposeMovieController;
- (void)setMovie:(id)fp8;
- (id)movie;
- (void *)movieController;
- (struct _NSRect)movieRect;
- (void)start:(id)fp8;
- (BOOL)isPlaying;
- (void)stop:(id)fp8;
- (void)gotoPosterFrame:(id)fp8;
- (void)gotoBeginning:(id)fp8;
- (void)gotoEnd:(id)fp8;
- (void)stepForward:(id)fp8;
- (void)stepBack:(id)fp8;
- (void)setRate:(float)fp8;
- (float)rate;
- (void)setVolume:(float)fp8;
- (float)volume;
- (void)setMuted:(BOOL)fp8;
- (BOOL)isMuted;
- (void)setLoopMode:(int)fp8;
- (int)loopMode;
- (void)setPlaysSelectionOnly:(BOOL)fp8;
- (BOOL)playsSelectionOnly;
- (void)setPlaysEveryFrame:(BOOL)fp8;
- (BOOL)playsEveryFrame;
- (void)showController:(BOOL)fp8 adjustingSize:(BOOL)fp12;
- (BOOL)isControllerVisible;
- (void)resizeWithMagnification:(float)fp8;
- (struct _NSSize)sizeForMagnification:(float)fp8;
- (void)_setAlwaysIdle:(BOOL)fp8;
- (void)_registerForMovieIdle;
- (void)_unregisterForMovieIdle;
- (void)_movieIdle;
- (void)setEditable:(BOOL)fp8;
- (BOOL)isEditable;
- (BOOL)validateUserInterfaceItem:(id)fp8;
- (BOOL)validateMenuItem:(id)fp8;
- (BOOL)_isEmptyMovie;
- (void)_updateForEditedMovie:(BOOL)fp8;
- (void)cut:(id)fp8;
- (void)copy:(id)fp8;
- (void)paste:(id)fp8;
- (void)clear:(id)fp8;
- (void)delete:(id)fp8;
- (void)selectAll:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)_invalidateGStatesForTree;
- (void)viewWillStartLiveResize;
- (void)viewDidEndLiveResize;
- (void)viewWillMoveToWindow:(id)fp8;
- (void)viewDidMoveToWindow;
- (void)removeFromSuperview;
- (void)_windowWillGoAway:(id)fp8;
- (void)_windowDidBecomeVisible:(id)fp8;
- (void)_windowChangedNumber:(id)fp8;
- (void)_windowChangedHilite:(id)fp8;
- (void)_adjustMovieToView;
- (unsigned int)draggingEntered:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (void)concludeDragOperation:(id)fp8;
- (BOOL)acceptsFirstResponder;
- (BOOL)isOpaque;
- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)mouseDownCanMoveWindow;
- (void)mouseDown:(id)fp8;
- (void)keyDown:(id)fp8;
- (void)keyUp:(id)fp8;
- (void)_doEditOperation:(int)fp8;
- (void)_restoreMovieEditState:(id)fp8;
- (void)_setDrawBackground:(BOOL)fp8;
- (void)_setDrawingBackground:(BOOL)fp8;
- (BOOL)_deferredAdjustMovie;
- (BOOL)_deferredWindowChanged;
- (BOOL)_isAutoPlay;

@end

@interface _NSMovieUndoOperation : NSObject
{
id _target;
SEL _selector;
int _op;
struct MovieStateRecord **_editState;
}

- (id)initWithMovieView:(id)fp8 selector:(SEL)fp12 operation:(int)fp16;
- (void)registerUndoOperation;
- (void)undoEdit;
- (void)dealloc;

@end

@interface _NSQDCGSContext : NSCGSContext
{
struct OpaqueGrafPtr *_qdPort;
NSFocusStack *_focusStack;
}

- (id)initWithCurrentQDPort;
- (void)clipToQDRegion:(struct OpaqueRgnHandle *)fp8;
- (void)dealloc;
- (void *)focusStack;
- (BOOL)isDrawingToScreen;

@end

@interface NSMovieView (NSMovieViewAccessibility)
- (BOOL)accessibilityIsIgnored;
@end

@interface NSMutableAttributedString (NSMutableAttributedStringKitAdditions)
- (void)fixAttributesInRange:(struct _NSRange)fp8;
- (void)fixFontAttributeInRange:(struct _NSRange)fp8;
- (void)fixParagraphStyleAttributeInRange:(struct _NSRange)fp8;
- (void)fixAttachmentAttributeInRange:(struct _NSRange)fp8;
- (void)_fixGlyphInfo:(id)fp8 inRange:(struct _NSRange)fp12;
- (void)fixGlyphInfoAttributeInRange:(struct _NSRange)fp8;
- (void)applyFontTraits:(unsigned int)fp8 range:(struct _NSRange)fp12;
- (void)setAlignment:(int)fp8 range:(struct _NSRange)fp12;
- (void)_changeIntAttribute:(id)fp8 by:(int)fp12 range:(struct _NSRange)fp16;
- (void)superscriptRange:(struct _NSRange)fp8;
- (void)subscriptRange:(struct _NSRange)fp8;
- (void)unscriptRange:(struct _NSRange)fp8;
- (BOOL)readFromURL:(id)fp8 options:(id)fp12 documentAttributes:(id *)fp16;
- (BOOL)readFromData:(id)fp8 options:(id)fp12 documentAttributes:(id *)fp16;
@end

@interface NSObject (NSSetVersionHacks)
+ (void)_kitNewObjectSetVersion:(int)fp8;
@end

@interface NSNextStepFrame : NSView
{
NSTextFieldCell *titleCell;
NSButton *closeButton;
NSButton *minimizeButton;
unsigned int styleMask;
struct _frFlags fvFlags;
struct _NSSize sizingParams;
}

+ (void)initialize;
+ (float)minFrameWidthWithTitle:(id)fp8 styleMask:(unsigned int)fp12;
+ (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
+ (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
+ (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
+ (struct _NSSize)minContentSizeForMinFrameSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
+ (unsigned int)_validateStyleMask:(unsigned int)fp8;
- (struct _NSRect)dragRectForFrameRect:(struct _NSRect)fp8;
- (BOOL)_canHaveToolbar;
- (BOOL)_toolbarIsInTransition;
- (BOOL)_toolbarIsShown;
- (BOOL)_toolbarIsHidden;
- (void)_showToolbarWithAnimation:(BOOL)fp8;
- (void)_hideToolbarWithAnimation:(BOOL)fp8;
- (float)_distanceFromToolbarBaseToTitlebar;
- (void)setRepresentedFilename:(id)fp8;
- (id)initWithFrame:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 owner:(id)fp28;
- (void)shapeWindow;
- (BOOL)isOpaque;
- (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
- (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
- (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
- (id)_newButtonOfClass:(Class)fp8 withNormalIconNamed:(id)fp12 alternateIconNamed:(id)fp16 action:(SEL)fp20;
- (void)_updateButtons;
- (id)closeButton;
- (id)minimizeButton;
- (id)zoomButton;
- (id)doIconify:(id)fp8;
- (void)dealloc;
- (void)_setTitleNeedsDisplay;
- (void)_setFrameNeedsDisplay:(BOOL)fp8;
- (void)setTitle:(id)fp8;
- (void)setTitle:(id)fp8 andDefeatWrap:(BOOL)fp12;
- (id)doClose:(id)fp8;
- (int)resizeFlags;
- (id)_resize:(id)fp8;
- (id)titleFont;
- (id)title;
- (id)setCloseTarget:(id)fp8;
- (id)setCloseAction:(SEL)fp8;
- (BOOL)_optimizedRectFill:(const struct _NSRect *)fp8 gray:(float)fp12;
- (BOOL)_drawOptimizedRectFills;
- (struct _NSRect)titleRect;
- (struct _NSRect)innerTitleRect;
- (id)contentFill;
- (void)drawRect:(struct _NSRect)fp8;
- (void)_recursiveDisplayRectIfNeededIgnoringOpacity:(struct _NSRect)fp8 isVisibleRect:(BOOL)fp24 rectIsVisibleRectForView:(id)fp28 topView:(BOOL)fp32;
- (void)_drawFrame:(struct _NSRect)fp8;
- (void)_drawMiniWindow:(struct _NSRect)fp8;
- (struct _NSRect)titlebarRect;
- (void)_drawMenuFrame:(struct _NSRect)fp8;
- (float)_titleWidth;
- (id)_calcTextRect:(struct _NSRect *)fp8;
- (void)_drawTitleStringIn:(struct _NSRect)fp8 withColor:(float)fp24;
- (void)_drawTitledFrame:(struct _NSRect)fp8;
- (int)_inResize:(const struct _NSPoint *)fp8;
- (id)hitTest:(struct _NSPoint)fp8;
- (void)mouseDown:(id)fp8;
- (void)mouseUp:(id)fp8;
- (void)rightMouseDown:(id)fp8;
- (void)rightMouseUp:(id)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)_clearDragMargins;
- (void)_resetDragMargins;
- (void)tile;
- (void)setFrameOrigin:(struct _NSPoint)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (void)_setCloseEnabled:(BOOL)fp8;
- (void)_setUtilityWindow:(BOOL)fp8;
- (void)_setNonactivatingPanel:(BOOL)fp8;
- (void)setDocumentEdited:(BOOL)fp8;
- (BOOL)worksWhenModal;
- (void)helpRequested:(id)fp8;
- (void)setResizeIncrements:(struct _NSSize)fp8;
- (struct _NSSize)resizeIncrements;
- (void)setAspectRatio:(struct _NSSize)fp8;
- (struct _NSSize)aspectRatio;
- (unsigned int)styleMask;
- (void)_clearPressedButtons;

@end

@interface NSDocumentDragButton : NSButton
{
struct __ddbFlags _ddbFlags;
NSString *filename;
NSEvent *mouseDownEvent;
}

- (BOOL)shouldDelayWindowOrderingForEvent:(id)fp8;
- (void)setRepresentedFilename:(id)fp8;
- (id)representedFilename;
- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)fp8;
- (void)_dragFile:(id)fp8 fromRect:(struct _NSRect)fp12 slideBack:(BOOL)fp28 event:(id)fp32 showAsModified:(BOOL)fp36;
- (void)_showDragError:(int)fp8 forFilename:(id)fp12;
- (void)mouseUp:(id)fp8;
- (void)mouseDown:(id)fp8;
- (void)mouseDragged:(id)fp8;
- (void)dealloc;

@end

@interface NSNibConnector : NSObject
{
id _source;
id _destination;
NSString *_label;
}

+ (void)initialize;
- (id)init;
- (void)dealloc;
- (id)source;
- (void)setSource:(id)fp8;
- (id)destination;
- (void)setDestination:(id)fp8;
- (id)label;
- (void)setLabel:(id)fp8;
- (void)replaceObject:(id)fp8 withObject:(id)fp12;
- (void)establishConnection;
- (void)instantiateWithObjectInstantiator:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSNibControlConnector : NSNibConnector
{
}

+ (void)initialize;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)establishConnection;

@end

@interface NSBundle (NSNibLoading)
+ (BOOL)loadNibNamed:(id)fp8 owner:(id)fp12;
+ (BOOL)_loadNibFile:(id)fp8 nameTable:(id)fp12 withZone:(struct _NSZone *)fp16 ownerBundle:(id)fp20;
+ (BOOL)loadNibFile:(id)fp8 externalNameTable:(id)fp12 withZone:(struct _NSZone *)fp16;
- (BOOL)loadNibFile:(id)fp8 externalNameTable:(id)fp12 withZone:(struct _NSZone *)fp16;
@end

@interface NSNibOutletConnector : NSNibConnector
{
}

+ (void)initialize;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)establishConnection;

@end

@interface Object (NSSetVersionHacks)
+ (void)_kitOldObjectSetVersion:(int)fp8;
@end

@interface NSOpenGLContext : NSObject
{
NSView *_view;
struct _CGLContextObject *_contextAuxiliary;
}

+ (id)currentContext;
+ (void)clearCurrentContext;
- (id)initWithFormat:(id)fp8 shareContext:(id)fp12;
- (void)dealloc;
- (void)makeCurrentContext;
- (void)copyAttributesFromContext:(id)fp8 withMask:(unsigned long)fp12;
- (void)flushBuffer;
- (void)clearDrawable;
- (void)update;
- (void)setView:(id)fp8;
- (void)_surfaceWillGoAway:(id)fp8;
- (void)_surfaceDidComeBack:(id)fp8;
- (void)setOffScreen:(void *)fp8 width:(long)fp12 height:(long)fp16 rowbytes:(long)fp20;
- (void)setFullScreen;
- (id)view;
- (void)setValues:(const int *)fp8 forParameter:(int)fp12;
- (void)getValues:(long *)fp8 forParameter:(int)fp12;
- (void)setCurrentVirtualScreen:(int)fp8;
- (int)currentVirtualScreen;
- (void)createTexture:(unsigned long)fp8 fromView:(id)fp12 internalFormat:(unsigned long)fp16;
- (void *)CGLContextObj;
- (void)setPixelBuffer:(id)fp8 cubeMapFace:(unsigned long)fp12 mipMapLevel:(long)fp16 currentVirtualScreen:(int)fp20;
- (id)pixelBuffer;
- (unsigned long)pixelBufferCubeMapFace;
- (long)pixelBufferMipMapLevel;
- (void)setTextureImageToPixelBuffer:(id)fp8 colorBuffer:(unsigned long)fp12;

@end

@interface NSOpenGLContext (NSOpenGL_Private)
- (struct _CGLContextObject *)_contextAuxiliary;
@end

@interface NSOpenGLPixelFormat : NSObject
{
struct _CGLPixelFormatObject *_pixelFormatAuxiliary;
NSData *_pixelAttributes;
unsigned long _reserved1;
unsigned long _reserved2;
unsigned long _reserved3;
}

+ (void)initialize;
- (id)initWithAttributes:(int *)fp8;
- (id)initWithData:(id)fp8;
- (id)attributes;
- (void)setAttributes:(id)fp8;
- (void)dealloc;
- (void)getValues:(long *)fp8 forAttribute:(int)fp12 forVirtualScreen:(int)fp16;
- (int)numberOfVirtualScreens;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void *)CGLPixelFormatObj;

@end

@interface NSOpenGLPixelFormat (NSOpenGL_Private)
- (struct _CGLPixelFormatObject *)_pixelFormatAuxiliary;
@end

@interface NSOpenGLView : NSView
{
NSOpenGLContext *_openGLContext;
NSOpenGLPixelFormat *_pixelFormat;
unsigned long _reserved1;
unsigned long _reserved2;
unsigned long _reserved3;
}

+ (void)initialize;
+ (id)defaultPixelFormat;
- (id)initWithFrame:(struct _NSRect)fp8 pixelFormat:(id)fp24;
- (void)dealloc;
- (void)setOpenGLContext:(id)fp8;
- (id)openGLContext;
- (void)clearGLContext;
- (BOOL)isOpaque;
- (void)setPixelFormat:(id)fp8;
- (id)pixelFormat;
- (void)lockFocus;
- (void)prepareOpenGL;
- (void)reshape;
- (void)update;
- (id)_invalidateGStatesForTree;
- (void)_surfaceNeedsUpdate:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSOutlineView : NSTableView
{
int _numberOfRows;
void *_Rows;
void *_REItemCache;
void *_REChildCache;
int _REItemCount;
int _unused1;
NSTableColumn *_outlineTableColumn;
BOOL _initedRows;
BOOL _indentationMarkerInCell;
int _indentationPerLevel;
NSButtonCell *_outlineCell;
struct _NSRect _trackingOutlineFrame;
NSMouseTracker *_tracker;
id _NC;
struct __OvFlags _ovFlags;
id _ovLock;
long *_indentArray;
long _originalWidth;
id _expandSet;
id _expandSetToExpandItemsInto;
long _indentArraySize;
NSButtonCell *_trackingOutlineCell;
int _trackingRow;
void *_ovReserved;
}

+ (void)initialize;
+ (void)_initializeRegisteredDefaults;
+ (BOOL)_shouldAllowAutoExpandItemsDuringDragsDefault;
+ (BOOL)_shouldAllowAutoCollapseItemsDuringDragsDefault;
+ (BOOL)_shouldRequireAutoCollapseOutlineAfterDropsDefault;
- (void)_commonInit;
- (void)_goneMultiThreaded;
- (void)_goneSingleThreaded;
- (id)init;
- (id)initWithFrame:(struct _NSRect)fp8;
- (id)initWithCoder:(id)fp8;
- (void)dealloc;
- (void)encodeWithCoder:(id)fp8;
- (BOOL)isExpandable:(id)fp8;
- (void)expandItem:(id)fp8;
- (void)expandItem:(id)fp8 expandChildren:(BOOL)fp12;
- (BOOL)_shouldContinueExpandAtLevel:(int)fp8 beganAtLevel:(int)fp12;
- (struct _RowEntry *)_expandItemEntry:(struct _RowEntry *)fp8 expandChildren:(BOOL)fp12 startLevel:(int)fp16;
- (struct _RowEntry *)_expandItemEntry:(struct _RowEntry *)fp8 expandChildren:(BOOL)fp12;
- (void)collapseItem:(id)fp8;
- (void)collapseItem:(id)fp8 collapseChildren:(BOOL)fp12;
- (void)_collapseItem:(id)fp8 collapseChildren:(BOOL)fp12 clearExpandState:(BOOL)fp16;
- (struct _RowEntry *)_collapseItemEntry:(struct _RowEntry *)fp8 collapseChildren:(BOOL)fp12 clearExpandState:(BOOL)fp16 recursionLevel:(int)fp20;
- (void)_endEditingIfEditedCellIsChildOfItemEntry:(struct _RowEntry *)fp8;
- (void)_adjustEditedCellLocation;
- (void)_scrollFieldEditorToVisible:(id)fp8;
- (void)_adjustSelectionForItemEntry:(struct _RowEntry *)fp8 numberOfRows:(int)fp12 adjustFieldEditorIfNecessary:(BOOL)fp16;
- (void)_calcOutlineColumnWidth;
- (void)_resizeOutlineColumn;
- (void)reloadData;
- (void)reloadItem:(id)fp8;
- (void)reloadItem:(id)fp8 reloadChildren:(BOOL)fp12;
- (void)setIndentationPerLevel:(float)fp8;
- (float)indentationPerLevel;
- (void)setIndentationMarkerFollowsCell:(BOOL)fp8;
- (BOOL)indentationMarkerFollowsCell;
- (void)setOutlineTableColumn:(id)fp8;
- (id)outlineTableColumn;
- (void)removeTableColumn:(id)fp8;
- (void)setAutoResizesOutlineColumn:(BOOL)fp8;
- (BOOL)autoResizesOutlineColumn;
- (void)setAutoresizesOutlineColumn:(BOOL)fp8;
- (BOOL)autoresizesOutlineColumn;
- (void)_postItemWillExpandNotification:(id)fp8;
- (void)_postItemWillCollapseNotification:(id)fp8;
- (void)_postItemDidExpandNotification:(id)fp8;
- (void)_postItemDidCollapseNotification:(id)fp8;
- (void)setDataSource:(id)fp8;
- (void)setDelegate:(id)fp8;
- (int)numberOfRows;
- (void)_autoscrollForDraggingInfo:(id)fp8 timeDelta:(double)fp12;
- (void)mouseDown:(id)fp8;
- (void)_drawOutlineCell:(id)fp8 withFrame:(struct _NSRect)fp12 inView:(id)fp28;
- (void)_highlightOutlineCell:(id)fp8 highlight:(BOOL)fp12 withFrame:(struct _NSRect)fp16 inView:(id)fp32;
- (void)_doUserExpandOrCollapseOfItem:(id)fp8 isExpand:(BOOL)fp12 optionKeyWasDown:(BOOL)fp16;
- (void)_expandItemsWithItemEntries:(struct __CFArray *)fp8 expandChildren:(BOOL)fp12;
- (void)_collapseItemsWithItemEntries:(struct __CFArray *)fp8 collapseChildren:(BOOL)fp12;
- (struct __CFArray *)_createSelectedRowEntriesArrayIncludingExpandable:(BOOL)fp8 includingUnexpandable:(BOOL)fp12 withCurrentExpandState:(BOOL)fp16;
- (void)keyDown:(id)fp8;
- (BOOL)mouseTracker:(id)fp8 shouldStartTrackingWithEvent:(id)fp12;
- (BOOL)mouseTracker:(id)fp8 shouldContinueTrackingWithEvent:(id)fp12;
- (BOOL)mouseTracker:(id)fp8 didStopTrackingWithEvent:(id)fp12;
- (id)_dataSourceValueForColumn:(id)fp8 row:(int)fp12;
- (void)_dataSourceSetValue:(id)fp8 forColumn:(id)fp12 row:(int)fp16;
- (void)_delegateWillDisplayCell:(id)fp8 forColumn:(id)fp12 row:(int)fp16;
- (void)_delegateWillDisplayOutlineCell:(id)fp8 forColumn:(id)fp12 row:(int)fp16;
- (BOOL)_wantsLiveResizeToUseCachedImage;
- (id)_alternateAutoExpandImageForOutlineCell:(id)fp8 inRow:(int)fp12 withFrame:(struct _NSRect)fp16;
- (void)drawRow:(int)fp8 clipRect:(struct _NSRect)fp12;
- (struct _NSRect)frameOfCellAtColumn:(int)fp8 row:(int)fp12;
- (struct _NSRect)_frameOfOutlineCellAtRow:(int)fp8;
- (void)_redisplayFromRow:(int)fp8;
- (BOOL)_userCanChangeSelection;
- (BOOL)_sendDelegateCanSelectRow:(int)fp8 byExtendingSelection:(BOOL)fp12;
- (BOOL)_sendDelegateCanSelectColumn:(int)fp8 byExtendingSelection:(BOOL)fp12;
- (id)parentForItem:(id)fp8;
- (struct _RowEntry *)_rowEntryForItem:(id)fp8;
- (struct _RowEntry *)_rowEntryForChild:(int)fp8 ofParent:(struct _RowEntry *)fp12;
- (struct _RowEntry *)_rowEntryForRow:(int)fp8;
- (id)itemAtRow:(int)fp8;
- (int)rowForItem:(id)fp8;
- (int)levelForItem:(id)fp8;
- (int)levelForRow:(int)fp8;
- (BOOL)isItemExpanded:(id)fp8;
- (BOOL)_userCanEditTableColumn:(id)fp8 row:(int)fp12;
- (BOOL)autosaveExpandedItems;
- (void)setAutosaveExpandedItems:(BOOL)fp8;
- (void)_readPersistentExpandItems;
- (id)_convertPersistentItem:(id)fp8;
- (void)_writePersistentExpandItems;
- (void)setAutosaveName:(id)fp8;
- (BOOL)_shouldAttemptDroppingAsChildOfLeafItems;
- (BOOL)shouldCollapseAutoExpandedItemsForDeposited:(BOOL)fp8;
- (void)setDropItem:(id)fp8 dropChildIndex:(int)fp12;
- (BOOL)_hoverAreaIsSameAsLast:(id)fp8;
- (void)_tryDrop:(id)fp8 dropItem:(id)fp12 dropChildIndex:(int)fp16;
- (void)_determineDropCandidateForDragInfo:(id)fp8;
- (void)_setNeedsDisplayForDropCandidateItem:(id)fp8 childIndex:(int)fp12 mask:(unsigned int)fp16;
- (void)dragImage:(id)fp8 at:(struct _NSPoint)fp12 offset:(struct _NSSize)fp20 event:(id)fp28 pasteboard:(id)fp32 source:(id)fp36 slideBack:(BOOL)fp40;
- (struct _NSRange)_columnRangeForDragImage;
- (void)_drawDropHighlight;
- (BOOL)_isPoint:(struct _NSPoint)fp8 inDragZoneOfRow:(int)fp16;
- (void)_sendDelegateDidMouseDownInHeader:(int)fp8;
- (void)_sendDelegateDidClickColumn:(int)fp8;
- (void)_sendDelegateDidDragColumn:(int)fp8;
- (BOOL)_sendDataSourceWriteDragRows:(id)fp8 toPasteboard:(id)fp12;
- (BOOL)_dataSourceRespondsToWriteDragRows;
- (void)_sendDataSourceSortDescriptorsDidChange:(id)fp8;
- (BOOL)_dataSourceRespondsToSortDescriptorsDidChange;
- (unsigned int)draggingEntered:(id)fp8;
- (unsigned int)draggingUpdated:(id)fp8;
- (void)draggingExited:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (void)_startAutoExpandingItemFlash;
- (void)_autoExpandFlashOnce;
- (void)_stopAutoExpandingItemFlash;
- (void)_scheduleAutoExpandTimerForItem:(id)fp8;
- (void)_autoExpandItem:(id)fp8;
- (void)_cancelAutoExpandTimer;
- (void)_collapseAllAutoExpandedItems;
- (void)_cancelAnyScheduledAutoCollapse;
- (void)_collapseAutoExpandedItems:(id)fp8;
- (id)_itemsFromRows:(id)fp8;
- (float)_minXLocOfOutlineColumn;
- (int)_countDisplayedDescendantsOfItem:(id)fp8;
- (id)_findParentWithLevel:(int)fp8 beginingAtItem:(id)fp12 childEncountered:(int *)fp16;

@end

@interface NSOutlineRow : NSTableRow
{
}

- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilitySubroleAttribute;
- (id)accessibilityDisclosingAttribute;
- (BOOL)accessibilityIsDisclosingAttributeSettable;
- (void)accessibilitySetDisclosingAttribute:(id)fp8;
- (id)accessibilityDisclosedRowsAttribute;
- (BOOL)accessibilityIsDisclosedRowsAttributeSettable;
- (id)accessibilityDisclosedByRowAttribute;
- (BOOL)accessibilityIsDisclosedByRowAttributeSettable;

@end

@interface NSOutlineView (NSOutlineViewAccessibility)
- (id)accessibilityRoleAttribute;
- (id)_accessibilityTableRow:(int)fp8;
@end

@interface NSPageLayout : NSObject
{
unsigned char _184BytesOfPrivateData[184];
}

+ (id)pageLayout;
- (id)init;
- (void)dealloc;
- (void)beginSheetWithPrintInfo:(id)fp8 modalForWindow:(id)fp12 delegate:(id)fp16 didEndSelector:(SEL)fp20 contextInfo:(void *)fp24;
- (int)runModal;
- (int)runModalWithPrintInfo:(id)fp8;
- (id)accessoryView;
- (void)setAccessoryView:(id)fp8;
- (id)printInfo;
- (void)readPrintInfo;
- (void)writePrintInfo;
- (void)convertOldFactor:(float *)fp8 newFactor:(float *)fp12;
- (void)pickedButton:(id)fp8;
- (void)pickedOrientation:(id)fp8;
- (void)pickedPaperSize:(id)fp8;
- (void)pickedUnits:(id)fp8;
- (void)_dismissSheet:(unsigned char)fp8;
- (void)_sheetDidEnd:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;

@end

@interface NSApplication (NSPageLayoutPanel)
- (void)runPageLayout:(id)fp8;
@end

@interface NSKitPanelController : NSObject
{
NSPanel *panel;
}

- (id)panel;

@end

@interface NSPanel : NSWindow
{
}

+ (unsigned int)_validateStyleMask:(unsigned int)fp8;
- (id)_initContent:(const struct _NSRect *)fp8 styleMask:(unsigned int)fp12 backing:(int)fp16 defer:(BOOL)fp20 contentView:(id)fp24;
- (id)_initContent:(const struct _NSRect *)fp8 styleMask:(unsigned int)fp12 backing:(int)fp16 defer:(BOOL)fp20 counterpart:(id)fp24;
- (id)initWithContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 backing:(int)fp28 defer:(BOOL)fp32;
- (id)init;
- (BOOL)isFloatingPanel;
- (void)setFloatingPanel:(BOOL)fp8;
- (void)setBecomesKeyOnlyIfNeeded:(BOOL)fp8;
- (BOOL)becomesKeyOnlyIfNeeded;
- (void)resignKeyWindow;
- (BOOL)_toggleOrderedFrontMostWillOrderOut;
- (void)setWorksWhenModal:(BOOL)fp8;
- (BOOL)worksWhenModal;
- (void)cancel:(id)fp8;
- (BOOL)_showToolTip;
- (id)_setTempHidden:(BOOL)fp8;
- (id)_doSetAccessoryView:(id)fp8 topView:(id)fp12 bottomView:(id)fp16 previousKeyView:(id)fp20 oldView:(id *)fp24;
- (id)_doSetAccessoryView:(id)fp8 topView:(id)fp12 bottomView:(id)fp16 oldView:(id *)fp20;
- (id)_replaceAccessoryView:(id)fp8 with:(id)fp12 topView:(id)fp16 bottomView:(id)fp20 previousKeyView:(id)fp24;

@end

@interface NSMutableParagraphStyle : NSParagraphStyle
{
}

- (void)setParagraphStyle:(id)fp8;
- (void)setLineSpacing:(float)fp8;
- (void)setParagraphSpacing:(float)fp8;
- (void)setAlignment:(int)fp8;
- (void)setHeadIndent:(float)fp8;
- (void)setTailIndent:(float)fp8;
- (void)setFirstLineHeadIndent:(float)fp8;
- (void)setMinimumLineHeight:(float)fp8;
- (void)setMaximumLineHeight:(float)fp8;
- (void)setLineBreakMode:(int)fp8;
- (void)setLineHeightMultiple:(float)fp8;
- (void)setParagraphSpacingBefore:(float)fp8;
- (void)setDefaultTabInterval:(float)fp8;
- (void)_mutateTabStops;
- (void)addTabStop:(id)fp8;
- (void)removeTabStop:(id)fp8;
- (void)setTabStops:(id)fp8;
- (void)setBaseWritingDirection:(int)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;

@end

@interface NSParagraphStyle : NSObject
{
float _lineSpacing;
float _paragraphSpacing;
float _headIndent;
float _tailIndent;
float _firstLineHeadIndent;
float _minimumLineHeight;
float _maximumLineHeight;
NSArray *_tabStops;
struct {
unsigned int alignment:4;
unsigned int lineBreakMode:4;
unsigned int tabStopsIsMutable:1;
unsigned int isNaturalDirection:1;
unsigned int rightToLeftDirection:1;
unsigned int fixedMultiple:2;
unsigned int refCount:19;
} _flags;
float _defaultTabInterval;
void *_extraData;
}

+ (id)defaultParagraphStyle;
+ (int)_defaultWritingDirection;
+ (int)defaultWritingDirectionForLanguage:(id)fp8;
- (void)_allocExtraData;
- (id)_initWithParagraphStyle:(id)fp8;
- (id)init;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)mutableCopyWithZone:(struct _NSZone *)fp8;
- (unsigned int)hash;
- (id)retain;
- (void)release;
- (unsigned int)retainCount;
- (void)dealloc;
- (BOOL)isEqual:(id)fp8;
- (float)lineSpacing;
- (float)paragraphSpacing;
- (int)alignment;
- (float)headIndent;
- (float)tailIndent;
- (id)tabStops;
- (float)firstLineHeadIndent;
- (float)minimumLineHeight;
- (float)maximumLineHeight;
- (int)lineBreakMode;
- (int)baseWritingDirection;
- (float)lineHeightMultiple;
- (float)paragraphSpacingBefore;
- (float)defaultTabInterval;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)description;

@end

@interface NSTextTab : NSObject
{
struct {
unsigned int alignment:4;
unsigned int refCount:24;
unsigned int unused:4;
} _flags;
float _location;
void *_reserved;
}

+ (void)initialize;
+ (id)allocWithZone:(struct _NSZone *)fp8;
- (id)initWithType:(int)fp8 location:(float)fp12;
- (id)initWithTextAlignment:(int)fp8 location:(float)fp12 options:(id)fp16;
- (int)alignment;
- (id)options;
- (void)dealloc;
- (id)retain;
- (void)release;
- (unsigned int)retainCount;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (float)location;
- (int)tabStopType;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (BOOL)isEqual:(id)fp8;
- (id)description;

@end

@interface NSPasteboard : NSObject
{
void *_pboard;
int _gen;
void *_owners;
void *_reserved[8];
}

+ (id)allocWithZone:(struct _NSZone *)fp8;
+ (id)alloc;
+ (id)_tmpPasteboardWithCFPasteboard:(struct __CFPasteboard *)fp8;
+ (id)_pasteboardWithName:(id)fp8;
+ (id)generalPasteboard;
+ (id)pasteboardWithUniqueName;
+ (id)pasteboardWithName:(id)fp8;
+ (void)_provideAllPromisedData;
+ (id)_convertStringToData:(id)fp8;
+ (id)_convertDataToString:(id)fp8;
+ (id)typesFilterableTo:(id)fp8;
+ (id)pasteboardByFilteringFile:(id)fp8;
+ (id)pasteboardByFilteringData:(id)fp8 ofType:(id)fp12;
+ (id)pasteboardByFilteringTypesInPasteboard:(id)fp8;
- (void)dealloc;
- (void)releaseGlobally;
- (id)name;
- (int)declareTypes:(id)fp8 owner:(id)fp12;
- (int)addTypes:(id)fp8 owner:(id)fp12;
- (BOOL)setData:(id)fp8 forType:(id)fp12;
- (id)types;
- (id)availableTypeFromArray:(id)fp8;
- (id)_dataWithoutConversionForType:(id)fp8;
- (id)dataForType:(id)fp8;
- (int)changeCount;
- (BOOL)setPropertyList:(id)fp8 forType:(id)fp12;
- (id)propertyListForType:(id)fp8;
- (BOOL)setString:(id)fp8 forType:(id)fp12;
- (id)stringForType:(id)fp8;
- (struct __CFPasteboard *)_cfPasteboard;

@end

@interface NSURL (NSPasteboardSupport)
+ (id)URLFromPasteboard:(id)fp8;
- (void)writeToPasteboard:(id)fp8;
@end

@interface _NSFilePromiseTypeConverter : NSObject
{
}

+ (id)_getConvertedDataFromPasteboard:(id)fp8;

@end

@interface _NSPromiseContentsTypeConverter : NSObject
{
}

+ (id)_getConvertedDataFromPasteboard:(id)fp8;

@end

@interface _NSStringPboardTypeConverter : _NSPboardTypeConverter
{
}

+ (id)_getConvertedDataFromPasteboard:(id)fp8;

@end

@interface _NSTIFFPboardTypeConverter : _NSPboardTypeConverter
{
}

+ (void)pasteboard:(id)fp8 provideDataForType:(id)fp12;
+ (void)_setConvertedData:(id)fp8 pboard:(struct __CFPasteboard *)fp12 generation:(long)fp16 inItem:(void *)fp20;

@end

@interface _NSRTFPboardTypeConverter : _NSPboardTypeConverter
{
}

+ (void)pasteboard:(id)fp8 provideDataForType:(id)fp12;
+ (void)_setConvertedData:(id)fp8 pboard:(struct __CFPasteboard *)fp12 generation:(long)fp16 inItem:(void *)fp20;
+ (id)_getConvertedDataFromPasteboard:(id)fp8;

@end

@interface _NSColorPboardTypeConverter : _NSPboardTypeConverter
{
}

+ (id)dataForType:(id)fp8 fromPasteboard:(id)fp12;

@end

@interface _NSURLPboardTypeConverter : _NSPboardTypeConverter
{
}

+ (void)_setConvertedData:(id)fp8 pboard:(struct __CFPasteboard *)fp12 generation:(long)fp16 inItem:(void *)fp20;
+ (id)_getConvertedDataFromPasteboard:(id)fp8;

@end

@interface _NSFilenamePboardTypeConverter : _NSPboardTypeConverter
{
}

+ (id)dataForType:(id)fp8 fromPasteboard:(id)fp12;
+ (void)_setConvertedData:(id)fp8 pboard:(struct __CFPasteboard *)fp12 generation:(long)fp16 inItem:(void *)fp20;
+ (id)_getConvertedDataFromPasteboard:(id)fp8;

@end

@interface _NSAsciiPboardTypeConverter : _NSPboardTypeConverter
{
}

+ (id)dataForType:(id)fp8 fromPasteboard:(id)fp12;

@end

@interface _NSPboardTypeConverter : NSObject
{
}

+ (id)dataForType:(id)fp8 fromPasteboard:(id)fp12;
+ (void)pasteboard:(id)fp8 provideDataForType:(id)fp12;

@end

@interface NSPasteboard (NSTypeConversion)
+ (id)_cocoaTypeNameFromIdentifier:(struct __CFString *)fp8;
+ (struct __CFString *)_typeIdentifierFromCocoaName:(id)fp8;
+ (struct __CFString *)_typeIdentifierFromCarbonCode:(unsigned long)fp8;
+ (id)_typesIncludingConversionsFromTypes:(id)fp8;
+ (void)_setConversionFromData:(id)fp8 type:(id)fp12 inPasteboard:(struct __CFPasteboard *)fp16 generation:(long)fp20 item:(void *)fp24;
- (id)_dataWithConversionForType:(id)fp8;
- (void)_addConversionsFromTypes:(id)fp8;
@end

@interface _NSPDFDocument : NSObject
{
struct CGPDFDocument *_document;
struct CGRect _mediaBox;
struct _NSRect _cropBox;
float _rotation;
int _currentPage;
}

- (id)initWithData:(id)fp8;
- (void)dealloc;
- (struct CGPDFDocument *)documentRef;
- (struct CGRect)mediaBox;
- (struct _NSRect)bounds;
- (void)adjustCTM:(struct CGContext *)fp8;
- (void)setCurrentPage:(int)fp8;
- (int)currentPage;
- (int)pageCount;

@end

@interface NSPDFImageRep : NSImageRep
{
NSData *_pdfData;
int _reserved1;
int _reserved2;
id _private;
}

+ (void)initialize;
+ (BOOL)canInitWithData:(id)fp8;
+ (id)imageRepWithData:(id)fp8;
+ (id)imageUnfilteredFileTypes;
+ (id)imageUnfilteredPasteboardTypes;
- (id)init;
- (id)initWithData:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)dealloc;
- (BOOL)draw;
- (BOOL)_drawFromRect:(struct _NSRect)fp8 toRect:(struct _NSRect)fp24 operation:(int)fp40 alpha:(float)fp44 compositing:(BOOL)fp48 flipped:(BOOL)fp52 ignoreContext:(BOOL)fp56;
- (BOOL)_isValid;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)PDFRepresentation;
- (struct _NSRect)bounds;
- (void)setCurrentPage:(int)fp8;
- (int)currentPage;
- (int)pageCount;
- (int)_uncachedSize;

@end

@interface NSPSAndPDFGraphicsContext : NSPersistentGraphicsContext
{
NSString *spoolFilePath;
}

- (id)initWithAttributes:(id)fp8;
- (void)dealloc;
- (id)data;
- (void)beginDocumentWithTitle:(id)fp8;
- (void)endDocument;
- (void)beginPage:(struct _NSRect)fp8;
- (void)endPage;

@end

@interface NSPersistentGraphicsContext : NSCGSContext
{
NSDictionary *_attributes;
NSMutableData *_stream;
NSFocusStack *_focusStack;
}

+ (id)graphicsContextWithAttributes:(id)fp8;
- (id)initWithAttributes:(id)fp8;
- (void)dealloc;
- (void *)focusStack;
- (void)setFocusStack:(void *)fp8;
- (BOOL)isDrawingToScreen;
- (id)data;
- (id)attributes;
- (void)beginDocumentWithTitle:(id)fp8;
- (void)endDocument;
- (void)beginPage:(struct _NSRect)fp8;
- (void)endPage;

@end

@interface NSPICTImageRep : NSImageRep
{
struct _NSPoint _pictOrigin;
NSData *_pictData;
unsigned int _reserved1;
unsigned int _reserved2;
}

+ (void)initialize;
+ (id)imageRepWithData:(id)fp8;
+ (BOOL)_verifyDataIsPICT:(id)fp8;
+ (BOOL)canInitWithData:(id)fp8;
+ (id)imageUnfilteredFileTypes;
+ (id)imageUnfilteredPasteboardTypes;
- (id)init;
- (void)dealloc;
- (id)initWithData:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (struct _NSRect)boundingBox;
- (BOOL)draw;
- (BOOL)drawAtPoint:(struct _NSPoint)fp8;
- (BOOL)drawInRect:(struct _NSRect)fp8;
- (BOOL)_isValid;
- (int)_uncachedSize;
- (BOOL)_drawFromRect:(struct _NSRect)fp8 toRect:(struct _NSRect)fp24 operation:(int)fp40 alpha:(float)fp44 compositing:(BOOL)fp48 flipped:(BOOL)fp52 ignoreContext:(BOOL)fp56;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)PICTRepresentation;

@end

@interface NSPICTParser : NSObject
{
NSPICTStream *_dataStream;
short _pictVersion;
struct _NSPoint _penLoc;
struct _NSPoint _textLoc;
struct _NSSize _ovalSize;
struct _NSRect _lastRect;
}

+ (id)parserForData:(id)fp8;
- (id)initWithData:(id)fp8;
- (void)dealloc;
- (struct _NSRect)pictFrame;
- (void)renderPICTWithSize:(struct _NSSize)fp8;

@end

@interface NSPICTStream : NSObject
{
NSData *_data;
char *_dataPtr;
char *_dataEnd;
}

- (id)initWithData:(id)fp8;
- (void)dealloc;

@end

@interface NSPNGImageReader : NSImageReader
{
}

- (BOOL)loadImageHeader;
- (BOOL)loadImage:(char **)fp8;

@end

@interface NSPNGImageWriter : NSImageWriter
{
}

- (id)representationWithImageProperties:(id)fp8 withProperties:(id)fp12;

@end

@interface NSPopUpButton : NSButton
{
struct __pbFlags _pbFlags;
}

+ (void)initialize;
- (id)initWithFrame:(struct _NSRect)fp8 pullsDown:(BOOL)fp24;
- (id)initWithFrame:(struct _NSRect)fp8;
- (id)initWithCoder:(id)fp8;
- (void)dealloc;
- (void)instantiateWithObjectInstantiator:(id)fp8;
- (void)_fixTargetsForMenu:(id)fp8;
- (void)setMenu:(id)fp8;
- (id)menu;
- (void)setPullsDown:(BOOL)fp8;
- (BOOL)pullsDown;
- (void)setAutoenablesItems:(BOOL)fp8;
- (BOOL)autoenablesItems;
- (void)setPreferredEdge:(int)fp8;
- (int)preferredEdge;
- (void)addItemWithTitle:(id)fp8;
- (void)addItemsWithTitles:(id)fp8;
- (void)insertItemWithTitle:(id)fp8 atIndex:(int)fp12;
- (void)removeItemWithTitle:(id)fp8;
- (void)removeItemAtIndex:(int)fp8;
- (void)removeAllItems;
- (id)itemArray;
- (int)numberOfItems;
- (int)indexOfItem:(id)fp8;
- (int)indexOfItemWithTitle:(id)fp8;
- (int)indexOfItemWithTag:(int)fp8;
- (int)indexOfItemWithRepresentedObject:(id)fp8;
- (int)indexOfItemWithTarget:(id)fp8 andAction:(SEL)fp12;
- (id)itemAtIndex:(int)fp8;
- (id)itemWithTitle:(id)fp8;
- (id)lastItem;
- (void)selectItem:(id)fp8;
- (void)selectItemAtIndex:(int)fp8;
- (void)selectItemWithTitle:(id)fp8;
- (void)setTitle:(id)fp8;
- (id)selectedItem;
- (int)indexOfSelectedItem;
- (void)synchronizeTitleAndSelectedItem;
- (id)itemTitleAtIndex:(int)fp8;
- (id)itemTitles;
- (id)titleOfSelectedItem;
- (void)sizeToFit;
- (void)performClick:(id)fp8;
- (void)moveDown:(id)fp8;
- (void)moveUp:(id)fp8;
- (BOOL)_allowsContextMenus;
- (id)title;
- (id)image;
- (int)state;
- (int)selectedTag;

@end

@interface NSPopUpButtonCell : NSMenuItemCell
{
NSMenu *_menu;
int _selectedIndex;
struct __pbcFlags _pbcFlags;
}

+ (void)initialize;
+ (id)_popUpMenuCurrentlyInvokingAction;
+ (id)_attachedCell;
+ (id)_popUpButtonCellInstances;
- (id)initTextCell:(id)fp8 pullsDown:(BOOL)fp12;
- (id)initTextCell:(id)fp8;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)_fixTargetsForMenu:(id)fp8;
- (void)setMenu:(id)fp8;
- (id)menu;
- (id)menuView;
- (void)setFont:(id)fp8;
- (void)setPullsDown:(BOOL)fp8;
- (BOOL)pullsDown;
- (void)setAutoenablesItems:(BOOL)fp8;
- (BOOL)autoenablesItems;
- (void)setPreferredEdge:(int)fp8;
- (int)preferredEdge;
- (void)setUsesItemFromMenu:(BOOL)fp8;
- (BOOL)usesItemFromMenu;
- (void)setMenuItem:(id)fp8;
- (void)setAltersStateOfSelectedItem:(BOOL)fp8;
- (BOOL)altersStateOfSelectedItem;
- (void)addItemWithTitle:(id)fp8;
- (void)addItemsWithTitles:(id)fp8;
- (void)insertItemWithTitle:(id)fp8 atIndex:(int)fp12;
- (void)_itemAdded:(id)fp8;
- (void)removeItemWithTitle:(id)fp8;
- (void)removeItemAtIndex:(int)fp8;
- (void)removeAllItems;
- (void)_itemRemoved:(id)fp8;
- (void)_itemChanged:(id)fp8;
- (id)itemArray;
- (int)numberOfItems;
- (int)indexOfItem:(id)fp8;
- (int)indexOfItemWithTitle:(id)fp8;
- (int)indexOfItemWithTag:(int)fp8;
- (int)indexOfItemWithRepresentedObject:(id)fp8;
- (int)indexOfItemWithTarget:(id)fp8 andAction:(SEL)fp12;
- (id)itemAtIndex:(int)fp8;
- (id)itemWithTitle:(id)fp8;
- (id)lastItem;
- (void)_rawSetSelectedIndex:(int)fp8;
- (void)selectItem:(id)fp8;
- (void)selectItemAtIndex:(int)fp8;
- (void)selectItemWithTitle:(id)fp8;
- (void)setTitle:(id)fp8;
- (id)selectedItem;
- (int)indexOfSelectedItem;
- (void)synchronizeTitleAndSelectedItem;
- (id)itemTitleAtIndex:(int)fp8;
- (id)itemTitles;
- (id)titleOfSelectedItem;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (struct _NSPoint)_locationForPopUpMenuWithFrame:(struct _NSRect)fp8;
- (void)_handleWillPopUpNotification;
- (void)attachPopUpWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)dismissPopUp;
- (id)_indicatorImageForCellHeight:(float)fp8;
- (float)keyEquivalentWidth;
- (struct _NSRect)stateImageRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)imageRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)titleRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)keyEquivalentRectForBounds:(struct _NSRect)fp8;
- (float)_extraWidthForCellHeight:(float)fp8;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (void)_drawThemePopUpBorderWithFrame:(struct _NSRect)fp8 inView:(id)fp24 bordered:(BOOL)fp28 style:(int)fp32;
- (void)_drawStandardPopUpBorderWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawBorderAndBackgroundWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (struct _NSRect)drawingRectForBounds:(struct _NSRect)fp8;
- (BOOL)_obeysHiddenBit;
- (BOOL)isOpaque;
- (BOOL)_needRedrawOnWindowChangedKeyState;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)performClickWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_popUpItemAction:(id)fp8;
- (void)_menuWillSendAction:(id)fp8;
- (void)_menuDidSendAction:(id)fp8;
- (BOOL)_canBecomeDefaultButtonCell;
- (BOOL)_allowsContextMenus;
- (id)_highlightColor;
- (id)_highlightTextColor;
- (BOOL)validateMenuItem:(id)fp8;
- (void)setObjectValue:(id)fp8;
- (id)objectValue;
- (void)_setBackgroundColor:(id)fp8;
- (int)arrowPosition;
- (void)setArrowPosition:(int)fp8;

@end

@interface NSPopUpButtonCell (NSPopUpButtonCellAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsChildrenAttributeSettable;
- (void)_accessibilityPressAction:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
@end

@interface NSPPDParse : NSObject
{
CDAnonymousStruct7 inputStreamStack[17];
CDAnonymousStruct7 *input;
id delegate;
CDAnonymousStruct14 argBuf;
CDAnonymousStruct14 keyTran;
CDAnonymousStruct14 argTran;
}

+ (id)typeToUnixName:(id)fp8;
+ (id)unixToTypeName:(id)fp8;
+ (id)availablePPDTypeFiles;
+ (id)findPPDFileName:(id)fp8;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (id)processKeyword:(char *)fp8 option:(char *)fp12 keyTran:(char *)fp16 arg:(char *)fp20 argTran:(char *)fp24 quotedArg:(BOOL)fp28;
- (id)growBuffer:(CDAnonymousStruct14 *)fp8 current:(char **)fp12 end:(char **)fp16 factor:(float)fp20;
- (BOOL)getMoreInput;
- (BOOL)parseKey:(BOOL)fp8;
- (id)parseStream;
- (id)run;
- (void *)openInclude:(id)fp8;
- (id)startInputStream:(void *)fp8 closeOnEnd:(BOOL)fp12;
- (id)endInputStream;
- (id)readFromFile:(id)fp8;
- (id)readFromStream:(void *)fp8;
- (id)init;
- (void)dealloc;

@end

@interface NSPreferences : NSObject
{
NSWindow *_preferencesPanel;
NSBox *_preferenceBox;
NSMatrix *_moduleMatrix;
NSButtonCell *_okButton;
NSButtonCell *_cancelButton;
NSButtonCell *_applyButton;
NSMutableArray *_preferenceTitles;
NSMutableArray *_preferenceModules;
NSMutableDictionary *_masterPreferenceViews;
NSMutableDictionary *_currentSessionPreferenceViews;
NSBox *_originalContentView;
BOOL _isModal;
float _constrainedWidth;
id _currentModule;
void *_reserved;
}

+ (id)sharedPreferences;
+ (void)setDefaultPreferencesClass:(Class)fp8;
+ (Class)defaultPreferencesClass;
- (id)init;
- (void)dealloc;
- (void)addPreferenceNamed:(id)fp8 owner:(id)fp12;
- (void)_setupToolbar;
- (void)_setupUI;
- (struct _NSSize)preferencesContentSize;
- (void)showPreferencesPanel;
- (void)showPreferencesPanelForOwner:(id)fp8;
- (int)showModalPreferencesPanelForOwner:(id)fp8;
- (int)showModalPreferencesPanel;
- (void)ok:(id)fp8;
- (void)cancel:(id)fp8;
- (void)apply:(id)fp8;
- (void)_selectModuleOwner:(id)fp8;
- (id)windowTitle;
- (void)confirmCloseSheetIsDone:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;
- (BOOL)windowShouldClose:(id)fp8;
- (void)windowDidResize:(id)fp8;
- (struct _NSSize)windowWillResize:(id)fp8 toSize:(struct _NSSize)fp12;
- (BOOL)usesButtons;
- (id)_itemIdentifierForModule:(id)fp8;
- (void)toolbarItemClicked:(id)fp8;
- (id)toolbar:(id)fp8 itemForItemIdentifier:(id)fp12 willBeInsertedIntoToolbar:(BOOL)fp16;
- (id)toolbarDefaultItemIdentifiers:(id)fp8;
- (id)toolbarAllowedItemIdentifiers:(id)fp8;
- (id)toolbarSelectableItemIdentifiers:(id)fp8;

@end

@interface NSPreferencesModule : NSObject
{
NSBox *_preferencesView;
struct _NSSize _minSize;
BOOL _hasChanges;
void *_reserved;
}

+ (id)sharedInstance;
- (void)dealloc;
- (id)init;
- (id)preferencesNibName;
- (void)setPreferencesView:(id)fp8;
- (id)viewForPreferenceNamed:(id)fp8;
- (id)imageForPreferenceNamed:(id)fp8;
- (id)titleForIdentifier:(id)fp8;
- (BOOL)hasChangesPending;
- (void)saveChanges;
- (void)willBeDisplayed;
- (void)initializeFromDefaults;
- (void)didChange;
- (struct _NSSize)minSize;
- (void)setMinSize:(struct _NSSize)fp8;
- (void)moduleWillBeRemoved;
- (void)moduleWasInstalled;
- (BOOL)moduleCanBeRemoved;
- (BOOL)preferencesWindowShouldClose;
- (BOOL)isResizable;

@end

@interface NSPrinter : NSObject
{
unsigned char _44BytesOfPrivateData[44];
}

+ (id)printerNames;
+ (id)printerTypes;
+ (id)printerWithName:(id)fp8;
+ (id)printerWithType:(id)fp8;
+ (id)printerWithName:(id)fp8 domain:(id)fp12 includeUnavailable:(BOOL)fp16;
- (id)_initWithName:(id)fp8 printer:(struct OpaquePMPrinter *)fp12;
- (id)init;
- (void)dealloc;
- (id)name;
- (id)type;
- (int)languageLevel;
- (struct _NSSize)pageSizeForPaper:(id)fp8;
- (int)statusForTable:(id)fp8;
- (BOOL)isKey:(id)fp8 inTable:(id)fp12;
- (BOOL)booleanForKey:(id)fp8 inTable:(id)fp12;
- (float)floatForKey:(id)fp8 inTable:(id)fp12;
- (int)intForKey:(id)fp8 inTable:(id)fp12;
- (struct _NSRect)rectForKey:(id)fp8 inTable:(id)fp12;
- (struct _NSSize)sizeForKey:(id)fp8 inTable:(id)fp12;
- (id)stringForKey:(id)fp8 inTable:(id)fp12;
- (id)stringListForKey:(id)fp8 inTable:(id)fp12;
- (struct _NSRect)imageRectForPaper:(id)fp8;
- (id)deviceDescription;
- (BOOL)acceptsBinary;
- (BOOL)isColor;
- (BOOL)isFontAvailable:(id)fp8;
- (BOOL)isOutputStackInReverseOrder;
- (id)domain;
- (id)host;
- (id)note;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)description;
- (void)encodeWithCoder:(id)fp8;
- (id)_compatibility_initWithUnkeyedCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSPrinter (NSPrivate)
+ (id)_printerForPrinter:(struct OpaquePMPrinter *)fp8;
- (struct OpaquePMPrinter *)_printer;
- (id)_paperNameForSize:(struct _NSSize)fp8;
@end

@interface NSPrinter (NSPPDs)
- (CDAnonymousStruct1 *)_newNode:(int)fp8;
- (id)_makeRootNode;
- (id)_freeNode:(CDAnonymousStruct1 *)fp8;
- (char *)_allocString:(const char *)fp8;
- (CDAnonymousStruct1 *)_makeTable:(const char *)fp8 inNode:(CDAnonymousStruct1 *)fp12;
- (id)_freeNodes;
- (void)_allocatePPDStuffAndParse;
- (CDAnonymousStruct1 *)_getNodeForKey:(const char *)fp8 inTable:(const char *)fp12;
- (id)_keyListForKeyNode:(CDAnonymousStruct1 *)fp8;
- (id)_appendStringInKeyNode:(CDAnonymousStruct1 *)fp8 key:(const char *)fp12 value:(const char *)fp16;
- (CDAnonymousStruct1 *)_makeKeyNode:(const char *)fp8 inKeyNode:(CDAnonymousStruct1 *)fp12;
- (id)_appendKey:(const char *)fp8 option:(const char *)fp12 value:(const char *)fp16 inKeyNode:(CDAnonymousStruct1 *)fp20;
- (id)_setOrderDependency:(char *)fp8;
- (id)_setUIConstraints:(char *)fp8;
- (id)processKeyword:(char *)fp8 option:(char *)fp12 keyTran:(char *)fp16 arg:(char *)fp20 argTran:(char *)fp24;
- (void)_deallocatePPDStuff;
@end

@interface NSPrintInfo : NSObject
{
NSMutableDictionary *_attributes;
void *_moreVars;
}

+ (void)initialize;
+ (void)setSharedPrintInfo:(id)fp8;
+ (id)sharedPrintInfo;
+ (id)defaultPrinter;
+ (void)setDefaultPrinter:(id)fp8;
+ (struct _NSSize)sizeForPaperName:(id)fp8;
+ (struct OpaquePMPageFormat *)_createPageFormatFromFlattenedData:(id)fp8;
+ (struct OpaquePMPrintSettings *)_createPrintSettingsFromFlattenedData:(id)fp8;
- (id)_initWithAttributesNoCopy:(id)fp8 pageFormatNoCopy:(struct OpaquePMPageFormat *)fp12 printSettingsNoCopy:(struct OpaquePMPrintSettings *)fp16;
- (void)_setBool:(BOOL)fp8 ifNoAttributeForKey:(id)fp12;
- (void)_setFloat:(float)fp8 ifNoAttributeForKey:(id)fp12;
- (void)_setInt:(int)fp8 ifNoAttributeForKey:(id)fp12;
- (void)_setObject:(id)fp8 ifNoAttributeForKey:(id)fp12;
- (void)_validatePaginationAttributes;
- (id)init;
- (id)initWithDictionary:(id)fp8;
- (void)dealloc;
- (id)dictionary;
- (void)setPaperName:(id)fp8;
- (void)setPaperSize:(struct _NSSize)fp8;
- (void)setOrientation:(int)fp8;
- (id)paperName;
- (struct _NSSize)paperSize;
- (int)orientation;
- (void)setLeftMargin:(float)fp8;
- (void)setRightMargin:(float)fp8;
- (void)setTopMargin:(float)fp8;
- (void)setBottomMargin:(float)fp8;
- (float)leftMargin;
- (float)rightMargin;
- (float)topMargin;
- (float)bottomMargin;
- (void)setHorizontallyCentered:(BOOL)fp8;
- (void)setVerticallyCentered:(BOOL)fp8;
- (BOOL)isHorizontallyCentered;
- (BOOL)isVerticallyCentered;
- (void)setHorizontalPagination:(int)fp8;
- (void)setVerticalPagination:(int)fp8;
- (int)horizontalPagination;
- (int)verticalPagination;
- (void)setJobDisposition:(id)fp8;
- (id)jobDisposition;
- (void)setPrinter:(id)fp8;
- (id)printer;
- (void)setUpPrintOperationDefaultValues;
- (id)localizedPaperName;
- (struct _NSRect)imageablePageBounds;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)description;
- (void)encodeWithCoder:(id)fp8;
- (id)_compatibility_initWithUnkeyedCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSPrintInfo (NSTemporaryCompatibility)
- (struct OpaquePMPrintSession *)_pmPrintSession;
- (void)setPMPageFormat:(struct OpaquePMPageFormat *)fp8;
- (struct OpaquePMPageFormat *)pmPageFormat;
- (void)setPMPrintSettings:(struct OpaquePMPrintSettings *)fp8;
- (struct OpaquePMPrintSettings *)pmPrintSettings;
@end

@interface NSPrintInfo (NSInternal)
- (struct OpaquePMPrintSession *)_printSessionForGetting;
- (struct OpaquePMPageFormat *)_pageFormatForGetting;
- (struct OpaquePMPrintSettings *)_printSettingsForGetting;
- (struct OpaquePMPrintSession *)_printSessionForSetting;
- (struct OpaquePMPageFormat *)_pageFormatForSetting;
- (struct OpaquePMPrintSettings *)_printSettingsForSetting;
@end

@interface NSPrintInfo (NSPrivate)
- (struct OpaquePMPrintSession *)_printSession;
- (struct OpaquePMPageFormat *)_pageFormat;
- (struct OpaquePMPrintSettings *)_printSettings;
- (void)_setPageFormat:(struct OpaquePMPageFormat *)fp8;
- (void)_setPrintSettings:(struct OpaquePMPrintSettings *)fp8;
@end

@interface NSNSPrintInfoAttributeKeyEnumerator : NSEnumerator
{
NSArray *_keys;
unsigned int _currentKeyIndex;
}

- (id)initWithKeys:(id)fp8;
- (void)dealloc;
- (id)allObjects;
- (id)nextObject;

@end

@interface NSPrintInfoAttributeDictionary : NSMutableDictionary
{
NSPrintInfo *_printInfo;
}

- (id)initWithPrintInfo:(id)fp8;
- (void)printInfoIsBeingDeallocated;
- (unsigned int)count;
- (id)keyEnumerator;
- (id)objectForKey:(id)fp8;
- (void)setObject:(id)fp8 forKey:(id)fp12;
- (void)removeObjectForKey:(id)fp8;

@end

@interface NSPrintInfo (NSManagedAttributes)
+ (void)_setPrinter:(id)fp8 inPrintSession:(struct OpaquePMPrintSession *)fp12;
+ (id)_printerInPrintSession:(struct OpaquePMPrintSession *)fp8;
+ (void)_setPaperSize:(struct _NSSize)fp8 inPrintSession:(struct OpaquePMPrintSession *)fp16 inPageFormat:(struct OpaquePMPageFormat *)fp20;
+ (void)_setPaperName:(id)fp8 inPrintSession:(struct OpaquePMPrintSession *)fp12 pageFormat:(struct OpaquePMPageFormat *)fp16;
+ (void)_setOrientation:(int)fp8 inPageFormat:(struct OpaquePMPageFormat *)fp12;
+ (struct _NSSize)_paperSizeInPageFormat:(struct OpaquePMPageFormat *)fp8;
+ (id)_paperNameInPrintSession:(struct OpaquePMPrintSession *)fp8 pageFormat:(struct OpaquePMPageFormat *)fp12;
+ (int)_orientationInPageFormat:(struct OpaquePMPageFormat *)fp8;
+ (void)_setJobDisposition:(id)fp8 savePath:(id)fp12 inPrintSession:(struct OpaquePMPrintSession *)fp16 printSettings:(struct OpaquePMPrintSettings *)fp20;
+ (id)_jobDispositionInPrintSession:(struct OpaquePMPrintSession *)fp8 printSettings:(struct OpaquePMPrintSettings *)fp12;
+ (id)_jobSavePathInPrintSession:(struct OpaquePMPrintSession *)fp8 printSettings:(struct OpaquePMPrintSettings *)fp12;
+ (id)_printSessionAttributeKeys;
+ (id)_pageFormatAttributeKeys;
+ (id)_printSettingsAttributeKeys;
+ (id)_managedAttributeKeys;
- (void)_reconcilePrintSessionAttributes;
- (void)_reconcilePageFormatAttributes;
- (void)_reconcilePrintSettingsAttributes;
- (id)_allAttributeKeys;
- (id)_objectForAttributeKey:(id)fp8;
- (void)_setObject:(id)fp8 forAttributeKey:(id)fp12;
- (void)_removeObjectForAttributeKey:(id)fp8;
@end

@interface NSConcretePrintOperation : NSPrintOperation
{
NSView *view;
NSPrintInfo *printInfo;
BOOL isCopying;
BOOL canSpawnSeparateThread;
BOOL _showPrintPanel;
BOOL _showProgressPanel;
struct _NSRect epsBounds;
NSMutableData *epsStream;
NSGraphicsContext *context;
int pageOrder;
NSPrintPanel *printPanel;
id _accessoryView;
id _thumbnailView;
NSMutableData *printStream;
BOOL releaseData;
void *jobVars;
NSString *_jobStyleHint;
NSProgressPanel *progressPanel;
struct _NSModalSession *progressPanelAppModalSession;
struct {
NSWindow *;
id;
SEL;
void *;
} *modalContextInfo;
BOOL operationRanToCompletion;
}

+ (id)printOperationWithView:(id)fp8;
+ (id)printOperationWithView:(id)fp8 printInfo:(id)fp12;
+ (id)EPSOperationWithView:(id)fp8 insideRect:(struct _NSRect)fp12 toData:(id)fp28;
+ (id)EPSOperationWithView:(id)fp8 insideRect:(struct _NSRect)fp12 toPath:(id)fp28 printInfo:(id)fp32;
+ (id)EPSOperationWithView:(id)fp8 insideRect:(struct _NSRect)fp12 toData:(id)fp28 printInfo:(id)fp32;
+ (id)PDFOperationWithView:(id)fp8 insideRect:(struct _NSRect)fp12 toData:(id)fp28;
+ (id)PDFOperationWithView:(id)fp8 insideRect:(struct _NSRect)fp12 toData:(id)fp28 printInfo:(id)fp32;
+ (id)PDFOperationWithView:(id)fp8 insideRect:(struct _NSRect)fp12 toPath:(id)fp28 printInfo:(id)fp32;
+ (id)currentOperation;
+ (void)setCurrentOperation:(id)fp8;
- (struct _PrivatePrintOperationInfo *)_operationInfo;
- (void)_initJobVars;
- (id)initWithView:(id)fp8 printInfo:(id)fp12;
- (id)initEPSOperationWithView:(id)fp8 insideRect:(struct _NSRect)fp12 toData:(id)fp28 printInfo:(id)fp32;
- (BOOL)isCopyingOperation;
- (BOOL)isEPSOperation;
- (void)dealloc;
- (void)_createAndShowProgressPanelIfAppropriate:(BOOL)fp8;
- (BOOL)_doActualViewPrinting;
- (BOOL)runOperation;
- (void)_finishModalOperation;
- (void)_continueModalOperationToTheEnd:(id)fp8;
- (void)_continueModalOperationPastPrintPanel;
- (void)runOperationModalForWindow:(id)fp8 delegate:(id)fp12 didRunSelector:(SEL)fp16 contextInfo:(void *)fp20;
- (void)_printPanel:(id)fp8 didEndAndReturn:(int)fp12 contextInfo:(void *)fp16;
- (void)_progressPanelWasCancelled:(id)fp8 contextInfo:(void *)fp12;
- (void)_progressPanel:(id)fp8 didEndAndReturn:(int)fp12 contextInfo:(void *)fp16;
- (void)setCanSpawnSeparateThread:(BOOL)fp8;
- (BOOL)canSpawnSeparateThread;
- (void)setShowPanels:(BOOL)fp8;
- (BOOL)showPanels;
- (void)setPrintPanel:(id)fp8;
- (id)printPanel;
- (void)setAccessoryView:(id)fp8;
- (id)accessoryView;
- (void)setJobStyleHint:(id)fp8;
- (id)jobStyleHint;
- (void)_setThumbnailView:(id)fp8;
- (id)_thumbnailView;
- (void)_setShowPrintPanel:(BOOL)fp8;
- (void)_setShowProgressPanel:(BOOL)fp8;
- (void)setPrintInfo:(id)fp8;
- (id)printInfo;
- (id)view;
- (int)currentPage;
- (void)setPageOrder:(int)fp8;
- (int)pageOrder;
- (id)context;
- (BOOL)_realCreateContext;
- (void)_realDestroyContext;
- (id)_temporaryFilename:(id)fp8;
- (id)createContext;
- (void)_preparePrintStream;
- (void)destroyContext;
- (void)_destroyStream;
- (BOOL)deliverResult;
- (void)cleanUpOperation;
- (void)setBaseAffineTransform:(id)fp8;
- (id)baseAffineTransform;
- (void)_heedBeginningOfPage:(int)fp8;
- (void)_heedBeginningOfPage:(int)fp8 outOf:(int)fp12;
- (void)_handleUIEvents;

@end

@interface NSPrintOperation : NSObject
{
}

+ (id)printOperationWithView:(id)fp8;
+ (id)printOperationWithView:(id)fp8 printInfo:(id)fp12;
+ (id)EPSOperationWithView:(id)fp8 insideRect:(struct _NSRect)fp12 toData:(id)fp28;
+ (id)EPSOperationWithView:(id)fp8 insideRect:(struct _NSRect)fp12 toData:(id)fp28 printInfo:(id)fp32;
+ (id)EPSOperationWithView:(id)fp8 insideRect:(struct _NSRect)fp12 toPath:(id)fp28 printInfo:(id)fp32;
+ (id)PDFOperationWithView:(id)fp8 insideRect:(struct _NSRect)fp12 toData:(id)fp28;
+ (id)PDFOperationWithView:(id)fp8 insideRect:(struct _NSRect)fp12 toData:(id)fp28 printInfo:(id)fp32;
+ (id)PDFOperationWithView:(id)fp8 insideRect:(struct _NSRect)fp12 toPath:(id)fp28 printInfo:(id)fp32;
+ (id)currentOperation;
+ (void)setCurrentOperation:(id)fp8;
- (BOOL)isCopyingOperation;
- (BOOL)runOperation;
- (void)runOperationModalForWindow:(id)fp8 delegate:(id)fp12 didRunSelector:(SEL)fp16 contextInfo:(void *)fp20;
- (void)setCanSpawnSeparateThread:(BOOL)fp8;
- (BOOL)canSpawnSeparateThread;
- (void)setShowPanels:(BOOL)fp8;
- (BOOL)showPanels;
- (void)setPrintPanel:(id)fp8;
- (id)printPanel;
- (void)setAccessoryView:(id)fp8;
- (id)accessoryView;
- (void)setJobStyleHint:(id)fp8;
- (id)jobStyleHint;
- (void)_setThumbnailView:(id)fp8;
- (id)_thumbnailView;
- (void)_setShowPrintPanel:(BOOL)fp8;
- (void)_setShowProgressPanel:(BOOL)fp8;
- (void)setPrintInfo:(id)fp8;
- (id)printInfo;
- (id)view;
- (int)currentPage;
- (void)setPageOrder:(int)fp8;
- (int)pageOrder;
- (id)context;
- (id)createContext;
- (void)destroyContext;
- (BOOL)deliverResult;
- (void)cleanUpOperation;

@end

@interface NSPrintPanel : NSObject
{
unsigned char _244BytesOfPrivateData[244];
}

+ (id)printPanel;
- (id)init;
- (void)dealloc;
- (void)beginSheetWithPrintInfo:(id)fp8 modalForWindow:(id)fp12 delegate:(id)fp16 didEndSelector:(SEL)fp20 contextInfo:(void *)fp24;
- (int)_runModalWithPrintInfo:(id)fp8;
- (int)runModal;
- (id)accessoryView;
- (void)setAccessoryView:(id)fp8;
- (void)setJobStyleHint:(id)fp8;
- (id)jobStyleHint;
- (void)_setThumbnailView:(id)fp8;
- (id)_thumbnailView;
- (void)updateFromPrintInfo;
- (void)finalWritePrintInfo;
- (void)pickedAllPages:(id)fp8;
- (void)pickedButton:(id)fp8;
- (void)pickedLayoutList:(id)fp8;
- (void)_dismissSheet:(unsigned char)fp8;
- (void)_sheetDidEnd:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;

@end

@interface NSProgressIndicator : NSView
{
BOOL _isBezeled;
BOOL _isIndeterminate;
BOOL _threadedAnimation;
double _minimum;
double _maximum;
double _value;
int _animationIndex;
double _animationDelay;
id _timer;
id _animationThreadLock;
id _cachedImage;
id _cachedImageLock;
struct __progressIndicatorFlags _progressIndicatorFlags;
void *_NSProgressIndicatorReserved1;
}

+ (void)_controlTintChanged:(id)fp8;
+ (void)initialize;
+ (id)_createImage:(id)fp8:(id)fp12:(float)fp16;
+ (id)_barberImage:(float)fp8;
+ (id)_gaugeImage:(float)fp8;
- (id)initWithFrame:(struct _NSRect)fp8;
- (int)style;
- (void)setStyle:(int)fp8;
- (void)_commonInit;
- (void)dealloc;
- (BOOL)isFlipped;
- (BOOL)isOpaque;
- (void)_creteCachedImageLockIfNeeded;
- (void)_lockUnlockCachedImage:(BOOL)fp8;
- (void)_createCachedImage:(struct _NSSize)fp8;
- (id)_lockCachedImage;
- (void)_compositeAndUnlockCachedImage;
- (void)_drawThemeBackground;
- (void)_drawThemeProgressArea:(BOOL)fp8;
- (BOOL)_needRedrawOnWindowChangedKeyState;
- (void)_windowChangedKeyState;
- (void)drawRect:(struct _NSRect)fp8;
- (double)doubleValue;
- (void)_reconfigureAnimationState:(BOOL)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (BOOL)usesVectorMovement;
- (void)setUsesVectorMovement:(BOOL)fp8;
- (void)setDoubleValue:(double)fp8;
- (void)incrementBy:(double)fp8;
- (double)animationDelay;
- (void)setAnimationDelay:(double)fp8;
- (BOOL)usesThreadedAnimation;
- (void)setUsesThreadedAnimation:(BOOL)fp8;
- (void)_startAnimationWithThread:(BOOL)fp8;
- (void)startAnimation:(id)fp8;
- (void)_stopAnimationWithWait:(BOOL)fp8;
- (void)stopAnimation:(id)fp8;
- (void)animate:(id)fp8;
- (BOOL)isDisplayedWhenStopped;
- (void)setDisplayedWhenStopped:(BOOL)fp8;
- (void)_animationIdler:(id)fp8;
- (double)minValue;
- (double)maxValue;
- (void)setMinValue:(double)fp8;
- (void)setMaxValue:(double)fp8;
- (BOOL)isIndeterminate;
- (void)setIndeterminate:(BOOL)fp8;
- (void)_drawWindowsGaugeRects:(struct _NSRect)fp8;
- (void)_drawAnimationStep;
- (void)_drawProgressArea;
- (void)_drawFrame;
- (void)_drawRemainderArea;
- (struct _NSRect)_getProgressFrame;
- (struct _NSRect)_getRemainderFrame;
- (float)_getPosition:(double)fp8;
- (struct _NSRect)_getGaugeFrame;
- (void)_fillGrayRect:(struct _NSRect *)fp8 with:(int)fp12;
- (id)_resizedImage:(unsigned int)fp8;
- (void)sizeToFit;
- (void)_setupSurfaceAndStartSpinning:(BOOL)fp8;
- (void)_installHeartBeat:(BOOL)fp8;
- (void)setBezeled:(BOOL)fp8;
- (BOOL)isBezeled;
- (int)controlTint;
- (void)setControlTint:(int)fp8;
- (int)controlSize;
- (void)setControlSize:(int)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)_systemColorChanged:(id)fp8;
- (BOOL)_isThreadedAnimationLooping;
- (void)_animationThread;
- (id)_setWindow:(id)fp8;
- (void)heartBeat:(CDAnonymousStruct10 *)fp8;

@end

@interface NSProgressIndicator (NSProgressIndicatorAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (id)accessibilityMinValueAttribute;
- (BOOL)accessibilityIsMinValueAttributeSettable;
- (id)accessibilityMaxValueAttribute;
- (BOOL)accessibilityIsMaxValueAttributeSettable;
- (BOOL)accessibilityIsIgnored;
@end

@interface NSProgressPanel : NSPanel
{
NSButton *cancelButton;
NSTextField *captionTextField;
NSProgressIndicator *progressIndicator;
id cancellationDelegate;
SEL cancellationSelector;
void *cancellationContextInfo;
BOOL wasCancelled;
}

+ (id)progressPanel;
- (void)setCancellationDelegate:(id)fp8 wasCancelledSelector:(SEL)fp12 contextInfo:(void *)fp16;
- (id)captionTextField;
- (id)progressIndicator;
- (void)cancelButtonPressed:(id)fp8;

@end

@interface NSPSMatrix : NSObject
{
float matrixElements[12];
struct _mFlags mFlags;
}

+ (void)initialize;
- (id)init;
- (id)_doRotationOnly;
- (float)getRotationAngle;
- (void)scaleUnitSquareToSize:(struct _NSSize)fp8;
- (void)translateOriginToPoint:(struct _NSPoint)fp8;
- (void)rotateByAngle:(float)fp8;
- (id)scaleTo:(float)fp8:(float)fp12;
- (id)translateTo:(float)fp8:(float)fp12;
- (void)setFrameRotation:(float)fp8;
- (id)concat:(id)fp8;
- (id)send;
- (id)sendInv;
- (id)transform:(struct _NSPoint *)fp8;
- (id)invTransform:(struct _NSPoint *)fp8;
- (id)makeIdentity;
- (BOOL)identity;
- (BOOL)rotated;
- (id)transformRect:(struct _NSRect *)fp8;
- (id)invTransformRect:(struct _NSRect *)fp8;
- (id)_computeInv;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSQTImageImporter : NSImageReader
{
void *_importer;
int _hfsTypeCode;
BOOL _premultipliedAlpha;
}

+ (BOOL)canImportData:(id)fp8;
- (id)initWithData:(id)fp8 hfsTypeCode:(int)fp12;
- (void)dealloc;
- (BOOL)loadImageHeader;
- (BOOL)loadImage:(char **)fp8;

@end

@interface NSQuickDrawPort : NSObject
{
struct OpaqueGrafPtr *_qdPort;
struct OpaqueGrafPtr *_savePort;
struct GDevice **_saveDevice;
}

- (id)initOffscreen:(struct _NSRect)fp8 withDepth:(short)fp24;
- (void)dealloc;
- (void)lock;
- (void)unlock;
- (void)resetAlpha;
- (struct OpaqueGrafPtr *)port;
- (id)bitmapImage;

@end

@interface NSQuickDrawView : NSView
{
void *_qdPort;
void *_savePort;
BOOL _synchToView;
}

- (void)dealloc;
- (void)setFrameOrigin:(struct _NSPoint)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (id)_invalidateGStatesForTree;
- (BOOL)lockFocusIfCanDraw;
- (void)unlockFocus;
- (void *)qdPort;
- (BOOL)isFlipped;
- (BOOL)isOpaque;

@end

@interface NSQuickDrawView (NSQuickDrawView_Internal)
- (void)_lockQuickDrawPort;
- (void)_unlockQuickDrawPort;
- (void)_adjustPort;
@end

@interface NSResponder : NSObject
{
id _nextResponder;
}

- (id)nextResponder;
- (void)setNextResponder:(id)fp8;
- (BOOL)tryToPerform:(SEL)fp8 with:(id)fp12;
- (id)validRequestorForSendType:(id)fp8 returnType:(id)fp12;
- (BOOL)performKeyEquivalent:(id)fp8;
- (BOOL)performMnemonic:(id)fp8;
- (void)mouseDown:(id)fp8;
- (void)rightMouseDown:(id)fp8;
- (void)otherMouseDown:(id)fp8;
- (void)mouseUp:(id)fp8;
- (void)rightMouseUp:(id)fp8;
- (void)otherMouseUp:(id)fp8;
- (void)mouseMoved:(id)fp8;
- (void)mouseDragged:(id)fp8;
- (void)scrollWheel:(id)fp8;
- (void)rightMouseDragged:(id)fp8;
- (void)otherMouseDragged:(id)fp8;
- (void)mouseEntered:(id)fp8;
- (void)mouseExited:(id)fp8;
- (void)keyDown:(id)fp8;
- (void)keyUp:(id)fp8;
- (void)flagsChanged:(id)fp8;
- (void)noResponderFor:(SEL)fp8;
- (BOOL)acceptsFirstResponder;
- (BOOL)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (BOOL)shouldBeTreatedAsInkEvent:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)interpretKeyEvents:(id)fp8;
- (void)flushBufferedKeyEvents;
- (void)setMenu:(id)fp8;
- (id)menu;
- (id)undoManager;
- (void)dealloc;
- (void)helpRequested:(id)fp8;
- (void)showContextHelp:(id)fp8;
- (void)insertText:(id)fp8;
- (void)doCommandBySelector:(SEL)fp8;
- (BOOL)_shouldPostEventNotifications;
- (void)_setShouldPostEventNotifications:(BOOL)fp8;
- (void)_postEventNotification:(id)fp8;
- (void)_postEventNotification:(id)fp8 fromCell:(id)fp12;

@end

@interface NSLeafProxy
{
Class isa;
NSString *dir;
NSString *file;
NSDocInfo *docInfo;
int refCount;
id realObject;
}

+ (id)allocWithZone:(struct _NSZone *)fp8;
+ (id)alloc;
+ (void)initialize;
+ (id)forward:(SEL)fp8:(void *)fp12;
+ (void)forwardInvocation:(id)fp8;
- (id)forward:(SEL)fp8:(void *)fp12;
- (void)forwardInvocation:(id)fp8;
- (id)methodSignatureForSelector:(SEL)fp8;
- (id)initDir:(id)fp8 file:(id)fp12 docInfo:(id)fp16;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)copy;
- (void)reallyDealloc;
- (id)retain;
- (void)release;
- (id)autorelease;
- (unsigned int)retainCount;
- (void)dealloc;
- (BOOL)isProxy;

@end

@interface NSDirInfoDeserializer : NSAKDeserializer
{
}

- (id)deserializePListValueIn:(id)fp8 key:(id)fp12 length:(unsigned int)fp16;

@end

@interface NSDirInfoSerializer : NSAKSerializer
{
}

- (unsigned int)serializePListValueIn:(id)fp8 key:(id)fp12 value:(id)fp16;

@end

@interface NSDocumentSerializer : NSAKSerializer
{
}

- (unsigned int)serializePListValueIn:(id)fp8 key:(id)fp12 value:(id)fp16;

@end

@interface NSDocInfo : NSObject
{
int time;
unsigned short mode;
struct {
unsigned int isDir:1;
unsigned int isSingleFile:1;
unsigned int isSoftLink:1;
unsigned int _pad:13;
} flags;
}

- (id)initFromInfo:(struct stat *)fp8;
- (id)initWithFileAttributes:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)copy;

@end

@interface NSDirInfo : NSMutableDictionary
{
NSMutableDictionary *dict;
}

- (id)init;
- (id)initWithObjects:(id *)fp8 forKeys:(id *)fp12 count:(unsigned int)fp16;
- (id)initWithDictionary:(id)fp8 copyItems:(BOOL)fp12;
- (id)initWithDictionary:(id)fp8;
- (id)initWithContentsOfFile:(id)fp8;
- (id)initWithCapacity:(unsigned int)fp8;
- (void)dealloc;
- (unsigned int)count;
- (id)objectForKey:(id)fp8;
- (id)keyEnumerator;
- (void)setObject:(id)fp8 forKey:(id)fp12;
- (void)removeObjectForKey:(id)fp8;
- (int)writePath:(id)fp8 docInfo:(id)fp12 errorHandler:(id)fp16 remapContents:(BOOL)fp20;
- (id)serializeToData;

@end

@interface NSDocumentDeserializer : NSAKDeserializer
{
}

- (id)deserializeNewData;
- (void)fixupDirInfo:(id)fp8;
- (id)deserializeNewPList;

@end

@interface NSRTFD : NSMutableDictionary
{
NSMutableDictionary *dict;
}

+ (void)initialize;
- (id)init;
- (id)initWithObjects:(id *)fp8 forKeys:(id *)fp12 count:(unsigned int)fp16;
- (id)initWithDictionary:(id)fp8 copyItems:(BOOL)fp12;
- (id)initWithDictionary:(id)fp8;
- (id)initWithContentsOfFile:(id)fp8;
- (id)initWithCapacity:(unsigned int)fp8;
- (void)dealloc;
- (unsigned int)count;
- (id)objectForKey:(id)fp8;
- (id)keyEnumerator;
- (void)setObject:(id)fp8 forKey:(id)fp12;
- (void)removeObjectForKey:(id)fp8;
- (BOOL)isPackage;
- (id)setPackage:(BOOL)fp8;
- (int)initUnixFile:(id)fp8;
- (int)initFromDocument:(id)fp8;
- (int)writePath:(id)fp8 docInfo:(id)fp12 errorHandler:(id)fp16 remapContents:(BOOL)fp20;
- (int)internalWritePath:(id)fp8 errorHandler:(id)fp12 remapContents:(BOOL)fp16;
- (int)internalSaveTo:(id)fp8 removeBackup:(BOOL)fp12 errorHandler:(id)fp16 temp:(id)fp20 backup:(id)fp24;
- (id)nameFromPath:(id)fp8 extra:(id)fp12;
- (id)tmpNameFromPath:(id)fp8 extension:(id)fp12;
- (id)tmpNameFromPath:(id)fp8;
- (int)internalSaveTo:(id)fp8 removeBackup:(BOOL)fp12 errorHandler:(id)fp16;
- (int)saveToDocument:(id)fp8 removeBackup:(BOOL)fp12 errorHandler:(id)fp16;
- (id)dataRepresentation;
- (id)initWithDataRepresentation:(id)fp8;
- (id)createRandomKey:(id)fp8;
- (id)createUniqueKey:(id)fp8;
- (id)uniqueKey:(id)fp8;
- (id)getDocument:(id)fp8 docInfo:(id)fp12;
- (id)replaceFile:(id)fp8 data:(id)fp12;
- (id)replaceFile:(id)fp8 path:(id)fp12;
- (id)addCommon:(id)fp8 docInfo:(id)fp12 value:(id)fp16 zone:(struct _NSZone *)fp20;
- (id)_getDocInfoForKey:(id)fp8;
- (id)addFile:(id)fp8;
- (id)addLink:(id)fp8;
- (id)dataForFile:(id)fp8;
- (id)removeFile:(id)fp8;
- (id)copy:(id)fp8 into:(id)fp12;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)copy;
- (id)addData:(id)fp8 name:(id)fp12;
- (int)validatePath:(id)fp8 ignore:(id)fp12;

@end

@interface NSRTFD (NSNewTextSupport)
- (BOOL)_isLink:(id)fp8;
@end

@interface NSRTFD (NSSerializationSupport)
- (id)serialize:(void **)fp8 length:(unsigned int *)fp12;
- (id)freeSerialized:(void *)fp8 length:(unsigned int)fp12;
- (id)initFromSerialized:(id)fp8;
- (id)pasteboardDataRepresentation;
- (id)initWithPasteboardDataRepresentation:(id)fp8;
@end

@interface NSString (NSUniquePart)
- (struct _NSRange)significantText;
@end

@interface NSRTFD (NSInternalUseOnly)
- (id)getDirInfo:(BOOL)fp8;
- (int)addFileNamed:(id)fp8 fileAttributes:(id)fp12;
- (int)insertItem:(id)fp8 path:(id)fp12 dirInfo:(id)fp16 zone:(struct _NSZone *)fp20 plist:(id)fp24;
- (int)realAddDirNamed:(id)fp8;
- (int)addDirNamed:(id)fp8 lazy:(BOOL)fp12;
@end

@interface NSRTFD (NSTextDocumentPboard)
- (id)initFromElement:(id)fp8 ofDocument:(id)fp12;
@end

@interface NSHardLinkInfo : NSObject
{
NSString *name;
int device;
unsigned int inode;
int refCount;
}

- (id)initFromName:(id)fp8 device:(int)fp12 inode:(unsigned int)fp16;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)copy;
- (void)dealloc;

@end

@interface NSPageData : NSData
{
NSData *data;
}

+ (void)initialize;
+ (int)_umask;
+ (id)allocWithZone:(struct _NSZone *)fp8;
+ (id)alloc;
- (unsigned int)length;
- (const void *)bytes;
- (id)init;
- (id)initWithBytesNoCopy:(void *)fp8 length:(unsigned int)fp12;
- (id)initWithBytes:(const void *)fp8 length:(unsigned int)fp12;
- (id)initWithData:(id)fp8;
- (id)initWithContentsOfFile:(id)fp8;
- (id)initWithContentsOfMappedFile:(id)fp8;
- (id)initWithContentsOfMappedFile:(id)fp8 withFileAttributes:(id)fp12;
- (id)_mappedFile;
- (void)dealloc;
- (void)release;
- (id)retain;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)copy;
- (int)writePath:(id)fp8 docInfo:(id)fp12 errorHandler:(id)fp16 remapContents:(BOOL)fp20;
- (id)initFromSerializerStream:(id)fp8 length:(unsigned int)fp12;
- (struct _NXStream *)stream;
- (id)deserializer;

@end

@interface NSPageData (NSInternal)
- (int)writeFd:(int)fp8;
- (int)writeFile:(id)fp8;
@end

@interface NSAKDeserializer : NSObject
{
id ds;
}

- (id)initForDeserializerStream:(id)fp8;
- (void)dealloc;
- (id)deserializerStream;
- (id)deserializeNewObject;
- (id)deserializeNewData;
- (id)deserializeData:(id)fp8;
- (id)deserializeNewString;
- (id)deserializeNewKeyString;
- (id)deserializeString:(id)fp8;
- (id)deserializeNewList;
- (id)deserializeList:(id)fp8;
- (id)deserializeListItemIn:(id)fp8 at:(unsigned int)fp12 length:(unsigned int)fp16;
- (id)deserializeNewPList;
- (id)deserializePList:(id)fp8;
- (id)deserializePListKeyIn:(id)fp8;
- (id)deserializePListValueIn:(id)fp8 key:(id)fp12 length:(unsigned int)fp16;

@end

@interface NSAKSerializer : NSObject
{
id ss;
}

- (id)initForSerializerStream:(id)fp8;
- (void)dealloc;
- (id)serializerStream;
- (unsigned int)serializeObject:(id)fp8;
- (unsigned int)serializeData:(id)fp8;
- (unsigned int)serializeString:(id)fp8;
- (unsigned int)serializeList:(id)fp8;
- (unsigned int)serializeListItemIn:(id)fp8 at:(unsigned int)fp12;
- (unsigned int)serializePropertyList:(id)fp8;
- (unsigned int)serializePListKeyIn:(id)fp8 key:(id)fp12 value:(id)fp16;
- (unsigned int)serializePListValueIn:(id)fp8 key:(id)fp12 value:(id)fp16;

@end

@interface NSAKDeserializerStream : NSObject
{
void *memory;
char *current;
unsigned int left;
unsigned int max;
BOOL freeWhenDone;
}

- (id)initFromMemoryNoCopy:(const void *)fp8 length:(unsigned int)fp12 freeWhenDone:(BOOL)fp16;
- (void)dealloc;
- (id)initFromPath:(id)fp8;
- (int)readInt;
- (unsigned int)readAlignedDataSize;
- (void)readData:(void *)fp8 length:(unsigned int)fp12;

@end

@interface NSAKSerializerStream : NSObject
{
void *memory;
unsigned int current;
unsigned int max;
struct __CFDictionary *roomForIntLocations;
}

- (void)dealloc;
- (unsigned int)writeInt:(int)fp8;
- (unsigned int)writeAlignedDataSize:(unsigned int)fp8;
- (unsigned int)writeData:(const void *)fp8 length:(unsigned int)fp12;
- (unsigned int)writeRoomForInt:(int *)fp8;
- (void)writeDelayedInt:(int)fp8 for:(int)fp12;
- (BOOL)writeToPath:(id)fp8 safely:(BOOL)fp12;
- (void)copySerializationInto:(void *)fp8;

@end

@interface NSRTFReader : NSObject
{
NSMutableAttributedString *_topAttributedString;
NSMutableAttributedString *_curAttributedString;
NSMutableArray *_attributesStack;
NSMutableDictionary *_curAttributes;
unsigned int _level;
NSData *_rtfData;
NSMutableDictionary *_fontTable;
NSFileWrapper *_document;
union {
char thin[128];
unsigned short fat[128];
} _textBuffer;
unsigned int _textBufferIndex;
int _rtfVersion;
int _cocoaVersion;
int _readOnly;
unsigned int _defaultToUniCharEncoding;
struct _NSAttributeInfo _attributeInfo;
NSMutableData *_attributeInfoStack;
struct _NSSize _paperSize;
float _lMargin;
float _rMargin;
float _bMargin;
float _tMargin;
struct _NSSize _viewSize;
int _viewScale;
int _viewKind;
struct _NSMapTable *_cachedRTFFontTable;
float _hyphenationFactor;
float _defaultTabInterval;
NSColor *_documentBackgroundColor;
struct _NSRTFPriv _private;
BOOL _textBufferContentsIsFat;
BOOL _explicitCharSetEncountered;
BOOL _isRTLDocument;
}

- (id)initWithRTFD:(id)fp8;
- (id)initWithPath:(id)fp8;
- (id)initWithRTFDFileWrapper:(id)fp8;
- (id)initWithRTF:(id)fp8;
- (void)_setRTFDFileWrapper:(id)fp8;
- (id)_RTFDFileWrapper;
- (void)setPaperSize:(struct _NSSize)fp8;
- (struct _NSSize)paperSize;
- (void)setViewSize:(struct _NSSize)fp8;
- (struct _NSSize)viewSize;
- (void)setViewKind:(int)fp8;
- (void)setViewScale:(int)fp8;
- (int)cocoaVersion;
- (void)setCocoaVersion:(int)fp8;
- (void)setReadOnly:(int)fp8;
- (void)setLeftMargin:(float)fp8;
- (void)setRightMargin:(float)fp8;
- (void)setTopMargin:(float)fp8;
- (void)setBottomMargin:(float)fp8;
- (void)setHyphenationFactor:(float)fp8;
- (void)setBackgroundColor:(id)fp8;
- (void)setDefaultTabInterval:(float)fp8;
- (float)defaultTabInterval;
- (void)setBaseWritingDirection:(int)fp8;
- (int)baseWritingDirection;
- (id)documentAttributes;
- (void)setMutableAttributedString:(id)fp8;
- (id)mutableAttributedString;
- (id)mutableAttributes;
- (id)defaultParagraphStyle;
- (id)_mutableParagraphStyle;
- (id)attributedStringToEndOfGroup;
- (id)attributedString;
- (id)attributesAtEndOfGroup;
- (void)_updateAttributes;
- (void)processString:(id)fp8;
- (void)_pushState;
- (void)_popState;
- (void)dealloc;

@end

@interface NSRTFWriter : NSObject
{
NSMutableData *_output;
NSAttributedString *_attrString;
unsigned int _attrStringLength;
NSFileWrapper *_document;
NSMutableDictionary *_fontNames;
NSMutableDictionary *_colors;
id _curFont;
id _curForegroundColor;
id _curBackgroundColor;
id _curParagraphStyle;
id _curKern;
id _curBaselineOffset;
id _curSuperscript;
id _curUnderlineStyle;
unsigned int _curTraits;
unsigned int _curEncoding;
struct _NSSize _paperSize;
float _lMargin;
float _rMargin;
float _bMargin;
float _tMargin;
struct _NSSize _viewSize;
int _viewScale;
int _viewKind;
BOOL forceColorWrite;
float _hyphenationFactor;
float _defaultTabInterval;
NSColor *_documentBackgroundColor;
int _readOnly;
}

+ (void)initialize;
- (void)_writeCharacters:(id)fp8 range:(struct _NSRange)fp12;
- (void)writeEscapedUTF8String:(id)fp8;
- (int)_mostCompatibleCharset:(id)fp8;
- (id)initWithAttributedString:(id)fp8;
- (void)dealloc;
- (id)RTFD;
- (id)RTFDFileWrapper;
- (id)_RTFDFileWrapper;
- (void)_setRTFDFileWrapper:(id)fp8;
- (void)setPaperSize:(struct _NSSize)fp8;
- (struct _NSSize)paperSize;
- (void)setLeftMargin:(float)fp8;
- (void)setRightMargin:(float)fp8;
- (void)setTopMargin:(float)fp8;
- (void)setBottomMargin:(float)fp8;
- (void)setHyphenationFactor:(float)fp8;
- (void)setDefaultTabInterval:(float)fp8;
- (void)setReadOnly:(int)fp8;
- (void)setViewSize:(struct _NSSize)fp8;
- (void)setViewZoom:(float)fp8;
- (void)setViewKind:(float)fp8;
- (void)setBackgroundColor:(id)fp8;
- (void)setDocumentAttributes:(id)fp8;
- (void)writeRTF;
- (id)RTF;
- (void)collectResources;
- (void)writeFontTable;
- (void)writeColorTable;
- (void)writeStyleSheetTable;
- (void)writePaperSize;
- (void)writeHyphenation;
- (void)writeDefaultTabInterval;
- (void)writeBackgroundColor;
- (void)_writeVersionsAndEncodings;
- (void)writeHeader;
- (void)writeParagraphStyle:(id)fp8;
- (id)_plainFontNameForFont:(id)fp8;
- (void)writeFont:(id)fp8;
- (void)writeKern:(id)fp8;
- (void)writeUnderlineStyle:(id)fp8 allowStrikethrough:(BOOL)fp12;
- (void)writeStrikethroughStyle:(id)fp8;
- (void)writeSuperscript:(id)fp8;
- (void)writeBaselineOffset:(id)fp8;
- (void)writeColor:(id)fp8 type:(unsigned int)fp12;
- (void)writeLigature:(id)fp8;
- (void)writeCharacterShape:(id)fp8;
- (void)writeStrokeWidth:(id)fp8;
- (void)writeObliqueness:(id)fp8;
- (void)writeExpansion:(id)fp8;
- (void)writeAAT:(id)fp8;
- (void)writeShadow:(id)fp8;
- (void)restoreAttributes:(id)fp8;
- (void)writeCharacterAttributes:(id)fp8 previousAttributes:(id)fp12;
- (void)writeAttachment:(id)fp8;
- (void)writeGlyphInfo:(id)fp8;
- (BOOL)writeLinkInfo:(id)fp8;
- (void)writeBody;

@end

@interface NSMutableData (NSMutableDataWritingConveniences)
- (void)_appendCString:(const char *)fp8;
@end

@interface NSRulebookCharacterSet : NSCharacterSet
{
struct _NSRulebookSetHeader *rbset;
}

- (id)_initWithSet:(void *)fp8;
- (BOOL)characterIsMember:(unsigned short)fp8;

@end

@interface NSRulebook : NSObject
{
char *rbuf;
NSData *databuf;
struct _NSRulebookHeader *header;
struct _NSRulebookSetHeader *setofrules;
id charsCovered;
int *proptable;
int *entryListList;
int *entryList;
struct _NSRulebookTestStruct *TSA;
struct _NSRangeKeyRec *rangeKeyRecs;
int *rb;
NSRulebook *implementor[4];
}

+ (void)_setNetPathsDisabled:(BOOL)fp8;
+ (void)initialize;
+ (id)glyphGeneratorForEncoding:(id)fp8 language:(id)fp12 font:(id)fp16;
+ (id)glyphGeneratorForTriplet:(id)fp8 makeSharable:(BOOL)fp12;
+ (id)glyphGeneratorForEncoding:(id)fp8 language:(id)fp12 font:(id)fp16 makeSharable:(BOOL)fp20;
+ (id)sampleTextForEncoding:(id)fp8 language:(id)fp12 font:(id)fp16;
+ (void)flushLocalCopiesOfSharedRulebooks;
+ (id)loadRulebook:(id)fp8;
+ (void)_serverDied:(id)fp8;
+ (id)proxyForRulebookServer;
+ (id)coveredCharacterCache;
- (id)initWithData:(id)fp8;
- (id)initWithFile:(id)fp8;
- (id)runInitialization;
- (BOOL)coversCharacter:(unsigned short)fp8;
- (id)coveredCharacterSet;
- (unsigned int)propertyTableCount;
- (struct _NSRulebookSetHeader *)propertyTableAtIndex:(unsigned int)fp8;
- (BOOL)setImplementor:(id)fp8 atIndex:(unsigned int)fp12;
- (id)implementorAtIndex:(unsigned int)fp8;
- (struct _NSRulebookTestStruct *)testStructArrayAtIndex:(unsigned int)fp8;
- (int *)codeSegment;
- (id)data;
- (int *)findEntryListFor:(unsigned short)fp8;
- (void)dealloc;
- (int)maxUserData;
- (void)_dumpBookSegments;
- (id)representationOfCoveredCharacters;
- (unsigned int)hyphenGlyph;

@end

@interface NSRulerMarker : NSObject
{
NSRulerView *_ruler;
float _location;
NSImage *_image;
struct _NSPoint _imageOrigin;
struct __rFlags _rFlags;
id _representedObject;
}

+ (id)_numericIndicatorCell;
+ (void)initialize;
- (id)initWithRulerView:(id)fp8 markerLocation:(float)fp12 image:(id)fp16 imageOrigin:(struct _NSPoint)fp20;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)ruler;
- (void)setMarkerLocation:(float)fp8;
- (float)markerLocation;
- (void)setImage:(id)fp8;
- (id)image;
- (void)setImageOrigin:(struct _NSPoint)fp8;
- (struct _NSPoint)imageOrigin;
- (void)setMovable:(BOOL)fp8;
- (void)setRemovable:(BOOL)fp8;
- (BOOL)isMovable;
- (BOOL)isRemovable;
- (BOOL)isDragging;
- (void)setRepresentedObject:(id)fp8;
- (id)representedObject;
- (struct _NSPoint)_originPointInRuler;
- (struct _NSPoint)_compositePointInRuler;
- (struct _NSRect)imageRectInRuler;
- (float)thicknessRequiredInRuler;
- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)trackMouse:(id)fp8 adding:(BOOL)fp12;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSRulerMarkerPanel : NSPanel
{
}

- (BOOL)hasShadow;

@end

@interface NSRulerMarker (NSTextExtensions)
+ (id)leftMarginMarkerWithRulerView:(id)fp8 location:(float)fp12;
+ (id)rightMarginMarkerWithRulerView:(id)fp8 location:(float)fp12;
+ (id)firstIndentMarkerWithRulerView:(id)fp8 location:(float)fp12;
+ (id)leftIndentMarkerWithRulerView:(id)fp8 location:(float)fp12;
+ (id)rightIndentMarkerWithRulerView:(id)fp8 location:(float)fp12;
+ (id)leftTabMarkerWithRulerView:(id)fp8 location:(float)fp12;
+ (id)rightTabMarkerWithRulerView:(id)fp8 location:(float)fp12;
+ (id)centerTabMarkerWithRulerView:(id)fp8 location:(float)fp12;
+ (id)decimalTabMarkerWithRulerView:(id)fp8 location:(float)fp12;
@end

@interface NSRulerView : NSView
{
NSScrollView *_scrollView;
int _orientation;
NSString *_units;
float _originOffset;
float _ruleThickness;
float _thicknessForMarkers;
float _thicknessForAccessoryView;
NSView *_clientView;
NSMutableArray *_markers;
NSView *_accessoryView;
NSDictionary *_cachedHashDict;
float _cachedDocViewToRulerConversion;
struct _NSPoint _cachedContentBoundsOrigin;
NSRulerMarker *_draggingMarker;
void *_reservedRulerView1;
}

+ (void)registerUnitWithName:(id)fp8 abbreviation:(id)fp12 unitToPointsConversionFactor:(float)fp16 stepUpCycle:(id)fp20 stepDownCycle:(id)fp24;
+ (void)initialize;
- (id)initWithScrollView:(id)fp8 orientation:(int)fp12;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (void)setScrollView:(id)fp8;
- (id)scrollView;
- (void)setOrientation:(int)fp8;
- (int)orientation;
- (float)baselineLocation;
- (float)requiredThickness;
- (void)setRuleThickness:(float)fp8;
- (float)ruleThickness;
- (void)setReservedThicknessForMarkers:(float)fp8;
- (float)reservedThicknessForMarkers;
- (void)setReservedThicknessForAccessoryView:(float)fp8;
- (float)reservedThicknessForAccessoryView;
- (void)setMeasurementUnits:(id)fp8;
- (id)measurementUnits;
- (void)setOriginOffset:(float)fp8;
- (float)originOffset;
- (void)setClientView:(id)fp8;
- (id)clientView;
- (void)setMarkers:(id)fp8;
- (void)addMarker:(id)fp8;
- (void)removeMarker:(id)fp8;
- (id)markers;
- (BOOL)trackMarker:(id)fp8 withMouseEvent:(id)fp12;
- (void)setAccessoryView:(id)fp8;
- (id)accessoryView;
- (void)moveRulerlineFromLocation:(float)fp8 toLocation:(float)fp12;
- (void)invalidateHashMarks;
- (void)drawBackgroundInRect:(struct _NSRect)fp8;
- (void)drawSeparatorInRect:(struct _NSRect)fp8;
- (void)drawHashMarksAndLabelsInRect:(struct _NSRect)fp8;
- (void)drawMarkersInRect:(struct _NSRect)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (BOOL)isOpaque;
- (BOOL)isFlipped;
- (BOOL)mouseDownCanMoveWindow;
- (void)mouseDown:(id)fp8;
- (id)description;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (BOOL)_wantsLiveResizeToUseCachedImage;
- (void)_captureVisibleIntoLiveResizeCache;
- (void)_recursiveDisplayAllDirtyWithLockFocus:(BOOL)fp8 visRect:(struct _NSRect)fp12;

@end

@interface NSRulerView (NSPrivate)
+ (id)_labelCell;
+ (void)_registerUnitWithName:(id)fp8 abbreviation:(id)fp12 unitToPointsConversionFactor:(float)fp16 stepUpCycle:(id)fp20 stepDownCycle:(id)fp24;
+ (id)_registrationDictionaryForUnitNamed:(id)fp8;
- (struct _NSRect)_ruleAreaRect;
- (struct _NSRect)_maxRuleAreaRect;
- (struct _NSRect)_markerAreaRect;
- (struct _NSRect)_rulerAccessoryViewAreaRect;
- (struct _NSPoint)_rulerOrigin;
- (id)_hashMarkDictionary;
- (id)_hashMarkDictionaryForDocumentView:(id)fp8 measurementUnitName:(id)fp12;
- (id)_hashMarkDictionaryForDocView:(id)fp8 measurementUnitToBoundsConversionFactor:(float)fp12 stepUpCycle:(id)fp16 stepDownCycle:(id)fp20 minimumHashSpacing:(float)fp24 minimumLabelSpacing:(float)fp28;
- (id)_markerHitTest:(struct _NSPoint)fp8;
- (BOOL)displaysTooltips;
- (void)setDisplaysTooltips:(BOOL)fp8;
- (void)_scrollToMatchContentView;
- (void)_bitBlitSourceRect:(struct _NSRect)fp8 toDestinationRect:(struct _NSRect)fp24;
- (void)_setDraggingMarker:(id)fp8;
- (void)_recursiveDisplayRectIfNeededIgnoringOpacity:(struct _NSRect)fp8 isVisibleRect:(BOOL)fp24 rectIsVisibleRectForView:(id)fp28 topView:(BOOL)fp32;
- (float)_unitsForClientLocation:(float)fp8;
- (float)_unitsForRulerLocation:(float)fp8;
@end

@interface NSRulerView (NSRulerViewAccessibility)
- (BOOL)accessibilityIsIgnored;
@end

@interface NSRunStorage : NSObject
{
unsigned int _count;
unsigned int _elementSize;
unsigned int _numBlocks;
unsigned int _maxBlocks;
unsigned int _indexDeltaStartBlock;
int _indexDelta;
struct _NSRunBlock *_runs;
unsigned int _cachedBlock;
struct _NSRange _cachedBlockRange;
unsigned int _gapBlockIndex;
}

+ (void)initialize;
- (id)initWithElementSize:(unsigned int)fp8 capacity:(unsigned int)fp12;
- (id)init;
- (id)initWithRunStorage:(id)fp8;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (unsigned int)count;
- (unsigned int)elementSize;
- (void *)elementAtIndex:(unsigned int)fp8 effectiveRange:(struct _NSRange *)fp12;
- (void)replaceElementsInRange:(struct _NSRange)fp8 withElement:(void *)fp16 coalesceRuns:(BOOL)fp20;
- (void)insertElement:(void *)fp8 range:(struct _NSRange)fp12 coalesceRuns:(BOOL)fp20;
- (void)removeElementsInRange:(struct _NSRange)fp8 coalesceRuns:(BOOL)fp16;
- (id)description;

@end

@interface NSRunStorage (NSPrivate)
+ (void)_setConsistencyCheckingEnabled:(BOOL)fp8 superCheckEnabled:(BOOL)fp12;
- (void)_ensureCapacity:(unsigned int)fp8;
- (void)_moveGapToBlockIndex:(unsigned int)fp8;
- (void)_moveGapAndMergeWithBlockRange:(struct _NSRange)fp8;
- (void)_consistencyCheck:(int)fp8;
- (void)_consistencyError:(int)fp8 startAtZeroError:(BOOL)fp12 cacheError:(BOOL)fp16 inconsistentBlockError:(BOOL)fp20;
@end

@interface NSScreen : NSObject
{
struct _NSRect _frame;
int _depth;
int _screenNumber;
struct NSScreenAuxiliary *_auxiliaryStorage;
}

+ (id)screens;
+ (void)_resetScreens;
+ (id)mainScreen;
+ (id)_zeroScreen;
+ (id)deepestScreen;
- (id)init;
- (void)dealloc;
- (id)initWithFrame:(struct _NSRect)fp8 depth:(int)fp24;
- (int)depth;
- (struct _NSRect)frame;
- (struct _NSRect)visibleFrame;
- (struct _NSRect)_savedVisibleFrame;
- (void)_saveVisibleFrame;
- (id)deviceDescription;
- (const int *)supportedWindowDepths;

@end

@interface NSScriptExecutionContext (NSAppKitScripting)
- (void)_setUpDefaultTopLevelObject;
@end

@interface NSScroller : NSControl
{
float _curValue;
float _percent;
float _knobSize;
struct __sFlags2 _sFlags2;
id _target;
SEL _action;
struct _sFlags sFlags;
}

+ (void)_aquaScrollerVariantChanged:(id)fp8;
+ (float)scrollerWidth;
+ (float)scrollerWidthForControlSize:(int)fp8;
+ (void)initialize;
+ (int)_arrowsConfig;
+ (void)_setArrowsConfig:(int)fp8;
+ (void)_drawEndCapInRect:(struct _NSRect)fp8;
- (BOOL)_hasSeparateArrows;
- (double)_repeatTime;
- (id)_setWindow:(id)fp8;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (BOOL)isOpaque;
- (BOOL)isFlipped;
- (void)drawParts;
- (struct _NSRect)_drawingRectForPart:(int)fp8;
- (struct _NSRect)rectForPart:(int)fp8;
- (void)checkSpaceForParts;
- (int)usableParts;
- (id)target;
- (void)setTarget:(id)fp8;
- (SEL)action;
- (void)setAction:(SEL)fp8;
- (void)_adjustForGrowBox;
- (void)setFrameOrigin:(struct _NSPoint)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)setArrowsPosition:(int)fp8;
- (int)arrowsPosition;
- (void)setControlTint:(int)fp8;
- (int)controlTint;
- (void)setControlSize:(int)fp8;
- (int)controlSize;
- (int)_realControlTint;
- (void)setEnabled:(BOOL)fp8;
- (void)drawArrow:(int)fp8 highlightPart:(int)fp12;
- (void)drawArrow:(int)fp8 highlight:(BOOL)fp12;
- (void)drawKnob;
- (void)drawKnobSlotInRect:(struct _NSRect)fp8 highlight:(BOOL)fp24;
- (void)drawRect:(struct _NSRect)fp8;
- (void)highlight:(BOOL)fp8;
- (void)_getPartStruct:(struct _PartStruct *)fp8 numberOfParts:(unsigned int *)fp12 withInnerBounds:(struct _NSRect)fp16;
- (int)_testPartUsingDestinationFloatValue:(struct _NSPoint)fp8;
- (int)testPart:(struct _NSPoint)fp8;
- (BOOL)sendAction:(SEL)fp8 to:(id)fp12;
- (void)trackKnob:(id)fp8;
- (void)trackScrollButtons:(id)fp8;
- (void)trackPagingArea:(id)fp8;
- (void)mouseDown:(id)fp8;
- (int)hitPart;
- (float)floatValue;
- (float)knobProportion;
- (void)setFloatValue:(float)fp8 knobProportion:(float)fp12;
- (void)setFloatValue:(float)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)setInterfaceStyle:(int)fp8;
- (void)_windowChangedKeyState;

@end

@interface NSScroller (NSScrollerPrivate)
- (void)_decrementLine:(id)fp8;
- (void)_incrementLine:(id)fp8;
- (void)_decrementPage:(id)fp8;
- (void)_incrementPage:(id)fp8;
@end

@interface NSAccessibilityScrollerPart : NSAccessibilityMockUIElement
{
int _partCode;
}

+ (id)partWithCode:(int)fp8 parent:(id)fp12;
- (id)initWithPartCode:(int)fp8 parent:(id)fp12;
- (int)partCode;
- (BOOL)isEqual:(id)fp8;
- (id)accessibilityAttributeNames;
- (id)accessibilitySubroleAttribute;
- (BOOL)accessibilityIsSubroleAttributeSettable;
- (BOOL)_hasPressAction;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;

@end

@interface NSScroller (NSScrollerAccessibility)
+ (BOOL)accessibilityIsSingleCelled;
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (void)accessibilitySetValueAttribute:(id)fp8;
- (id)accessibilityOrientationAttribute;
- (BOOL)accessibilityIsOrientationAttributeSettable;
- (int *)_accessibilitySupportedPartCodes;
- (BOOL)_accessibilityIsSupportedPartCode:(int)fp8;
- (id)_accessibilityUIElementForPartCode:(int)fp8;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsChildrenAttributeSettable;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface NSScrollView : NSView
{
NSScroller *_vScroller;
NSScroller *_hScroller;
NSClipView *_contentView;
NSClipView *_headerClipView;
NSView *_cornerView;
id _ruler;
struct __SFlags _sFlags;
void *_extraIvars;
NSRulerView *_horizontalRuler;
NSRulerView *_verticalRuler;
}

+ (void)initialize;
+ (struct _NSSize)frameSizeForContentSize:(struct _NSSize)fp8 hasHorizontalScroller:(BOOL)fp16 hasVerticalScroller:(BOOL)fp20 borderType:(int)fp24;
+ (struct _NSSize)contentSizeForFrameSize:(struct _NSSize)fp8 hasHorizontalScroller:(BOOL)fp16 hasVerticalScroller:(BOOL)fp20 borderType:(int)fp24;
- (BOOL)scrollRectToVisible:(const struct _NSRect *)fp8 fromView:(id)fp12;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (void *)_regionForOpaqueDescendants:(struct _NSRect)fp8 forMove:(BOOL)fp24;
- (BOOL)isOpaque;
- (BOOL)isFlipped;
- (BOOL)_ownsWindowGrowBox;
- (BOOL)_fixHeaderAndCornerViews;
- (void)setDocumentView:(id)fp8;
- (id)documentView;
- (void)setContentView:(id)fp8;
- (id)contentView;
- (struct _NSRect)documentVisibleRect;
- (void)setDocumentCursor:(id)fp8;
- (id)documentCursor;
- (struct _NSSize)contentSize;
- (void)resizeSubviewsWithOldSize:(struct _NSSize)fp8;
- (void)setCopiesOnScroll:(BOOL)fp8;
- (void)setScrollsDynamically:(BOOL)fp8;
- (BOOL)scrollsDynamically;
- (void)setDrawsBackground:(BOOL)fp8;
- (void)_setDrawsBackground:(BOOL)fp8;
- (BOOL)drawsBackground;
- (BOOL)_drawsBackground;
- (BOOL)_drawRectIfEmpty;
- (void)drawRect:(struct _NSRect)fp8;
- (void)_drawRect:(struct _NSRect)fp8 clip:(BOOL)fp24;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)setFrameOrigin:(struct _NSPoint)fp8;
- (void)setKeyboardFocusRingNeedsDisplayInRect:(struct _NSRect)fp8;
- (void)setNeedsDisplayInRect:(struct _NSRect)fp8;
- (int)borderType;
- (void)setBorderType:(int)fp8;
- (void)_setLineBorderColor:(id)fp8;
- (id)_lineBorderColor;
- (void)setBackgroundColor:(id)fp8;
- (id)backgroundColor;
- (void)setHasVerticalScroller:(BOOL)fp8;
- (BOOL)hasVerticalScroller;
- (void)setHasHorizontalScroller:(BOOL)fp8;
- (BOOL)hasHorizontalScroller;
- (id)verticalScroller;
- (id)horizontalScroller;
- (void)setVerticalScroller:(id)fp8;
- (void)setHorizontalScroller:(id)fp8;
- (BOOL)autohidesScrollers;
- (void)setAutohidesScrollers:(BOOL)fp8;
- (id)_newScroll:(BOOL)fp8;
- (void)_updateRulerlineForRuler:(id)fp8 oldPosition:(float)fp12 newPosition:(float)fp16 vertical:(BOOL)fp20;
- (id)_rulerline:(float)fp8:(float)fp12 last:(BOOL)fp16;
- (id)_commonNewScroll:(id)fp8;
- (float)_repeatMultiplier:(double)fp8;
- (void)setHorizontalLineScroll:(float)fp8;
- (void)setVerticalLineScroll:(float)fp8;
- (void)setLineScroll:(float)fp8;
- (float)horizontalLineScroll;
- (float)verticalLineScroll;
- (float)lineScroll;
- (void)setHorizontalPageScroll:(float)fp8;
- (void)setVerticalPageScroll:(float)fp8;
- (void)setPageScroll:(float)fp8;
- (float)horizontalPageScroll;
- (float)verticalPageScroll;
- (float)pageScroll;
- (void)_doScroller:(id)fp8 hitPart:(int)fp12 multiplier:(float)fp16;
- (float)_scrollWheelMultiplier;
- (void)scrollWheel:(id)fp8;
- (void)_doScroller:(id)fp8;
- (void)_scrollPageInDirection:(int)fp8;
- (void)pageUp:(id)fp8;
- (void)pageDown:(id)fp8;
- (BOOL)needsPanelToBecomeKey;
- (BOOL)acceptsFirstResponder;
- (BOOL)becomeFirstResponder;
- (void)setNextKeyView:(id)fp8;
- (void)setInterfaceStyle:(int)fp8;
- (void)_dynamicColorsChanged:(id)fp8;
- (id)_update;
- (id)_setWindow:(id)fp8;
- (BOOL)_cornerViewHidesWithVerticalScroller;
- (void)_setHorizontalScrollerHidden:(BOOL)fp8;
- (void)_setVerticalScrollerHidden:(BOOL)fp8;
- (void)tile;
- (void)scrollClipView:(id)fp8 toPoint:(struct _NSPoint)fp12;
- (void)reflectScrolledClipView:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)_setAutoResizeDocView:(BOOL)fp8;
- (id)_contentView;
- (void)willRemoveSubview:(id)fp8;
- (void)_finalize;
- (float)_destinationFloatValueForScroller:(id)fp8;

@end

@interface NSScrollView (NSPrivate)
+ (Class)_horizontalScrollerClass;
+ (Class)_verticalScrollerClass;
@end

@interface NSScrollView (NSRulerSupport)
+ (void)setRulerViewClass:(Class)fp8;
+ (Class)rulerViewClass;
- (void)setRulersVisible:(BOOL)fp8;
- (BOOL)rulersVisible;
- (void)setHasHorizontalRuler:(BOOL)fp8;
- (BOOL)hasHorizontalRuler;
- (void)setHasVerticalRuler:(BOOL)fp8;
- (BOOL)hasVerticalRuler;
- (void)setHorizontalRulerView:(id)fp8;
- (id)horizontalRulerView;
- (void)setVerticalRulerView:(id)fp8;
- (id)verticalRulerView;
- (void)_reflectDocumentViewBoundsChange;
- (void)_contentViewBoundsChanged:(id)fp8;
- (id)rulerStateDescription;
@end

@interface NSScrollView (NSScrollViewAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityHorizontalScrollBarAttribute;
- (BOOL)accessibilityIsHorizontalScrollBarAttributeSettable;
- (id)accessibilityVerticalScrollBarAttribute;
- (BOOL)accessibilityIsVerticalScrollBarAttributeSettable;
- (id)accessibilityContentsAttribute;
- (BOOL)accessibilityIsContentsAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsIgnored;
@end

@interface NSSecureTextField : NSTextField
{
}

+ (void)initialize;
+ (void)setCellClass:(Class)fp8;
+ (Class)cellClass;
+ (BOOL)_editingInView:(id)fp8;
- (void)_commonSecureTextFieldInit:(id)fp8;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)viewWillMoveToWindow:(id)fp8;
- (void)viewDidMoveToWindow;
- (void)dealloc;
- (void)_enableSecurity:(id)fp8;
- (void)_disableSecurity:(id)fp8;
- (BOOL)abortEditing;
- (void)mouseDown:(id)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)selectText:(id)fp8;
- (void)updateCell:(id)fp8;
- (void)validateEditing;
- (BOOL)textShouldBeginEditing:(id)fp8;
- (BOOL)textShouldEndEditing:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)textDidBeginEditing:(id)fp8;
- (void)textDidEndEditing:(id)fp8;

@end

@interface NSSecureTextFieldCell : NSTextFieldCell
{
BOOL _echosBullets;
}

+ (void)initialize;
+ (id)_sharedSecureFieldEditor;
- (void)_setBulletCharacter:(unsigned short)fp8;
- (unsigned short)_bulletCharacter;
- (id)initTextCell:(id)fp8;
- (void)setEchosBullets:(BOOL)fp8;
- (BOOL)echosBullets;
- (id)_bulletStringForString:(id)fp8;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)editWithFrame:(struct _NSRect)fp8 inView:(id)fp24 editor:(id)fp28 delegate:(id)fp32 event:(id)fp36;
- (void)selectWithFrame:(struct _NSRect)fp8 inView:(id)fp24 editor:(id)fp28 delegate:(id)fp32 start:(int)fp36 length:(int)fp40;
- (BOOL)textView:(id)fp8 shouldChangeTextInRange:(struct _NSRange)fp12 replacementString:(id)fp20;
- (void)endEditing:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)setObjectValue:(id)fp8;
- (void)_validateEditing:(id)fp8;

@end

@interface NSSecureTextView : NSTextView
{
NSSecureTextStorage *_secureTextStorage;
BOOL _secureInput;
BOOL _capsLockDown;
}

+ (void)initialize;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (void)enableSecureString:(BOOL)fp8;
- (void)enableSecureInput:(BOOL)fp8;
- (void)setSelectable:(BOOL)fp8;
- (id)writablePasteboardTypes;
- (BOOL)writeSelectionToPasteboard:(id)fp8 type:(id)fp12;
- (void)copy:(id)fp8;
- (BOOL)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (void)becomeKeyWindow;
- (void)resignKeyWindow;
- (BOOL)_acceptsMarkedText;
- (void)flagsChanged:(id)fp8;
- (void)drawRect:(struct _NSRect)fp8;

@end

@interface NSSecureTextStorage : NSProxy
{
NSTextStorage *realTextStorage;
NSBulletString *bulletString;
BOOL enabled;
}

- (id)initWithRealTextStorage:(id)fp8;
- (void)dealloc;
- (id)string;
- (void)enable:(BOOL)fp8;
- (void)setBulletCharacter:(unsigned short)fp8;
- (void)addLayoutManager:(id)fp8;
- (void)forwardInvocation:(id)fp8;
- (id)methodSignatureForSelector:(SEL)fp8;

@end

@interface NSBulletString : NSString
{
unsigned short bulletCharacter;
NSTextStorage *textStorage;
}

- (id)initWithTextStorage:(id)fp8;
- (unsigned int)length;
- (unsigned short)characterAtIndex:(unsigned int)fp8;
- (void)setBulletCharacter:(unsigned short)fp8;

@end

@interface NSSecureTextField (NSSecureTextField_Private)
- (void)_setBulletCharacter:(unsigned short)fp8;
- (unsigned short)_bulletCharacter;
@end

@interface NSSecureTextFieldCell (NSSecureTextFieldCellAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityParameterizedAttributeNames;
- (id)accessibilitySubroleAttribute;
- (BOOL)accessibilityIsSubroleAttributeSettable;
- (id)accessibilityValueAttribute;
@end

@interface NSServiceMaster : NSObject
{
NSMutableDictionary *_localObjects;
NSConnection *_cxn;
}

+ (id)sharedServiceMaster;
- (id)init;
- (void)dealloc;
- (void)registerObject:(id)fp8 withServicePath:(id)fp12;
- (void)unregisterObjectWithServicePath:(id)fp8;
- (id)serviceListener;
- (id)objectForServicePath:(id)fp8;
- (id)objectForServicePath:(id)fp8 app:(id)fp12 doLaunch:(BOOL)fp16 limitDate:(id)fp20;

@end

@interface NSServiceListener : NSObject
{
NSMutableArray *serviceProviders;
}

- (void)addServiceProvider:(id)fp8;
- (void)removeServiceProvider:(id)fp8;
- (id)providerRespondingToSelector:(SEL)fp8;
- (id)_doInvokeServiceIn:(id)fp8 msg:(id)fp12 pb:(id)fp16 userData:(id)fp20 error:(id *)fp24 unhide:(BOOL)fp28;
- (int)invokeServiceIn:(id)fp8 msg:(id)fp12 pb:(id)fp16 userData:(id)fp20 error:(id *)fp24;
- (int)invokeServiceIn:(id)fp8 msg:(id)fp12 pb:(id)fp16 userData:(id)fp20 menu:(id)fp24 remoteServices:(id)fp28;
- (void)asyncInvokeServiceIn:(id)fp8 msg:(id)fp12 pb:(id)fp16 userData:(id)fp20 menu:(id)fp24 remoteServices:(id)fp28 unhide:(BOOL)fp32;
- (void)serviceError:(id)fp8 error:(id)fp12;

@end

@interface NSApplication (NSServicesHandling)
- (id)servicesProvider;
- (void)setServicesProvider:(id)fp8;
- (void)registerServiceProvider:(id)fp8 withName:(id)fp12;
- (void)unregisterServiceProviderNamed:(id)fp8;
@end

@interface NSWindow (Sheets)
- (BOOL)_runningDocModal;
- (void)_setSheet:(BOOL)fp8;
- (BOOL)_isSheet;
- (void)_moveSheetByItself:(id)fp8 delta:(struct _NSPoint)fp12;
- (void)_attachSheetWindow:(id)fp8;
- (void)_detachSheetWindow;
- (id)_attachedSheet;
- (id)_documentWindow;
- (void)_setDocumentWindow:(id)fp8;
- (void)_positionSheetRect:(struct _NSRect)fp8 onRect:(struct _NSRect)fp24 andDisplay:(BOOL)fp40;
- (void *)_sheetEffect;
- (float)_sheetEffectInset;
- (void)_adjustSheetEffect;
- (struct _NSRect)startRectForSheet:(id)fp8;
- (void)_positionSheetAndDisplay:(BOOL)fp8;
- (void)_constrainSheetAndDisplay:(BOOL)fp8;
- (struct _NSRect)_positionSheetConstrained:(BOOL)fp8 andDisplay:(BOOL)fp12;
- (void)_orderFrontRelativeToWindow:(id)fp8;
- (void)_orderOutRelativeToWindow:(id)fp8;
- (void)_stashOrigin:(struct _NSPoint)fp8;
- (struct _NSPoint)_stashedOrigin;
- (void)_stashCollapsedOrigin:(struct _NSPoint)fp8;
- (struct _NSPoint)_collapsedOrigin;
- (void)_hideSheet;
- (void)_unhideSheet;
@end

@interface NSMoveHelper (Sheets)
- (void)_startMove;
- (void)_positionWindow;
- (BOOL)_hasSheetFactor:(float *)fp8;
- (void)_startSheet;
- (void)_animateSheet;
- (void)_moveParent:(id)fp8 andOpenSheet:(id)fp12;
- (void)_closeSheet:(id)fp8 andMoveParent:(id)fp12;
@end

@interface NSSlider : NSControl
{
}

+ (void)initialize;
- (id)initWithFrame:(struct _NSRect)fp8;
- (BOOL)isFlipped;
- (BOOL)isOpaque;
- (void)sizeToFit;
- (double)minValue;
- (void)setMinValue:(double)fp8;
- (double)maxValue;
- (void)setMaxValue:(double)fp8;
- (double)altIncrementValue;
- (void)setAltIncrementValue:(double)fp8;
- (void)setTitleCell:(id)fp8;
- (id)titleCell;
- (void)setTitleColor:(id)fp8;
- (id)titleColor;
- (void)setTitleFont:(id)fp8;
- (id)titleFont;
- (id)title;
- (void)setTitle:(id)fp8;
- (id)setTitleNoCopy:(id)fp8;
- (void)setKnobThickness:(float)fp8;
- (float)knobThickness;
- (void)setImage:(id)fp8;
- (id)image;
- (int)isVertical;
- (void)setEnabled:(BOOL)fp8;
- (void)_moveInDirection:(int)fp8;
- (void)moveRight:(id)fp8;
- (void)moveDown:(id)fp8;
- (void)moveLeft:(id)fp8;
- (void)moveUp:(id)fp8;
- (void)pageUp:(id)fp8;
- (void)pageDown:(id)fp8;
- (void)mouseDown:(id)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (void)setNumberOfTickMarks:(int)fp8;
- (int)numberOfTickMarks;
- (void)setTickMarkPosition:(int)fp8;
- (int)tickMarkPosition;
- (void)setAllowsTickMarkValuesOnly:(BOOL)fp8;
- (BOOL)allowsTickMarkValuesOnly;
- (double)tickMarkValueAtIndex:(int)fp8;
- (struct _NSRect)rectOfTickMarkAtIndex:(int)fp8;
- (int)indexOfTickMarkAtPoint:(struct _NSPoint)fp8;
- (double)closestTickMarkValueToValue:(double)fp8;

@end

@interface NSSliderCell : NSActionCell
{
int _reserved[3];
int _numberOfTickMarks;
double _altIncValue;
double _value;
double _maxValue;
double _minValue;
struct _NSRect _trackRect;
struct __sliderCellFlags _scFlags;
}

+ (void)initialize;
+ (BOOL)prefersTrackingUntilMouseUp;
- (id)init;
- (BOOL)_highlightsWithHighlightRect;
- (double)minValue;
- (void)setMinValue:(double)fp8;
- (double)maxValue;
- (void)setMaxValue:(double)fp8;
- (id)stringValue;
- (void)setStringValue:(id)fp8;
- (id)objectValue;
- (void)setObjectValue:(id)fp8;
- (int)intValue;
- (void)setIntValue:(int)fp8;
- (float)floatValue;
- (void)setFloatValue:(float)fp8;
- (double)doubleValue;
- (void)setDoubleValue:(double)fp8;
- (void)setContinuous:(BOOL)fp8;
- (BOOL)isContinuous;
- (BOOL)isOpaque;
- (BOOL)_usesCustomTrackImage;
- (void)_drawCustomTrackWithTrackRect:(struct _NSRect)fp8 inView:(id)fp24;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (void)setKnobThickness:(float)fp8;
- (BOOL)_setKnobThickness:(float)fp8 usingInsetRect:(BOOL)fp12;
- (float)knobThickness;
- (void)setImage:(id)fp8;
- (id)image;
- (void)setTitleColor:(id)fp8;
- (id)titleColor;
- (void)setTitleFont:(id)fp8;
- (id)titleFont;
- (id)title;
- (void)setTitle:(id)fp8;
- (void)setTitleCell:(id)fp8;
- (id)titleCell;
- (void)setSliderType:(int)fp8;
- (int)sliderType;
- (struct _NSRect)knobRectFlipped:(BOOL)fp8;
- (void)drawKnob:(struct _NSRect)fp8;
- (void)_drawLiveResizeHighlightWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawKnob;
- (BOOL)_calcTrackRect:(struct _NSRect *)fp8 andAdjustRect:(BOOL)fp12;
- (void)drawBarInside:(struct _NSRect)fp8 flipped:(BOOL)fp24;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (BOOL)_needRedrawOnWindowChangedKeyState;
- (void)setAltIncrementValue:(double)fp8;
- (double)altIncrementValue;
- (int)isVertical;
- (BOOL)startTrackingAt:(struct _NSPoint)fp8 inView:(id)fp16;
- (BOOL)continueTracking:(struct _NSPoint)fp8 at:(struct _NSPoint)fp16 inView:(id)fp24;
- (void)stopTracking:(struct _NSPoint)fp8 at:(struct _NSPoint)fp16 inView:(id)fp24 mouseIsUp:(BOOL)fp28;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (struct _NSRect)trackRect;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)setNumberOfTickMarks:(int)fp8;
- (int)numberOfTickMarks;
- (void)setTickMarkPosition:(int)fp8;
- (int)tickMarkPosition;
- (void)setAllowsTickMarkValuesOnly:(BOOL)fp8;
- (BOOL)allowsTickMarkValuesOnly;
- (double)tickMarkValueAtIndex:(int)fp8;
- (struct _NSRect)rectOfTickMarkAtIndex:(int)fp8;
- (int)indexOfTickMarkAtPoint:(struct _NSPoint)fp8;
- (double)closestTickMarkValueToValue:(double)fp8;
- (void)_moveInDirection:(int)fp8;

@end

@interface NSSliderCell (NSSliderCellAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (void)accessibilitySetValueAttribute:(id)fp8;
- (id)accessibilityValueIndicatorAttribute;
- (BOOL)accessibilityIsValueIndicatorAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsChildrenAttributeSettable;
- (id)accessibilityMinValueAttribute;
- (BOOL)accessibilityIsMinValueAttributeSettable;
- (id)accessibilityMaxValueAttribute;
- (BOOL)accessibilityIsMaxValueAttributeSettable;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (struct _NSRect)_accessibilityIndicatorRect;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (void)accessibilitySetFocus:(id)fp8 forChild:(id)fp12;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface NSSortedArray : NSMutableArray
{
NSMutableArray *_array;
SEL _compareSelector;
unsigned int _cachedCount;
id _cachedFirstObject;
}

+ (void)initialize;
- (id)initWithCapacity:(unsigned int)fp8 compareSelector:(SEL)fp12;
- (id)initWithCompareSelector:(SEL)fp8;
- (id)init;
- (SEL)compareSelector;
- (void)setCompareSelector:(SEL)fp8;
- (id)initWithCapacity:(unsigned int)fp8;
- (id)initWithObjects:(id *)fp8 count:(unsigned int)fp12;
- (id)initWithObjects:(id)fp8;
- (id)initWithArray:(id)fp8 copyItems:(BOOL)fp12;
- (id)initWithArray:(id)fp8;
- (id)mutableCopyWithZone:(struct _NSZone *)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (BOOL)conformsToProtocol:(id)fp8;
- (void)dealloc;
- (void)_insertObjectInSortOrder:(id)fp8;
- (unsigned int)count;
- (id)objectAtIndex:(unsigned int)fp8;
- (void)addObject:(id)fp8;
- (void)replaceObjectAtIndex:(unsigned int)fp8 withObject:(id)fp12;
- (void)removeLastObject;
- (void)insertObject:(id)fp8 atIndex:(unsigned int)fp12;
- (void)removeObjectAtIndex:(unsigned int)fp8;
- (void)setArray:(id)fp8;
- (void)sortUsingFunction:(void *)fp8 context:(void *)fp12;
- (void)sortUsingSelector:(SEL)fp8;

@end

@interface NSSound : NSObject
{
id _delegate;
void *_info;
void *_reserved[7];
}

+ (void)initialize;
+ (id)soundUnfilteredFileTypes;
+ (id)soundUnfilteredPasteboardTypes;
+ (BOOL)canInitWithPasteboard:(id)fp8;
+ (id)_searchForSoundNamed:(id)fp8;
+ (id)soundNamed:(id)fp8;
- (void)_postInitialization;
- (id)init;
- (void)dealloc;
- (id)initWithContentsOfFile:(id)fp8 byReference:(BOOL)fp12;
- (id)initWithContentsOfURL:(id)fp8 byReference:(BOOL)fp12;
- (id)initWithData:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (id)initWithPasteboard:(id)fp8;
- (void)writeToPasteboard:(id)fp8;
- (id)_url;
- (id)url;
- (id)name;
- (BOOL)setName:(id)fp8;
- (BOOL)isPlaying;
- (BOOL)pause;
- (BOOL)resume;
- (BOOL)play;
- (BOOL)stop;
- (void)_audioCompleted;

@end

@interface NSBundle (NSBundleSoundExtensions)
- (id)pathForSoundResource:(id)fp8;
@end

@interface NSDefaultSpellServerDelegate : NSObject
{
}

- (struct _NSRange)spellServer:(id)fp8 findMisspelledWordInString:(id)fp12 language:(id)fp16 wordCount:(int *)fp20 countOnly:(BOOL)fp24;
- (id)spellServer:(id)fp8 suggestGuessesForWord:(id)fp12 inLanguage:(id)fp16;

@end

@interface NSSpellChecker : NSObject
{
id _guessesBrowser;
id _wordField;
id _languagePopUp;
id _guessesList;
id _panel;
id _userDictionaries;
id _correctButton;
id _guessButton;
id _ignoreButton;
id _accessoryView;
id _dictionaryBrowser;
NSString *_selectionString;
void *_spellServers;
NSString *_lastGuess;
struct __scFlags _scFlags;
id _deleteButton;
id _openButton;
id _learnButton;
id _forgetButton;
void *_reservedSpellChecker1;
}

+ (int)uniqueSpellDocumentTag;
+ (id)sharedSpellChecker;
+ (BOOL)sharedSpellCheckerExists;
- (id)_nameOfDictionaryForDocumentTag:(int)fp8;
- (void)_setDocumentDictionaryName:(id)fp8;
- (id)init;
- (void)_initUI;
- (void)setupGuessesBrowser;
- (void)awakeFromNib;
- (id)language;
- (int)_indexOfPopupItemForLanguage:(id)fp8;
- (BOOL)setLanguage:(id)fp8;
- (void)setWordFieldStringValue:(id)fp8;
- (BOOL)windowIsSpellingPanel:(id)fp8;
- (id)spellingPanel;
- (id)accessoryView;
- (id)_viewAboveAccessoryView;
- (void)setAccessoryView:(id)fp8;
- (id)_spellServers;
- (id)_chosenSpellServer:(BOOL)fp8 launchIfNecessary:(BOOL)fp12;
- (void)_preflightChosenSpellServer;
- (id)_learnOrForgetOrInvalidate:(int)fp8 word:(id)fp12 dictionary:(id)fp16 language:(id)fp20 ephemeral:(int)fp24;
- (id)_learn:(id)fp8;
- (id)_forget:(id)fp8;
- (id)_ignore:(id)fp8;
- (void)ignoreWord:(id)fp8 inSpellDocumentWithTag:(int)fp12;
- (void)learnWord:(id)fp8 language:(id)fp12;
- (void)learnWord:(id)fp8;
- (void)forgetWord:(id)fp8 language:(id)fp12;
- (void)forgetWord:(id)fp8;
- (id)ignoredWordsInSpellDocumentWithTag:(int)fp8;
- (void)setIgnoredWords:(id)fp8 inSpellDocumentWithTag:(int)fp12;
- (void)closeSpellDocumentWithTag:(int)fp8;
- (id)_chooseGuess:(id)fp8;
- (void)_reallyChooseGuess:(id)fp8;
- (id)_correct:(id)fp8;
- (void)browser:(id)fp8 createRowsForColumn:(int)fp12 inMatrix:(id)fp16;
- (void)_setLastGuess:(id)fp8;
- (void)_setSelectionString:(id)fp8;
- (id)guessesForWord:(id)fp8;
- (id)_guess:(id)fp8;
- (void)_doUpdate:(id)fp8;
- (void)_windowDidBecomeVisible:(id)fp8;
- (void)windowDidBecomeKey:(id)fp8;
- (id)_changeLanguage:(id)fp8;
- (id)_findNext:(id)fp8;
- (int)adjustOffsetToNextWordBoundaryInString:(id)fp8 startingAt:(int)fp12;
- (struct _NSRange)_chunkAndFindMisspelledWordInString:(id)fp8 language:(id)fp12 learnedDictionaries:(id)fp16 wordCount:(int *)fp20 usingSpellServer:(id)fp24;
- (struct _NSRange)checkSpellingOfString:(id)fp8 startingAt:(int)fp12 language:(id)fp16 wrap:(BOOL)fp20 inSpellDocumentWithTag:(int)fp24 wordCount:(int *)fp28 reconnectOnError:(BOOL)fp32;
- (struct _NSRange)checkSpellingOfString:(id)fp8 startingAt:(int)fp12 language:(id)fp16 wrap:(BOOL)fp20 inSpellDocumentWithTag:(int)fp24 wordCount:(int *)fp28;
- (struct _NSRange)checkSpellingOfString:(id)fp8 startingAt:(int)fp12;
- (int)countWordsInString:(id)fp8 language:(id)fp12;
- (id)completionsForPartialWordRange:(struct _NSRange)fp8 inString:(id)fp16 language:(id)fp20 inSpellDocumentWithTag:(int)fp24;
- (void)updateSpellingPanelWithMisspelledWord:(id)fp8;
- (void)controlTextDidChange:(id)fp8;
- (BOOL)control:(id)fp8 textView:(id)fp12 doCommandBySelector:(SEL)fp16;

@end

@interface NSSpellChecker (NSUnusedNibActions)
- (void)_newDictionary:(id)fp8;
- (void)_changeDictionaries:(id)fp8;
- (void)_openDictionaries:(id)fp8;
- (void)_deleteDictionaries:(id)fp8;
@end

@interface NSSplitView : NSView
{
void *_data;
}

+ (void)initialize;
- (BOOL)isFlipped;
- (float)dividerThickness;
- (void)setVertical:(BOOL)fp8;
- (BOOL)isVertical;
- (BOOL)_isGrabber;
- (BOOL)isPaneSplitter;
- (BOOL)isSubviewCollapsed:(id)fp8;
- (void)_setIsGrabber:(BOOL)fp8;
- (void)setIsPaneSplitter:(BOOL)fp8;
- (void)resetCursorRects;
- (id)_setWindow:(id)fp8;
- (BOOL)_seemsToBeVertical;
- (void)encodeWithCoder:(id)fp8;
- (void)_initData;
- (id)initWithFrame:(struct _NSRect)fp8;
- (id)_compatibility_initWithUnkeyedCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (void)dealloc;
- (void)setAutoresizesSubviews:(BOOL)fp8;
- (void)resizeSubviewsWithOldSize:(struct _NSSize)fp8;
- (void)adjustSubviews;
- (void)replaceSubview:(id)fp8 with:(id)fp12;
- (BOOL)isOpaque;
- (void *)_regionForOpaqueDescendants:(struct _NSRect)fp8 forMove:(BOOL)fp24;
- (void)_drawRect:(struct _NSRect)fp8 withOpaqueAncestor:(id)fp24;
- (void)drawDividerInRect:(struct _NSRect)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (void)_windowChangedKeyState;
- (id)_addSubview:(id)fp8;
- (id)_removeSubview:(id)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (void)_trackMouse:(id)fp8;
- (BOOL)shouldBeTreatedAsInkEvent:(id)fp8;
- (void)mouseDown:(id)fp8;
- (BOOL)mouseDownCanMoveWindow;
- (struct _NSRect)_resizeViewsForOffset:(int)fp8 coordinate:(float)fp12;

@end

@interface NSSplitViewSplitter : NSAccessibilityMockUIElement
{
int _index;
}

+ (id)splitterWithIndex:(int)fp8 parent:(id)fp12;
- (id)initWithIndex:(int)fp8 parent:(id)fp12;
- (BOOL)isEqual:(id)fp8;
- (int)index;

@end

@interface NSSplitView (NSSplitViewAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilitySplittersAttribute;
- (BOOL)accessibilityIsSplittersAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsIgnored;
- (id)_accessibilitySplitterRects;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface NSSplitViewSplitter (NSSplitViewSplitterAccessibility)
- (id)accessibilityAttributeNames;
- (float)_accessibilitySplitterMinCoordinate;
- (float)_accessibilityPreviousSplitterMaxCoordinate;
- (float)_accessibilityNextSplitterMinCoordinate;
- (float)_accessibilityMinValueWithoutCollapsing;
- (float)_accessibilityMinValue;
- (float)_accessibilityMaxValue;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (void)accessibilitySetValueAttribute:(id)fp8;
- (id)accessibilityMinValueAttribute;
- (BOOL)accessibilityIsMinValueAttributeSettable;
- (id)accessibilityMaxValueAttribute;
- (BOOL)accessibilityIsMaxValueAttributeSettable;
- (id)accessibilityOrientationAttribute;
- (BOOL)accessibilityIsOrientationAttributeSettable;
- (id)accessibilityPreviousContentsAttribute;
- (BOOL)accessibilityIsPreviousContentsAttributeSettable;
- (id)accessibilityNextContentsAttribute;
- (BOOL)accessibilityIsNextContentsAttributeSettable;
@end

@interface NSStatusBar : NSObject
{
long _fReserved1;
long _fReserved2;
long _fReserved3;
long _fReserved4;
}

+ (id)systemStatusBar;
- (void)dealloc;
- (id)statusItemWithLength:(float)fp8;
- (void)removeStatusItem:(id)fp8;
- (BOOL)isVertical;
- (float)thickness;

@end

@interface NSStatusBar (NSStatusBar_Appearance)
- (id)_createStatusItemWindow;
- (id)_createStatusItemControlInWindow:(id)fp8;
- (int)_placement;
- (int)_direction;
- (struct _NSSize)_initialOffset;
- (float)_lengthForSize:(struct _NSSize)fp8;
- (void)drawBackgroundInRect:(struct _NSRect *)fp8 inView:(id)fp12 highlight:(BOOL)fp16;
@end

@interface NSStatusBar (NSStatusBar_Private)
- (id)_init;
- (id)_name;
- (id)_lockName;
- (id)_statusItemWithLength:(float)fp8 withPriority:(int)fp12;
- (void)_insertStatusItemWindow:(id)fp8 withPriority:(int)fp12;
- (void)_removeStatusItemWindow:(id)fp8;
- (void)_setLength:(float)fp8 ofStatusItemWindow:(id)fp12;
- (void)_refreshWindows;
@end

@interface NSStatusBarButton : NSButton
{
}

+ (void)initialize;
- (id)initWithFrame:(struct _NSRect)fp8 inStatusBar:(id)fp24;
- (id)statusMenu;
- (void)setStatusMenu:(id)fp8;
- (BOOL)highlightMode;
- (void)setHighlightMode:(BOOL)fp8;

@end

@interface NSStatusBarButtonCell : NSButtonCell
{
NSStatusBar *_fStatusBar;
NSMenu *_fStatusMenu;
BOOL _fHighlightMode;
}

+ (void)popupStatusBarMenu:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 withEvent:(id)fp32;
- (id)init;
- (void)dealloc;
- (void)setStatusBar:(id)fp8;
- (id)statusMenu;
- (void)setStatusMenu:(id)fp8;
- (BOOL)highlightMode;
- (void)setHighlightMode:(BOOL)fp8;
- (BOOL)acceptsFirstResponder;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_fillBackground:(struct _NSRect)fp8 withAlternateColor:(BOOL)fp24;
- (id)_textHighlightColor;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;

@end

@interface NSStatusBar (NSStatusBarCGS)
- (void)_CGSinsertWindow:(id)fp8 withPriority:(int)fp12;
- (void)_CGSremoveWindow:(id)fp8;
- (void)_CGSadjustWindows;
@end

@interface NSStatusBarWindow : NSWindow
{
}

- (id)initWithContentRect:(struct _NSRect)fp8;
- (BOOL)_showToolTip;
- (void)_setWindowTag;
- (void)setFrame:(struct _NSRect)fp8 display:(BOOL)fp24;
- (void *)windowRef;

@end

@interface NSStatusItem : NSObject
{
NSStatusBar *_fStatusBar;
float _fLength;
NSWindow *_fWindow;
NSView *_fView;
int _fPriority;
struct {
unsigned int customView:1;
unsigned int highlightMode:1;
unsigned int hasAlternateImage:1;
unsigned int reserved:29;
} _fFlags;
long _fReserved1;
long _fReserved2;
long _fReserved3;
long _fReserved4;
}

- (void)dealloc;
- (id)statusBar;
- (float)length;
- (void)setLength:(float)fp8;

@end

@interface NSStatusItem (NSStatusItem_Private)
+ (id)_itemInStatusBar:(id)fp8 withLength:(float)fp12 withPriority:(int)fp16;
- (id)_initInStatusBar:(id)fp8 withLength:(float)fp12 withPriority:(int)fp16;
- (id)_window;
- (id)_button;
- (void)_adjustLength;
@end

@interface NSStatusItem (NSStatusItemView)
- (id)view;
- (void)setView:(id)fp8;
@end

@interface NSStatusItem (NSStatusItemCommon)
- (SEL)action;
- (void)setAction:(SEL)fp8;
- (id)target;
- (void)setTarget:(id)fp8;
- (id)title;
- (void)setTitle:(id)fp8;
- (id)attributedTitle;
- (void)setAttributedTitle:(id)fp8;
- (id)image;
- (void)setImage:(id)fp8;
- (id)alternateImage;
- (void)setAlternateImage:(id)fp8;
- (id)menu;
- (void)setMenu:(id)fp8;
- (BOOL)isEnabled;
- (void)setEnabled:(BOOL)fp8;
- (id)toolTip;
- (void)setToolTip:(id)fp8;
- (BOOL)highlightMode;
- (void)setHighlightMode:(BOOL)fp8;
- (void)sendActionOn:(int)fp8;
- (void)popUpStatusItemMenu:(id)fp8;
- (void)drawStatusBarBackgroundInRect:(struct _NSRect)fp8 withHighlight:(BOOL)fp24;
@end

@interface NSStepper : NSControl
{
unsigned int _reserved1;
unsigned int _reserved2;
unsigned int _reserved3;
unsigned int _reserved4;
}

+ (void)initialize;
- (double)minValue;
- (void)setMinValue:(double)fp8;
- (double)maxValue;
- (void)setMaxValue:(double)fp8;
- (double)increment;
- (void)setIncrement:(double)fp8;
- (BOOL)valueWraps;
- (void)setValueWraps:(BOOL)fp8;
- (BOOL)autorepeat;
- (void)setAutorepeat:(BOOL)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (void)moveUp:(id)fp8;
- (void)moveDown:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSStepperCell : NSActionCell
{
double _value;
double _minValue;
double _maxValue;
double _increment;
struct {
unsigned int valueWraps:1;
unsigned int autorepeat:1;
unsigned int drawing:1;
unsigned int reserved:29;
} _stFlags;
unsigned int _reserved1;
unsigned int _reserved2;
unsigned int _reserved3;
unsigned int _reserved4;
}

+ (void)initialize;
+ (BOOL)prefersTrackingUntilMouseUp;
- (id)init;
- (double)minValue;
- (void)setMinValue:(double)fp8;
- (double)maxValue;
- (void)setMaxValue:(double)fp8;
- (double)increment;
- (void)setIncrement:(double)fp8;
- (BOOL)valueWraps;
- (void)setValueWraps:(BOOL)fp8;
- (BOOL)autorepeat;
- (void)setAutorepeat:(BOOL)fp8;
- (id)stringValue;
- (void)setStringValue:(id)fp8;
- (id)objectValue;
- (void)setObjectValue:(id)fp8;
- (int)intValue;
- (void)setIntValue:(int)fp8;
- (float)floatValue;
- (void)setFloatValue:(float)fp8;
- (double)doubleValue;
- (void)setDoubleValue:(double)fp8;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)getPeriodicDelay:(float *)fp8 interval:(float *)fp12;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (BOOL)startTrackingAt:(struct _NSPoint)fp8 inView:(id)fp16;
- (BOOL)continueTracking:(struct _NSPoint)fp8 at:(struct _NSPoint)fp16 inView:(id)fp24;
- (void)stopTracking:(struct _NSPoint)fp8 at:(struct _NSPoint)fp16 inView:(id)fp24 mouseIsUp:(BOOL)fp28;
- (BOOL)_sendActionFrom:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSStepperCell (NSStepperCellPrivate)
- (void)_doSingleStep:(BOOL)fp8 inView:(id)fp12;
@end

@interface NSStepperCell (NSStepperCellLocal)
- (void)_stepInUpDirection:(BOOL)fp8;
@end

@interface NSAccessibilityStepperArrowButton : NSAccessibilityMockUIElement
{
BOOL _increments;
}

+ (id)incrementButtonWithParent:(id)fp8;
+ (id)decrementButtonWithParent:(id)fp8;
- (id)initWithIncrements:(BOOL)fp8 parent:(id)fp12;
- (BOOL)increments;
- (BOOL)isEqual:(id)fp8;
- (id)accessibilityAttributeNames;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;

@end

@interface NSStepperCell (NSStepperCellAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityIncrementButtonAttribute;
- (BOOL)accessibilityIsIncrementButtonAttributeSettable;
- (id)accessibilityDecrementButtonAttribute;
- (BOOL)accessibilityIsDecrementButtonAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsChildrenAttributeSettable;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (struct _NSRect)_accessibilityArrowScreenRect:(BOOL)fp8;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface NSStopTouchingMeBox : NSBox
{
NSView *sibling1;
NSView *sibling2;
}

- (void)setSibling1:(id)fp8;
- (void)setSibling2:(id)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)tile;

@end

@interface NSStorage : NSObject
{
void *_storage;
int _hintCapacity;
unsigned int _reserved[4];
}

+ (void)initialize;
- (id)initWithElementSize:(unsigned int)fp8 capacity:(unsigned int)fp12;
- (id)init;
- (void)dealloc;
- (unsigned int)count;
- (unsigned int)capacity;
- (void)setHintCapacity:(unsigned int)fp8;
- (unsigned int)hintCapacity;
- (unsigned int)elementSize;
- (void *)elementAtIndex:(unsigned int)fp8;
- (void)insertElements:(void *)fp8 count:(unsigned int)fp12 atIndex:(unsigned int)fp16;
- (void)removeElementAtIndex:(unsigned int)fp8;
- (void)replaceElementAtIndex:(unsigned int)fp8 withElement:(void *)fp12;
- (void)removeElementsInRange:(struct _NSRange)fp8;
- (void *)pointerToElement:(unsigned int)fp8 directlyAccessibleElements:(struct _NSRange *)fp12;
- (void)insertElement:(void *)fp8 atIndex:(unsigned int)fp12;
- (void)addElement:(void *)fp8;
- (id)description;

@end

@interface NSStringDrawingContext : NSObject
{
NSMutableArray *_attributedStringArray;
NSMutableArray *_rectArray;
NSDictionary *_defaultAttributes;
}

- (id)init;
- (id)initWithDefaultAttributes:(id)fp8;
- (id)defaultAttributes;
- (void)dealloc;
- (void)addString:(id)fp8 inRect:(struct _NSRect)fp12;
- (void)addString:(id)fp8 attributes:(id)fp12 inRect:(struct _NSRect)fp16;
- (void)addAttributedString:(id)fp8 inRect:(struct _NSRect)fp12;
- (void)draw;
- (void)clear;

@end

@interface NSAttributedString (NSStringDrawingExtension)
- (struct _NSSize)_sizeWithSize:(struct _NSSize)fp8;
- (struct _NSRect)_drawCenteredVerticallyInRect:(struct _NSRect)fp8;
@end

@interface NSAttributedString (NSStringDrawing)
- (void)drawAtPoint:(struct _NSPoint)fp8;
- (void)drawInRect:(struct _NSRect)fp8;
- (struct _NSSize)size;
@end

@interface NSString (NSStringDrawingExtension)
- (struct _NSSize)_sizeWithSize:(struct _NSSize)fp8 attributes:(id)fp16;
@end

@interface NSString (NSStringDrawing)
+ (BOOL)usesFontLeading;
+ (void)setUsesFontLeading:(BOOL)fp8;
+ (BOOL)usesScreenFonts;
+ (void)setUsesScreenFonts:(BOOL)fp8;
+ (void)setShowsInvisibleCharacters:(BOOL)fp8;
+ (BOOL)showsInvisibleCharacters;
+ (void)setShowsControlCharacters:(BOOL)fp8;
+ (BOOL)showsControlCharacters;
+ (void)setHyphenationFactor:(float)fp8;
+ (float)hyphenationFactor;
+ (void)setDefaultAttachmentScaling:(int)fp8;
+ (int)defaultAttachmentScaling;
+ (int)typesetterBehavior;
+ (void)setTypesetterBehavior:(int)fp8;
+ (float)defaultLineHeightForFont:(id)fp8;
+ (float)defaultBaselineOffsetForFont:(id)fp8;
- (void)drawAtPoint:(struct _NSPoint)fp8 withAttributes:(id)fp16;
- (void)drawInRect:(struct _NSRect)fp8 withAttributes:(id)fp24;
- (struct _NSSize)sizeWithAttributes:(id)fp8;
@end

@interface NSStringDrawingTextStorage : NSTextStorage
{
NSConcreteNotifyingMutableAttributedString *_contents;
NSLayoutManager *_layoutManager;
NSTextContainer *_textContainer;
NSFlippableView *_flippedView;
void *_preliminaryCache;
void *_cache;
NSTextContainer *_firstTextContainer;
NSTextContainer *_secondTextContainer;
struct _NSRange _currentCharacterRange;
struct _NSRange _currentGlyphRange;
struct _NSRange _temporaryCharacterRange;
unsigned int _retainCount;
struct {
unsigned int _typesetterBehavior:4;
unsigned int _needToFlushCache:1;
unsigned int _reserved:27;
} _sdflags;
}

+ (void)initialize;
+ (id)stringDrawingTextStorage;
+ (id)allocWithZone:(struct _NSZone *)fp8;
+ (void)_setHasCustomSettings:(BOOL)fp8;
- (id)retain;
- (void)release;
- (unsigned int)retainCount;
- (void)dealloc;
- (BOOL)_informationForFont:(id)fp8 glyphTable:(unsigned short **)fp12 positionTable:(float **)fp16 kerns:(char *)fp20 ligatures:(char *)fp24 disableKerningAndLigatures:(char *)fp28;
- (BOOL)_fastDrawGlyphs:(unsigned short *)fp8 length:(unsigned int)fp12 font:(id)fp16 color:(id)fp20 containerSize:(struct _NSSize)fp24 usedRect:(struct _NSRect)fp32 startingLocation:(struct _NSPoint)fp48 inRect:(struct _NSRect)fp56 onView:(id)fp72 context:(id)fp76 pinToTop:(BOOL)fp80;
- (BOOL)fastDrawString:(id)fp8 attributes:(id)fp12 containerSize:(struct _NSSize)fp16 padding:(float)fp24 inRect:(struct _NSRect)fp28 onView:(id)fp44 pinToTop:(BOOL)fp48 sizeOnly:(BOOL)fp52 size:(struct _NSSize *)fp56;
- (BOOL)fastDrawAttributedString:(id)fp8 containerSize:(struct _NSSize)fp12 padding:(float)fp20 inRect:(struct _NSRect)fp24 onView:(id)fp40 pinToTop:(BOOL)fp44 sizeOnly:(BOOL)fp48 size:(struct _NSSize *)fp52;
- (id)layoutManager;
- (id)textContainer;
- (id)flippedView;
- (void)drawTextContainer:(id)fp8 inRect:(struct _NSRect)fp12 onView:(id)fp28 pinToTop:(BOOL)fp32;
- (void)drawInRect:(struct _NSRect)fp8 onView:(id)fp24 pinToTop:(BOOL)fp28;
- (void)drawTextContainer:(id)fp8 inRect:(struct _NSRect)fp12 onView:(id)fp28;
- (void)drawInRect:(struct _NSRect)fp8 onView:(id)fp24;
- (id)textContainerForAttributedString:(id)fp8;
- (void)invalidate;
- (void)_fontSetChanged:(id)fp8;
- (id)init;
- (void)processEditing;
- (unsigned int)length;
- (id)string;
- (id)attributesAtIndex:(unsigned int)fp8 effectiveRange:(struct _NSRange *)fp12;
- (id)attribute:(id)fp8 atIndex:(unsigned int)fp12 effectiveRange:(struct _NSRange *)fp16;
- (id)attribute:(id)fp8 atIndex:(unsigned int)fp12 longestEffectiveRange:(struct _NSRange *)fp16 inRange:(struct _NSRange)fp20;
- (void)replaceCharactersInRange:(struct _NSRange)fp8 withString:(id)fp16;
- (void)setAttributes:(id)fp8 range:(struct _NSRange)fp12;
- (void)replaceCharactersInRange:(struct _NSRange)fp8 withAttributedString:(id)fp16;
- (void)addAttribute:(id)fp8 value:(id)fp12 range:(struct _NSRange)fp16;

@end

@interface NSCoder (NSAppKitCoderExtensions)
- (void)_encodeByte:(unsigned char)fp8;
- (unsigned char)_decodeByte;
- (void)_encodeDepth:(int)fp8;
- (int)_decodeDepth;
@end

@interface NSString (_NSWindowPrivate)
- (struct _NSRange)_rangeOfSuffixFittingWidth:(float)fp8 withAttributes:(id)fp12;
- (struct _NSRange)_rangeOfSuffixFittingWidth:(float)fp8 withFont:(id)fp12;
- (struct _NSRange)_rangeOfPrefixFittingWidth:(float)fp8 withAttributes:(id)fp12;
- (struct _NSRange)_rangeOfPrefixFittingWidth:(float)fp8 withFont:(id)fp12;
@end

@interface NSString (NSStringKitExtensions)
- (id)stringWithoutAmpersand;
@end

@interface NSString (NSStringCanonicalMethods)
- (id)canonicalString;
- (BOOL)isCanonical;
@end

@interface NSString (NSStringTextExtras)
- (unsigned int)_endOfParagraphAtIndex:(unsigned int)fp8;
- (struct _NSRange)rangeOfGraphicalSegmentAtIndex:(unsigned int)fp8;
@end

@interface NSSubTextStorage : NSTextStorage
{
NSTextStorage *_parent;
struct _NSRange _range;
BOOL _releasing;
BOOL _editing;
}

- (id)initWithTextStorage:(id)fp8 range:(struct _NSRange)fp12;
- (id)initWithString:(id)fp8;
- (id)initWithString:(id)fp8 attributes:(id)fp12;
- (id)initWithAttributedString:(id)fp8;
- (Class)classForCoder;
- (void)release;
- (void)dealloc;
- (id)string;
- (id)attributesAtIndex:(unsigned int)fp8 effectiveRange:(struct _NSRange *)fp12;
- (void)replaceCharactersInRange:(struct _NSRange)fp8 withString:(id)fp16;
- (void)setAttributes:(id)fp8 range:(struct _NSRange)fp12;
- (id)attributedSubstringFromRange:(struct _NSRange)fp8;
- (void)textStorage:(id)fp8 edited:(unsigned int)fp12 range:(struct _NSRange)fp16 changeInLength:(int)fp24 invalidatedRange:(struct _NSRange)fp28;
- (void)setTextStorage:(id)fp8;

@end

@interface NSTextStorage (NSSubstringHack)
- (id)attributedSubstringFromRange:(struct _NSRange)fp8;
@end

@interface NSSurface : NSObject
{
NSView *_view;
NSWindow *_window;
struct _NSRect _frame;
void *_surfaceID;
void *_backingStore;
int _saveWeighting;
NSWindowGraphicsContext *_graphicsContext;
NSGraphicsContext *_saveContext;
struct {
unsigned int opaque:1;
unsigned int orderedIn:1;
unsigned int deferSync:1;
unsigned int reserved:29;
} _sFlags;
}

- (id)initWithView:(id)fp8;
- (id)initWithFrame:(struct _NSRect)fp8 inWindow:(id)fp24;
- (void)_createBackingStore;
- (void)_disposeBackingStore;
- (void)_createSurface;
- (void)_disposeSurface;
- (void)dealloc;
- (void)syncToViewUnconditionally;
- (void)syncToView:(BOOL)fp8;
- (void)orderFront;
- (void)orderBack;
- (void)orderOut;
- (void)orderSurface:(int)fp8 relativeTo:(id)fp12;
- (void *)surfaceID;
- (void)setFrame:(struct _NSRect)fp8;
- (struct _NSRect)frame;
- (void)setWindow:(id)fp8;
- (void)_windowWillClose:(id)fp8;
- (void)_windowWillGoAway:(id)fp8;
- (void)_windowDidComeBack:(id)fp8;
- (void)_windowDidChangeScreens:(id)fp8;
- (id)window;
- (void)setView:(id)fp8;
- (id)view;
- (BOOL)hasBackingStore;
- (void)clearBackingStore;
- (void)setDeferSync:(BOOL)fp8;
- (BOOL)deferSync;
- (void)setOpaque:(BOOL)fp8;
- (BOOL)isOpaque;
- (void)setSaveWeighting:(int)fp8;
- (int)saveWeighting;
- (void)lockFocus;
- (void)unlockFocus;
- (void)flush;

@end

@interface NSSystemInfoPanel : NSObject
{
NSScrollView *creditScrollView;
NSPanel *infoPanel;
NSImageView *appIconView;
NSTextField *appNameField;
NSTextView *creditView;
NSTextField *legalTextField;
NSTextField *versionField;
NSMutableDictionary *_optionsDictionary;
}

+ (id)sharedInfoPanel;
+ (void)updateOptions:(id)fp8;
+ (void)updateOptionsWithApplicationIcon:(id)fp8;
+ (void)updateOptionsWithApplicationName:(id)fp8;
+ (void)updateOptionsWithCopyright:(id)fp8;
+ (void)updateOptionsWithCredits:(id)fp8;
+ (void)updateOptionsWithProjectVersion:(id)fp8;
+ (void)updateOptionsWithVersion:(id)fp8;
- (void)dealloc;
- (void)showInfoPanel:(id)fp8;
- (void)setOptionsDictionary:(id)fp8;
- (void)loadNib;
- (void)unloadNib:(BOOL)fp8;
- (void)updateNib;
- (id)applicationIcon;
- (id)applicationName;
- (id)backgroundImage;
- (id)copyright;
- (id)credits;
- (id)versionString;
- (void)sizeCreditsView;
- (void)windowWillClose:(id)fp8;
- (BOOL)textView:(id)fp8 clickedOnLink:(id)fp12 atIndex:(unsigned int)fp16;

@end

@interface NSApplication (NSStandardAboutPanel)
- (void)orderFrontStandardAboutPanel:(id)fp8;
- (void)orderFrontStandardAboutPanelWithOptions:(id)fp8;
@end

@interface NSSystemStatusBar : NSStatusBar
{
}

- (id)_createStatusItemControlInWindow:(id)fp8;
- (id)_name;
- (id)_lockName;
- (int)_placement;
- (int)_direction;
- (struct _NSSize)_initialOffset;
- (float)thickness;
- (void)drawBackgroundInRect:(struct _NSRect *)fp8 inView:(id)fp12 highlight:(BOOL)fp16;
- (float)_lengthForSize:(struct _NSSize)fp8;

@end

@interface NSTableColumn : NSObject
{
id _identifier;
float _width;
float _minWidth;
float _maxWidth;
NSTableView *_tableView;
NSCell *_headerCell;
NSCell *_dataCell;
struct __colFlags _cFlags;
void *_tcAuxiliaryStorage;
}

+ (void)initialize;
- (void)_disableResizedPosting;
- (void)_enableResizedPosting;
- (void)_postColumnDidResizeNotificationWithOldWidth:(int)fp8;
- (id)initWithIdentifier:(id)fp8;
- (id)init;
- (void)dealloc;
- (void)_old_encodeWithCoder_NSTableColumn:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)_old_initWithCoder_NSTableColumn:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)_setReorderResizeImageCache:(id)fp8;
- (id)_reorderResizeImageCache;
- (void)_setCanUseReorderResizeImageCache:(BOOL)fp8;
- (BOOL)_canUseReorderResizeImageCache;
- (void)setTableView:(id)fp8;
- (id)tableView;
- (void)setSortDescriptorPrototype:(id)fp8;
- (id)sortDescriptorPrototype;
- (void)setIdentifier:(id)fp8;
- (id)identifier;
- (void)setWidth:(float)fp8;
- (float)width;
- (void)setMinWidth:(float)fp8;
- (float)minWidth;
- (void)setMaxWidth:(float)fp8;
- (float)maxWidth;
- (void)setHeaderCell:(id)fp8;
- (id)headerCell;
- (void)setDataCell:(id)fp8;
- (id)dataCell;
- (id)dataCellForRow:(int)fp8;
- (void)setResizable:(BOOL)fp8;
- (BOOL)isResizable;
- (void)setEditable:(BOOL)fp8;
- (BOOL)isEditable;
- (void)sizeToFit;
- (void)_setBindingAdaptor:(id)fp8;
- (id)_bindingAdaptor;

@end

@interface NSTableColumn (NSTableColumnAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (BOOL)accessibilityIsRoleAttributeSettable;
- (id)accessibilityRoleDescriptionAttribute;
- (BOOL)accessibilityIsRoleDescriptionAttributeSettable;
- (id)accessibilityParentAttribute;
- (BOOL)accessibilityIsParentAttributeSettable;
- (id)_accessibilityRowsInRange:(struct _NSRange)fp8;
- (id)accessibilityRowsAttribute;
- (BOOL)accessibilityIsRowsAttributeSettable;
- (id)accessibilityVisibleRowsAttribute;
- (BOOL)accessibilityIsVisibleRowsAttributeSettable;
- (id)accessibilityWindowAttribute;
- (BOOL)accessibilityIsWindowAttributeSettable;
- (id)accessibilityPositionAttribute;
- (BOOL)accessibilityIsPositionAttributeSettable;
- (id)accessibilitySizeAttribute;
- (BOOL)accessibilityIsSizeAttributeSettable;
- (void)accessibilitySetSizeAttribute:(id)fp8;
- (id)accessibilitySelectedAttribute;
- (BOOL)accessibilityIsSelectedAttributeSettable;
- (void)accessibilitySetSelectedAttribute:(id)fp8;
- (id)accessibilityHeaderAttribute;
- (BOOL)accessibilityIsHeaderAttributeSettable;
- (id)accessibilityAttributeValue:(id)fp8;
- (BOOL)accessibilityIsAttributeSettable:(id)fp8;
- (void)accessibilitySetValue:(id)fp8 forAttribute:(id)fp12;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
- (unsigned int)accessibilityArrayAttributeCount:(id)fp8;
- (id)accessibilityArrayAttributeValues:(id)fp8 index:(unsigned int)fp12 maxCount:(unsigned int)fp16;
@end

@interface NSTableHeaderCell : NSTextFieldCell
{
}

+ (void)initialize;
- (id)init;
- (void)dealloc;
- (void)_drawContents:(struct _NSRect)fp8 faceColor:(id)fp24 textColor:(id)fp28 inView:(id)fp32;
- (int)_realControlTintForView:(id)fp8;
- (BOOL)_shouldDrawRightSeparatorInView:(id)fp8;
- (void)_drawThemeContents:(struct _NSRect)fp8 highlighted:(BOOL)fp24 inView:(id)fp28;
- (BOOL)isOpaque;
- (void)_adjustFontSize;
- (BOOL)_needRedrawOnWindowChangedKeyState;
- (void)_drawSortIndicatorIfNecessaryWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawSortIndicatorWithFrame:(struct _NSRect)fp8 inView:(id)fp24 ascending:(BOOL)fp28 priority:(int)fp32;
- (struct _NSRect)sortIndicatorRectForBounds:(struct _NSRect)fp8;
- (void)_setSortable:(BOOL)fp8 showSortIndicator:(BOOL)fp12 ascending:(BOOL)fp16 priority:(int)fp20 highlightForSort:(BOOL)fp24;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)highlight:(BOOL)fp8 withFrame:(struct _NSRect)fp12 inView:(id)fp28;
- (id)_convertToText:(id)fp8;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (void)_setIndicatorImage:(id)fp8;
- (id)_indicatorImage;

@end

@interface NSTableHeaderView : NSView
{
NSTableView *_tableView;
int _resizedColumn;
int _draggedColumn;
int _pressedColumn;
NSImage *_headerDragImage;
float _draggedDistance;
BOOL _isColumnResizing;
BOOL _showHandCursorFired;
BOOL _reserved3;
BOOL _reserved4;
BOOL _skipDrawingSeparator;
id _reserved;
}

+ (void)initialize;
- (struct _NSSize)_headerCellSizeOfColumn:(int)fp8;
- (struct _NSRect)_headerCellRectOfColumn:(int)fp8;
- (struct _NSSize)_headerSizeOfColumn:(int)fp8;
- (struct _NSRect)headerRectOfColumn:(int)fp8;
- (int)columnAtPoint:(struct _NSPoint)fp8;
- (void)_drawHeaderCell:(id)fp8 withFrame:(struct _NSRect)fp12 withStateFromColumn:(int)fp28;
- (void)_drawHeaderFillerInRect:(struct _NSRect)fp8 matchLastState:(BOOL)fp24;
- (void)_drawHeaderOfColumn:(int)fp8;
- (void)_drawOverflowHeaderInRect:(struct _NSRect)fp8;
- (BOOL)_wantsLiveResizeToUseCachedImage;
- (BOOL)_shouldAttemptIdleTimeDisposeOfLiveResizeCacheWithFrame:(struct _NSRect)fp8;
- (BOOL)_needsLiveResizeCacheInSyncWithSiblingView;
- (void)_invalidateLiveResizeCachedImage;
- (void)_drawRect:(struct _NSRect)fp8 liveResizeFill:(struct _NSRect)fp24:(struct _NSRect)fp40:(struct _NSRect)fp56:(struct _NSRect)fp72 cacheCoveredArea:(struct _NSRect)fp88;
- (BOOL)_drawingEndSeparator;
- (void)_drawColumnHeaderRange:(struct _NSRange)fp8;
- (void)_doModifySelectionWithEvent:(id)fp8 onColumn:(int)fp12;
- (void)_showOpenHandCursor:(id)fp8;
- (void)_cancelDelayedShowOpenHandCursor;
- (void)_unshowOpenHandCursor:(id)fp8;
- (void)_scheduleDelayedShowOpenHandCursorIfNecessary;
- (BOOL)_trackAndModifySelectionWithEvent:(id)fp8 onColumn:(int)fp12 stopOnReorderGesture:(char *)fp16;
- (void)_beginDraggingColumn:(int)fp8;
- (void)_endDragging;
- (id)_lastDraggedEventFollowing:(id)fp8;
- (id)_lastDraggedOrUpEventFollowing:(id)fp8 canceled:(char *)fp12;
- (id)_resizeCursorForTableColumn:(id)fp8;
- (void)_reorderColumn:(int)fp8 withEvent:(id)fp12;
- (void)_resizeColumn:(int)fp8 withEvent:(id)fp12;
- (void)dealloc;
- (void)_old_encodeWithCoder_NSTableHeaderView:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)_old_initWithCoder_NSTableHeaderView:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)_invalidateOrComputeNewCursorRectsIfNecessary;
- (struct _NSRect)_unobstructedPortionOfRect:(struct _NSRect)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)mouseDownCanMoveWindow;
- (void)mouseDown:(id)fp8;
- (BOOL)isFlipped;
- (BOOL)isOpaque;
- (void)resetCursorRects;
- (BOOL)_shouldHaveResizeCursorAtPoint:(struct _NSPoint)fp8;
- (void)_windowChangedKeyState;
- (void)setTableView:(id)fp8;
- (id)tableView;
- (int)resizedColumn;
- (int)draggedColumn;
- (float)draggedDistance;

@end

@interface NSTableHeaderView (NSTableHeaderViewAccessibility)
- (id)accessibilityChildForColumn:(id)fp8;
- (unsigned int)accessibilityColumnForChild:(id)fp8;
- (id)accessibilityRoleAttribute;
- (id)accessibilityParentAttribute;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface NSTableRow : NSObject
{
NSTableView *_tableView;
int _row;
}

+ (id)tableRow:(int)fp8 ofTableView:(id)fp12;
- (id)initWithRow:(int)fp8 ofTableView:(id)fp12;
- (void)dealloc;
- (BOOL)isEqual:(id)fp8;
- (int)row;

@end

@interface NSTableRow (NSTableRowAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (BOOL)accessibilityIsRoleAttributeSettable;
- (id)accessibilityRoleDescriptionAttribute;
- (BOOL)accessibilityIsRoleDescriptionAttributeSettable;
- (id)accessibilitySubroleAttribute;
- (BOOL)accessibilityIsSubroleAttributeSettable;
- (id)accessibilityParentAttribute;
- (BOOL)accessibilityIsParentAttributeSettable;
- (id)_accessibilityChildrenInRange:(struct _NSRange)fp8;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsChildrenAttributeSettable;
- (id)accessibilityVisibleChildrenAttribute;
- (BOOL)accessibilityIsVisibleChildrenAttributeSettable;
- (id)accessibilityWindowAttribute;
- (BOOL)accessibilityIsWindowAttributeSettable;
- (id)accessibilityPositionAttribute;
- (BOOL)accessibilityIsPositionAttributeSettable;
- (id)accessibilitySizeAttribute;
- (BOOL)accessibilityIsSizeAttributeSettable;
- (id)accessibilitySelectedAttribute;
- (BOOL)accessibilityIsSelectedAttributeSettable;
- (void)accessibilitySetSelectedAttribute:(id)fp8;
- (id)accessibilityAttributeValue:(id)fp8;
- (BOOL)accessibilityIsAttributeSettable:(id)fp8;
- (void)accessibilitySetValue:(id)fp8 forAttribute:(id)fp12;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
- (unsigned int)accessibilityIndexOfChild:(id)fp8;
- (unsigned int)accessibilityArrayAttributeCount:(id)fp8;
- (id)accessibilityArrayAttributeValues:(id)fp8 index:(unsigned int)fp12 maxCount:(unsigned int)fp16;
@end

@interface NSTableView : NSControl
{
NSTableHeaderView *_headerView;
NSView *_cornerView;
NSMutableArray *_tableColumns;
NSCell *_editingCell;
id _delegate;
id _dataSource;
struct _NSSize _intercellSpacing;
float _rowHeight;
int _lastSelectedColumn;
int _lastSelectedRow;
int _editingRow;
int _editingColumn;
NSMutableIndexSet *_selectedColumns;
NSMutableIndexSet *_selectedRows;
NSImage *_bodyDragImage;
NSColor *_backgroundColor;
NSColor *_gridColor;
float _dragYPos;
id _target;
SEL _action;
SEL _doubleAction;
struct _NSRect _rectOfLastColumn;
int _lastCachedRectColumn;
struct _NSRect _rectOfLastRow;
int _lastCachedRectRow;
struct __TvFlags _tvFlags;
void *_reserved;
}

+ (void)initialize;
+ (int)defaultFocusRingType;
+ (id)_defaultTableHeaderSortImage;
+ (id)_defaultTableHeaderReverseSortImage;
- (void)becomeKeyWindow;
- (void)resignKeyWindow;
- (int)_betweenDropFeedbackStyle;
- (int)_betweenDropGapSize;
- (BOOL)_isGapStyleDropTargetForRow:(int)fp8 operation:(int)fp12 mask:(int)fp16;
- (BOOL)_isCurrentlyGapStyleDropTarget;
- (void)_growFrameForDropGapStyle;
- (void)_growFrameForDropGapStyleIfNecessary;
- (void)_ungrowFrameForDropGapStyle;
- (float)_widthOfColumn:(int)fp8;
- (struct _NSRect)rectOfColumn:(int)fp8;
- (struct _NSRect)rectOfRow:(int)fp8;
- (struct _NSRect)_rectOfRowAssumingRowExists:(int)fp8;
- (float)_locationOfColumn:(int)fp8;
- (float)_locationOfRow:(int)fp8;
- (float)_totalHeightOfTableView;
- (struct _NSRect)_rectOfRowRange:(struct _NSRange)fp8;
- (struct _NSRect)_rectOfColumnRange:(struct _NSRange)fp8;
- (int)_columnAtLocation:(float)fp8;
- (int)columnAtPoint:(struct _NSPoint)fp8;
- (int)_columnClosestToColumn:(int)fp8 whenMoved:(float)fp12;
- (struct _NSRange)columnsInRect:(struct _NSRect)fp8;
- (int)rowAtPoint:(struct _NSPoint)fp8;
- (struct _NSRange)rowsInRect:(struct _NSRect)fp8;
- (void)_setNeedsDisplayInColumn:(int)fp8 row:(int)fp12;
- (int)_compareWidthWithSuperview;
- (BOOL)_fillsClipViewWidth;
- (BOOL)_fillsClipViewHeight;
- (int)_rightmostResizableColumn;
- (void)_resizeEditedCellWithOldFrame:(struct _NSRect)fp8;
- (void)_prepareSynchronizationOfEditedFieldForColumnWidthChange;
- (void)_doSynchronizationOfEditedFieldForColumnWidthChange;
- (void)_sizeLastColumnToFitIfNecessary;
- (void)_sizeToFitIfNecessary;
- (void)_verifySelectionIsOK;
- (void)tile;
- (void)_setNumberOfRowsCacheIsValid:(BOOL)fp8;
- (void)_invalidateNumberOfRowsCache;
- (void)_finishedMakingConnections;
- (void)viewDidMoveToWindow;
- (void)reloadData;
- (void)noteNumberOfRowsChanged;
- (struct _NSRect)frameOfCellAtColumn:(int)fp8 row:(int)fp12;
- (void)_sizeToFitText;
- (BOOL)_userCanChangeSelection;
- (BOOL)_sendDelegateCanSelectRow:(int)fp8 byExtendingSelection:(BOOL)fp12;
- (BOOL)_sendDelegateCanSelectColumn:(int)fp8 byExtendingSelection:(BOOL)fp12;
- (BOOL)_userCanSelectRow:(int)fp8 byExtendingSelection:(BOOL)fp12;
- (BOOL)_userCanSelectColumn:(int)fp8 byExtendingSelection:(BOOL)fp12;
- (void)_userSelectRow:(int)fp8 byExtendingSelection:(BOOL)fp12;
- (void)_userSelectColumn:(int)fp8 byExtendingSelection:(BOOL)fp12;
- (void)_userDeselectRow:(int)fp8;
- (void)_userDeselectColumn:(int)fp8;
- (void)_userSelectIndexesInRange:(struct _NSRange)fp8 toIndex:(int)fp16 byExtendingSelection:(BOOL)fp20 indexType:(int)fp24;
- (void)_userSelectRowRange:(struct _NSRange)fp8 toRow:(int)fp16 byExtendingSelection:(BOOL)fp20;
- (void)_userSelectColumnRange:(struct _NSRange)fp8 toColumn:(int)fp16 byExtendingSelection:(BOOL)fp20;
- (void)_revertToOldRowSelection:(id)fp8 fromRow:(int)fp12 toRow:(int)fp16;
- (void)_userChangeSelection:(id)fp8 fromAnchorRow:(int)fp12 toRow:(int)fp16 lastExtensionRow:(int)fp20 selecting:(BOOL)fp24;
- (BOOL)_userCanEditTableColumn:(id)fp8 row:(int)fp12;
- (BOOL)_userCanSelectAndEditTableColumn:(id)fp8 row:(int)fp12;
- (void)_userSelectTextOfNextCellInSameColumn;
- (void)_userSelectTextOfNextCell;
- (void)_userSelectTextOfPreviousCell;
- (id)_dataSourceValueForColumn:(id)fp8 row:(int)fp12;
- (void)_dataSourceSetValue:(id)fp8 forColumn:(id)fp12 row:(int)fp16;
- (void)_delegateWillDisplayCell:(id)fp8 forColumn:(id)fp12 row:(int)fp16;
- (void)_sendDelegateWillDisplayCell:(id)fp8 forColumn:(id)fp12 row:(int)fp16;
- (BOOL)_highlightColorDependsOnWindowState;
- (BOOL)_shouldUseSecondaryHighlightColor;
- (id)_highlightColorForCell:(id)fp8;
- (void)drawRow:(int)fp8 clipRect:(struct _NSRect)fp12;
- (void)_highlightRow:(int)fp8 clipRect:(struct _NSRect)fp12;
- (void)_highlightColumn:(int)fp8 clipRect:(struct _NSRect)fp12;
- (void)highlightSelectionInClipRect:(struct _NSRect)fp8;
- (struct _NSRange)_rowsInRectAssumingRowsCoverVisible:(struct _NSRect)fp8;
- (void)drawGridInClipRect:(struct _NSRect)fp8;
- (void)_setNeedsDisplayInRow:(int)fp8;
- (void)_setNeedsDisplayInColumn:(int)fp8 includeHeader:(BOOL)fp12;
- (void)_setNeedsDisplayForSortingChangeInColumn:(int)fp8;
- (void)_setNeedsDisplayForColumn:(int)fp8 draggedDelta:(float)fp12;
- (void)_beginDraggingColumn:(int)fp8;
- (void)_endDragging;
- (void)dealloc;
- (void)_old_encodeWithCoder_NSTableView:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)_old_initWithCoder_NSTableView:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)superviewFrameChanged:(id)fp8;
- (id)_setSuperview:(id)fp8;
- (id)initWithFrame:(struct _NSRect)fp8;
- (BOOL)isFlipped;
- (BOOL)isOpaque;
- (struct _NSRect)_unobstructedPortionOfRect:(struct _NSRect)fp8;
- (BOOL)_wantsLiveResizeToUseCachedImage;
- (BOOL)_needsLiveResizeCacheInSyncWithSiblingView;
- (struct _NSRect)_liveResizeCacheableBounds;
- (void)_invalidateLiveResizeCachedImage;
- (BOOL)_resizesLastColumnOnly;
- (BOOL)_shouldAttemptIdleTimeDisposeOfLiveResizeCacheWithFrame:(struct _NSRect)fp8;
- (BOOL)_layoutIsSameAsCachedLayoutWithFrame:(struct _NSRect)fp8;
- (void)_drawRect:(struct _NSRect)fp8 liveResizeFill:(struct _NSRect)fp24:(struct _NSRect)fp40:(struct _NSRect)fp56:(struct _NSRect)fp72 cacheCoveredArea:(struct _NSRect)fp88;
- (void)_captureReorderResizeColumnImageCaches;
- (void)viewWillStartLiveResize;
- (void)viewDidEndLiveResize;
- (id)_alternatingRowBackgroundColors;
- (void)drawBackgroundInClipRect:(struct _NSRect)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (void)_updateLastEditingAndFocusRingFrame;
- (void)editColumn:(int)fp8 row:(int)fp12 withEvent:(id)fp16 select:(BOOL)fp20;
- (void)_didSetFocusForCell:(id)fp8 withKeyboardFocusClipView:(id)fp12;
- (BOOL)_sendingTableViewRowAction;
- (BOOL)_sendAction:(SEL)fp8 to:(id)fp12 row:(int)fp16 column:(int)fp20;
- (void)_endMyEditing;
- (BOOL)_shouldDrawFocus;
- (BOOL)_showingFocusRingAroundEnclosingScrollView:(id)fp8;
- (void)_drawTableExteriorFocusRingIfNecessaryInClipRect:(struct _NSRect)fp8;
- (void)_drawScrollViewFocusRing:(id)fp8 clipRect:(struct _NSRect)fp12 needsFullDisplay:(BOOL)fp28;
- (void)_setFocusRingNeedsDisplayIfNecessary;
- (void)_setNeedsDisplayForFirstResponderChange;
- (void)_windowChangedKeyState;
- (BOOL)abortEditing;
- (BOOL)shouldDelayWindowOrderingForEvent:(id)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (BOOL)refusesFirstResponder;
- (BOOL)acceptsFirstResponder;
- (BOOL)needsPanelToBecomeKey;
- (BOOL)shouldBeTreatedAsInkEvent:(id)fp8;
- (BOOL)_shouldAbortMouseDownAfterDragAttempt:(id)fp8;
- (void)mouseUp:(id)fp8;
- (BOOL)_mouseDownShouldMakeFirstResponder;
- (void)mouseDown:(id)fp8;
- (int)_findFirstUserSelectableRowStartingAtRow:(int)fp8 stoppingAtRow:(int)fp12 byExtendingSelection:(BOOL)fp16;
- (void)keyDown:(id)fp8;
- (void)updateCell:(id)fp8;
- (void)updateCellInside:(id)fp8;
- (id)selectedCell;
- (void)sizeLastColumnToFit;
- (void)sizeToFit;
- (BOOL)textShouldEndEditing:(id)fp8;
- (BOOL)textView:(id)fp8 shouldChangeTextInRange:(struct _NSRange)fp12 replacementString:(id)fp20;
- (BOOL)textShouldBeginEditing:(id)fp8;
- (BOOL)_okToStartTextEndEditing;
- (void)textDidEndEditing:(id)fp8;
- (void)textDidBeginEditing:(id)fp8;
- (void)textDidChange:(id)fp8;
- (BOOL)textView:(id)fp8 doCommandBySelector:(SEL)fp12;
- (id)textView:(id)fp8 completions:(id)fp12 forPartialWordRange:(struct _NSRange)fp16 indexOfSelectedItem:(int *)fp24;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)setTarget:(id)fp8;
- (id)target;
- (void)setAction:(SEL)fp8;
- (SEL)action;
- (void)setDoubleAction:(SEL)fp8;
- (SEL)doubleAction;
- (void)setRefusesFirstResponder:(BOOL)fp8;
- (BOOL)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (void)_checkDataSource;
- (void)setDataSource:(id)fp8;
- (id)dataSource;
- (void)setAllowsColumnReordering:(BOOL)fp8;
- (BOOL)allowsColumnReordering;
- (void)setAutoresizesAllColumnsToFit:(BOOL)fp8;
- (BOOL)autoresizesAllColumnsToFit;
- (void)setAllowsColumnSelection:(BOOL)fp8;
- (BOOL)allowsColumnSelection;
- (void)setAllowsColumnResizing:(BOOL)fp8;
- (BOOL)allowsColumnResizing;
- (void)setIntercellSpacing:(struct _NSSize)fp8;
- (struct _NSSize)intercellSpacing;
- (id)tableColumns;
- (int)numberOfColumns;
- (int)numberOfRows;
- (void)addTableColumn:(id)fp8;
- (void)removeTableColumn:(id)fp8;
- (void)setRowHeight:(float)fp8;
- (float)rowHeight;
- (void)setHeaderView:(id)fp8;
- (id)headerView;
- (void)setCornerView:(id)fp8;
- (void)setUsesAlternatingRowBackgroundColors:(BOOL)fp8;
- (BOOL)usesAlternatingRowBackgroundColors;
- (id)cornerView;
- (void)setGridStyleMask:(unsigned int)fp8;
- (unsigned int)gridStyleMask;
- (void)setDrawsGrid:(BOOL)fp8;
- (BOOL)drawsGrid;
- (BOOL)_drawsHorizontalGrid;
- (BOOL)_drawsVerticalGrid;
- (id)tableColumnWithIdentifier:(id)fp8;
- (int)columnWithIdentifier:(id)fp8;
- (void)_disableMovedPosting;
- (void)_enableMovedPosting;
- (void)_postColumnDidMoveNotificationFromColumn:(int)fp8 toColumn:(int)fp12;
- (void)moveColumn:(int)fp8 toColumn:(int)fp12;
- (void)setBackgroundColor:(id)fp8;
- (id)backgroundColor;
- (void)setGridColor:(id)fp8;
- (id)gridColor;
- (int)editedColumn;
- (int)editedRow;
- (int)clickedRow;
- (int)clickedColumn;
- (void)setAllowsMultipleSelection:(BOOL)fp8;
- (BOOL)allowsMultipleSelection;
- (void)setAllowsEmptySelection:(BOOL)fp8;
- (BOOL)allowsEmptySelection;
- (void)_disableSelectionPosting;
- (BOOL)_enableSelectionPostingAndPost;
- (void)_postSelectionDidChangeNotification;
- (void)_markSelectionIsChanging;
- (void)_postSelectionIsChangingAndMark:(BOOL)fp8;
- (BOOL)validateUserInterfaceItem:(id)fp8;
- (void)selectAll:(id)fp8;
- (void)_deselectAll;
- (void)_deselectAllAndEndEditingIfNecessary:(BOOL)fp8;
- (void)deselectAll:(id)fp8;
- (void)_endMyEditingAndRemainFirstResponder;
- (void)_endEditingIfNecessaryWhenSelectingColumnRange:(struct _NSRange)fp8 byExtendingSelection:(BOOL)fp16;
- (void)_endEditingIfNecessaryWhenSelectingRowRange:(struct _NSRange)fp8 byExtendingSelection:(BOOL)fp16;
- (void)_endEditingIfNecessaryWhenDeselectingColumnRange:(struct _NSRange)fp8;
- (void)_endEditingIfNecessaryWhenDeselectingRowRange:(struct _NSRange)fp8;
- (BOOL)_validIndexes:(id)fp8 indexType:(int)fp12;
- (void)_doSelectIndexes:(id)fp8 byExtendingSelection:(BOOL)fp12 indexType:(int)fp16 funnelThroughSingleIndexVersion:(BOOL)fp20;
- (void)selectColumn:(int)fp8 byExtendingSelection:(BOOL)fp12;
- (void)selectRow:(int)fp8 byExtendingSelection:(BOOL)fp12;
- (void)selectColumnIndexes:(id)fp8 byExtendingSelection:(BOOL)fp12;
- (void)selectRowIndexes:(id)fp8 byExtendingSelection:(BOOL)fp12;
- (void)_deselectColumn:(int)fp8;
- (void)deselectColumn:(int)fp8;
- (void)deselectRow:(int)fp8;
- (void)_deselectRowRange:(struct _NSRange)fp8;
- (int)selectedColumn;
- (int)selectedRow;
- (BOOL)isColumnSelected:(int)fp8;
- (BOOL)isRowSelected:(int)fp8;
- (int)numberOfSelectedColumns;
- (int)numberOfSelectedRows;
- (id)selectedColumnEnumerator;
- (id)selectedRowEnumerator;
- (id)selectedRowIndexes;
- (id)selectedColumnIndexes;
- (void)scrollRowToVisible:(int)fp8;
- (void)scrollColumnToVisible:(int)fp8;
- (id)_columnWidthAutoSaveNameWithPrefix;
- (id)_sortOrderAutoSaveNameWithPrefix;
- (void)setAutosaveName:(id)fp8;
- (id)autosaveName;
- (BOOL)autosaveTableColumns;
- (void)setAutosaveTableColumns:(BOOL)fp8;
- (void)_readPersistentTableColumns;
- (void)_writePersistentTableColumns;
- (void)_setNeedsDisplayInPrimarySortColumns;
- (void)_setNeedsDisplayInPrimarySortColumnsIfNecessary;
- (BOOL)_dataSourceRespondsToSortDescriptorsDidChange;
- (void)_sendDataSourceSortDescriptorsDidChange:(id)fp8;
- (void)setSortDescriptors:(id)fp8;
- (void)_removeSortDescriptorForTableColumn:(id)fp8;
- (void)_fixupSortDescriptorPlaceholdersIfNecessary;
- (id)sortDescriptors;
- (void)_changeSortDescriptorsForClickOnColumn:(int)fp8;
- (void)setIndicatorImage:(id)fp8 inTableColumn:(id)fp12;
- (id)indicatorImageInTableColumn:(id)fp8;
- (void)_sendDelegateDidMouseDownInHeader:(int)fp8;
- (void)_sendDelegateDidClickColumn:(int)fp8;
- (void)_sendDelegateDidDragColumn:(int)fp8;
- (void)setHighlightedTableColumn:(id)fp8;
- (id)highlightedTableColumn;
- (void)_setDeselectsWhenMouseLeavesDuringDrag:(BOOL)fp8;
- (BOOL)_deselectsWhenMouseLeavesDuringDrag;
- (BOOL)_hoverAreaIsSameAsLast:(id)fp8;
- (void)_tryDrop:(id)fp8 dropRow:(int)fp12 dropOperation:(int)fp16;
- (void)_determineDropCandidateForDragInfo:(id)fp8;
- (void)_setNeedsDisplayForDropCandidateRow:(int)fp8 operation:(int)fp12 mask:(unsigned int)fp16;
- (void)_drawGapStyleDropHighlightBetweenUpperRow:(int)fp8 andLowerRow:(int)fp12 atOffset:(int)fp16 inGapRect:(struct _NSRect)fp20;
- (void)_drawDropHighlight;
- (void)_drawDropHighlightOnRow:(int)fp8;
- (void)_drawDropHighlightBetweenUpperRow:(int)fp8 andLowerRow:(int)fp12 atOffset:(float)fp16;
- (void)_drawDropHighlightOffScreenIndicatorPointingLeftAtOffset:(float)fp8;
- (void)_drawDropHighlightOffScreenIndicatorPointingUp:(BOOL)fp8 atOffset:(float)fp12;
- (BOOL)_dragCanBeginFromHorizontalMouseMotion;
- (BOOL)_dragCanBeginFromVerticalMouseMotion;
- (BOOL)_dragCanBeginFromSomeMouseMotion;
- (void)setVerticalMotionCanBeginDrag:(BOOL)fp8;
- (BOOL)verticalMotionCanBeginDrag;
- (int)_distanceInDragDirectionBeforeDragAttempt;
- (int)_distanceInNonDragDirectionBeforeAbortingDragAttempt;
- (BOOL)_dragShouldBeginFromMouseDown:(id)fp8;
- (BOOL)_isPoint:(struct _NSPoint)fp8 inDragZoneOfRow:(int)fp16;
- (BOOL)_sendDataSourceWriteDragRows:(id)fp8 toPasteboard:(id)fp12;
- (BOOL)_dataSourceRespondsToWriteDragRows;
- (struct _NSRange)_columnRangeForDragImage;
- (id)dragImageForRows:(id)fp8 event:(id)fp12 dragImageOffset:(struct _NSPoint *)fp16;
- (void)_doImageDragUsingRows:(id)fp8 event:(id)fp12 pasteboard:(id)fp16 source:(id)fp20 slideBack:(BOOL)fp24;
- (BOOL)_performDragFromMouseDown:(id)fp8;
- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)fp8;
- (void)draggedImage:(id)fp8 beganAt:(struct _NSPoint)fp12;
- (void)draggedImage:(id)fp8 endedAt:(struct _NSPoint)fp12 operation:(unsigned int)fp20;
- (BOOL)ignoreModifierKeysWhileDragging;
- (void)setDropRow:(int)fp8 dropOperation:(int)fp12;
- (unsigned int)draggingEntered:(id)fp8;
- (unsigned int)draggingUpdated:(id)fp8;
- (void)draggingExited:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)viewWillMoveToSuperview:(id)fp8;
- (void)_autoscrollForDraggingInfo:(id)fp8 timeDelta:(double)fp12;

@end

@interface _NSCornerView : NSView
{
NSCell *_drawCell;
}

- (void)dealloc;
- (BOOL)isFlipped;
- (id)enclosingScrollView;
- (struct _NSRect)fillRect;
- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)_drawingEndSeparator;

@end

@interface _NSFlippedImage : NSImage
{
}

- (BOOL)isFlipped;
- (id)initWithRect:(struct _NSRect)fp8 color:(id)fp24 ofView:(id)fp28;

@end

@interface NSTableView (NSTableViewAccessibility)
+ (BOOL)accessibilityIsSingleCelled;
- (id)accessibilityCurrentEditorForCell:(id)fp8;
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)_accessibilityRowsInRange:(struct _NSRange)fp8;
- (id)accessibilityRowsAttribute;
- (BOOL)accessibilityIsRowsAttributeSettable;
- (id)accessibilityVisibleRowsAttribute;
- (BOOL)accessibilityIsVisibleRowsAttributeSettable;
- (id)accessibilitySelectedRowsAttribute;
- (BOOL)accessibilityIsSelectedRowsAttributeSettable;
- (void)accessibilitySetSelectedRowsAttribute:(id)fp8;
- (id)accessibilityColumnsAttribute;
- (BOOL)accessibilityIsColumnsAttributeSettable;
- (id)accessibilityVisibleColumnsAttribute;
- (BOOL)accessibilityIsVisibleColumnsAttributeSettable;
- (id)accessibilitySelectedColumnsAttribute;
- (BOOL)accessibilityIsSelectedColumnsAttributeSettable;
- (void)accessibilitySetSelectedColumnsAttribute:(id)fp8;
- (id)accessibilityHeaderAttribute;
- (BOOL)accessibilityIsHeaderAttributeSettable;
- (unsigned int)_accessibilityNumberOfChildren;
- (id)_accessibilityChildrenInRange:(struct _NSRange)fp8;
- (unsigned int)accessibilityIndexOfChild:(id)fp8;
- (id)accessibilityChildrenAttribute;
- (unsigned int)accessibilityArrayAttributeCount:(id)fp8;
- (id)accessibilityArrayAttributeValues:(id)fp8 index:(unsigned int)fp12 maxCount:(unsigned int)fp16;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
- (id)_accessibilityTableCell:(int)fp8 tableColumn:(id)fp12;
- (id)_accessibilityTableRow:(int)fp8;
@end

@interface NSTableViewCellProxy : NSAccessibilityProxy
{
NSTableColumn *_tableColumn;
int _row;
}

+ (id)cellForRow:(int)fp8 column:(int)fp12 tableView:(id)fp16;
+ (id)cellForRow:(int)fp8 tableColumn:(id)fp12;
- (id)initWithRow:(int)fp8 tableColumn:(id)fp12;
- (id)initWithRow:(int)fp8 column:(int)fp12 tableView:(id)fp16;
- (void)dealloc;
- (int)row;
- (int)column;
- (BOOL)isBeingEdited;
- (id)editor;
- (id)realElement;
- (BOOL)isEqual:(id)fp8;
- (id)accessibilityParentAttribute;
- (void)accessibilitySetValueAttribute:(id)fp8;
- (BOOL)accessibilityIsFocusedAttributeSettable;
- (void)accessibilitySetFocusedAttribute:(id)fp8;
- (id)accessibilityPositionAttribute;
- (id)accessibilitySizeAttribute;
- (void)_accessibilityPopUpButtonCellPressAction:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;

@end

@interface NSTabView : NSView
{
id _tabViewItems;
NSTabViewItem *_selectedTabViewItem;
NSFont *_font;
int _tabViewType;
BOOL _allowTruncatedLabels;
id _delegate;
BOOL _tabViewUnusedBOOL1;
BOOL _drawsBackground;
NSTabViewItem *_pressedTabViewItem;
int _endTabWidth;
int _maxOverlap;
int _tabHeight;
NSTabViewItem *_tabViewItemWithKeyView;
NSView *_originalNextKeyView;
struct __NSTabViewDelegateRespondTo _delegateRespondTo;
struct __NSTabViewFlags _flags;
NSTabViewItem *_focusedTabViewItem;
void *_tabViewUnused2;
}

+ (void)initialize;
+ (BOOL)_usesToolTipsWhenTruncated;
+ (void)_setUsesToolTipsWhenTruncated:(BOOL)fp8;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)_commonInit;
- (void)dealloc;
- (BOOL)allowsTruncatedLabels;
- (id)tabViewItems;
- (int)indexOfTabViewItem:(id)fp8;
- (id)tabViewItemAtIndex:(int)fp8;
- (int)indexOfTabViewItemWithIdentifier:(id)fp8;
- (id)selectedTabViewItem;
- (int)numberOfTabViewItems;
- (id)font;
- (BOOL)isFlipped;
- (int)_tabOrientation;
- (BOOL)_hasHorizontalOrientation;
- (int)tabViewType;
- (BOOL)_hasTabs;
- (BOOL)_hasBezelBorder;
- (BOOL)drawsBackground;
- (void)setDrawsBackground:(BOOL)fp8;
- (BOOL)isOpaque;
- (int)controlTint;
- (int)controlSize;
- (void)setAllowsTruncatedLabels:(BOOL)fp8;
- (void)setFont:(id)fp8;
- (void)setTabViewType:(int)fp8;
- (void)setControlTint:(int)fp8;
- (void)setControlSize:(int)fp8;
- (void)_addedTab:(id)fp8 atIndex:(int)fp12;
- (void)addTabViewItem:(id)fp8;
- (void)insertTabViewItem:(id)fp8 atIndex:(int)fp12;
- (void)removeTabViewItem:(id)fp8;
- (void)_removeTabViewItems:(id)fp8;
- (BOOL)resignFirstResponder;
- (BOOL)becomeFirstResponder;
- (BOOL)acceptsFirstResponder;
- (BOOL)needsPanelToBecomeKey;
- (void)becomeKeyWindow;
- (void)resignKeyWindow;
- (id)currentEditor;
- (BOOL)_hasKeyboardFocus;
- (BOOL)_hasKeyboardFocusInTabItem:(id)fp8;
- (id)_findFirstValidKeyViewStartingFrom:(id)fp8 inTabViewItem:(id)fp12;
- (void)_switchTabViewItem:(id)fp8 oldView:(id)fp12 withTabViewItem:(id)fp16 newView:(id)fp20 initialFirstResponder:(id)fp24 lastKeyView:(id)fp28;
- (void)_setInteriorNextKeyView:(id)fp8;
- (void)_setNextKeyViewFor:(id)fp8 toNextKeyView:(id)fp12;
- (void)setNextKeyView:(id)fp8;
- (BOOL)_isViewValidOriginalNextKeyView:(id)fp8;
- (void)instantiateWithObjectInstantiator:(id)fp8;
- (BOOL)_wiringNibConnections;
- (void)_finishedMakingConnections;
- (void)_primitiveSetNextKeyView:(id)fp8;
- (void)_primitiveSetPreviousKeyView:(id)fp8;
- (void)_prepareForDefaultKeyLoopComputation;
- (void)_recursiveBreakKeyViewLoop;
- (id)_recursiveSetDefaultKeyViewLoop;
- (void)_primitiveSetDefaultNextKeyView:(id)fp8;
- (void)_concludeDefaultKeyLoopComputation;
- (id)_originalNextKeyView;
- (void)_switchInitialFirstResponder:(id)fp8 lastKeyView:(id)fp12 forTabViewItem:(id)fp16;
- (void)selectTabViewItem:(id)fp8;
- (void)takeSelectedTabViewItemFromSender:(id)fp8;
- (void)selectTabViewItemAtIndex:(int)fp8;
- (void)selectTabViewItemWithIdentifier:(id)fp8;
- (void)selectFirstTabViewItem:(id)fp8;
- (void)selectLastTabViewItem:(id)fp8;
- (void)selectNextTabViewItem:(id)fp8;
- (void)selectPreviousTabViewItem:(id)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (id)tabViewItemAtPoint:(struct _NSPoint)fp8;
- (BOOL)mouseDownCanMoveWindow;
- (void)mouseDown:(id)fp8;
- (int)_findPreviousNextTab:(int)fp8 loop:(BOOL)fp12 startingAtTabItem:(id)fp16;
- (void)_previousNextTab:(int)fp8 loop:(BOOL)fp12;
- (void)_cancelDelayedKeyboardNavigationTabSwitch;
- (void)_keyboardNavigateDoSelectOfFocusItem:(id)fp8;
- (void)_keyboardNavigateToTabByDelta:(int)fp8;
- (void)moveRight:(id)fp8;
- (void)moveLeft:(id)fp8;
- (void)moveUp:(id)fp8;
- (void)moveDown:(id)fp8;
- (void)performClick:(id)fp8;
- (struct _NSRect)_tabRectAdjustedForOverlap:(struct _NSRect)fp8;
- (void)_setNeedsDisplayForTabViewItem:(id)fp8;
- (void)_setKeyboardFocusRingNeedsDisplayForTabViewItem:(id)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (void)_drawThemeTab:(id)fp8 withState:(int)fp12 inRect:(struct _NSRect)fp16;
- (void)_drawWinTab:(BOOL)fp8 inRect:(struct _NSRect)fp12 tabColor:(id)fp28 shadowColor:(id)fp32;
- (void)_drawTabViewItem:(id)fp8 inRect:(struct _NSRect)fp12;
- (struct _NSRect)_labelRectForTabRect:(struct _NSRect)fp8 forItem:(id)fp24;
- (struct _NSRect)_titleRectForTabViewItem:(id)fp8;
- (struct _NSSize)_nominalSizeNeedForTabItemLabel:(id)fp8;
- (struct _NSSize)_minimumSizeNeedForTabItemLabel:(id)fp8;
- (struct _NSRect)_themeContentRect;
- (struct _NSRect)_themeTabAndBarArea;
- (void)_getThemeImageTabBarRect:(struct _NSRect *)fp8 backgroundRect:(struct _NSRect *)fp12 fillBackgroundRect:(struct _NSRect *)fp16;
- (struct _NSRect)_tabRectForTabViewItem:(id)fp8;
- (void)_drawThemeBezelBorder:(id)fp8 inRect:(struct _NSRect)fp12;
- (void)_drawBezelBorder:(id)fp8 inRect:(struct _NSRect)fp12;
- (void)_drawBorder:(id)fp8 inRect:(struct _NSRect)fp12;
- (int)_realControlTint;
- (void)_windowChangedKeyState;
- (void)viewWillMoveToWindow:(id)fp8;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)_old_encodeWithCoder_NSTabView:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)_old_initWithCoder_NSTabView:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (struct _NSSize)minimumSize;
- (float)_totalTabsLength:(BOOL)fp8 overlap:(float)fp12;
- (float)_totalNominalTabsLengthWithOverlap:(float)fp8;
- (float)_totalMinimumTabsLengthWithOverlap:(float)fp8;
- (float)_endTabWidth;
- (float)_tabHeight;
- (float)_doLayoutTabs:(float)fp8;
- (void)_layoutTabs;
- (void)viewWillStartLiveResize;
- (void)viewDidEndLiveResize;
- (void)removeFromSuperview;
- (void)removeFromSuperviewWithoutNeedingDisplay;
- (void)_resizeSelectedTabViewItem;
- (struct _NSRect)contentRect;
- (void)_invalidateTabsCache;
- (void)_systemColorChanged:(id)fp8;
- (void)_setPressedTabViewItem:(id)fp8;
- (BOOL)mouseTracker:(id)fp8 shouldStartTrackingWithEvent:(id)fp12;
- (BOOL)mouseTracker:(id)fp8 shouldContinueTrackingWithEvent:(id)fp12;
- (BOOL)mouseTracker:(id)fp8 didStopTrackingWithEvent:(id)fp12;
- (void)_selectTabWithDraggingInfo:(id)fp8;
- (unsigned int)draggingEntered:(id)fp8;
- (unsigned int)draggingUpdated:(id)fp8;
- (void)draggingExited:(id)fp8;

@end

@interface NSTabView (NSTabViewAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (id)accessibilityTabsAttribute;
- (BOOL)accessibilityIsTabsAttributeSettable;
- (id)accessibilityContentsAttribute;
- (BOOL)accessibilityIsContentsAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
@end

@interface NSTabViewItem : NSObject
{
id _identifier;
NSString *_label;
NSView *_view;
NSView *_initialFirstResponder;
NSColor *_color;
NSTabView *_tabView;
int _tabState;
NSView *_lastKeyView;
BOOL _hasCustomColor;
BOOL _labelSizeValid;
BOOL _autoGeneratedIFR;
struct _NSSize _labelSize;
struct _NSRect _tabRect;
int _tabToolTipTag;
struct NSTabViewItemAuxiliary *_auxiliaryStorage;
}

- (void)_allocAuxiliaryStorage;
- (void)_deallocAuxiliaryStorage;
- (id)init;
- (id)initWithIdentifier:(id)fp8;
- (void)_commonInit;
- (void)dealloc;
- (id)view;
- (void)_validateViewIsInViewHeirarchy:(id *)fp8;
- (id)_lastKeyView;
- (id)initialFirstResponder;
- (id)label;
- (id)tabView;
- (id)color;
- (id)identifier;
- (struct _NSRect)_tabRect;
- (int)tabState;
- (void)setColor:(id)fp8;
- (BOOL)_hasCustomColor;
- (void)setIdentifier:(id)fp8;
- (void)_setTabView:(id)fp8;
- (void)setLabel:(id)fp8;
- (void)_setTabRect:(struct _NSRect)fp8;
- (void)_setTabState:(int)fp8;
- (void)setView:(id)fp8;
- (void)_setInitialFirstResponder:(id)fp8 autoGenerated:(BOOL)fp12;
- (void)setInitialFirstResponder:(id)fp8;
- (void)_finishedWiringNibConnections;
- (BOOL)_canAutoGenerateKeyboardLoops;
- (void)_setAutoGeneratedInitialFirstResponder:(id)fp8;
- (void)_setDefaultKeyViewLoopAndInitialFirstResponder;
- (void)_clearInitialFirstResponderAndLastKeyViewIfAutoGenerated;
- (BOOL)_rotateCoordsForDrawLabelInRect:(struct _NSRect)fp8;
- (void)_drawOrientedLabel:(BOOL)fp8 inRect:(struct _NSRect)fp12;
- (void)drawLabel:(BOOL)fp8 inRect:(struct _NSRect)fp12;
- (void)_drawKeyViewOutline:(struct _NSRect)fp8;
- (void)_invalidLabelSize;
- (struct _NSSize)sizeOfLabel:(BOOL)fp8;
- (id)_shadowTabColorAtIndex:(int)fp8;
- (id)_highlightTabColor;
- (void)_old_encodeWithCoder_NSTabViewItem:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)_old_initWithCoder_NSTabViewItem:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (struct _NSRange)_rangeOfPrefixOfString:(id)fp8 fittingWidth:(float)fp12 withFont:(id)fp16;
- (id)_computeMinimumDisplayedLabelForWidth:(float)fp8;
- (struct _NSSize)_computeDisplayedSizeOfString:(id)fp8;
- (id)_computeDisplayedLabelForRect:(struct _NSRect)fp8;
- (struct _NSSize)_computeMinimumDisplayedLabelSize;
- (struct _NSSize)_computeNominalDisplayedLabelSize;
- (id)_displayedLabelForRect:(struct _NSRect)fp8;
- (id)_displayedLabel;
- (id)_fullLabel;
- (int)_addToolTipRect:(struct _NSRect)fp8;
- (void)_removeToolTip;
- (void)_resetToolTipIfNecessary;
- (void)_tabViewWillRemoveFromSuperview;

@end

@interface NSTabViewItem (NSTabViewItemAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (BOOL)accessibilityIsRoleAttributeSettable;
- (id)accessibilityRoleDescriptionAttribute;
- (BOOL)accessibilityIsRoleDescriptionAttributeSettable;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (id)accessibilityEnabledAttribute;
- (BOOL)accessibilityIsEnabledAttributeSettable;
- (id)accessibilityFocusedAttribute;
- (BOOL)accessibilityIsFocusedAttributeSettable;
- (id)accessibilityTitleAttribute;
- (BOOL)accessibilityIsTitleAttributeSettable;
- (id)accessibilityParentAttribute;
- (BOOL)accessibilityIsParentAttributeSettable;
- (id)accessibilityWindowAttribute;
- (BOOL)accessibilityIsWindowAttributeSettable;
- (id)accessibilityPositionAttribute;
- (BOOL)accessibilityIsPositionAttributeSettable;
- (id)accessibilitySizeAttribute;
- (BOOL)accessibilityIsSizeAttributeSettable;
- (id)accessibilityAttributeValue:(id)fp8;
- (BOOL)accessibilityIsAttributeSettable:(id)fp8;
- (void)accessibilitySetValue:(id)fp8 forAttribute:(id)fp12;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
@end

@interface NSTabWell : NSView
{
NSRulerMarker *_prototype;
BOOL _disabled;
}

+ (void)initialize;
- (id)initWithFrame:(struct _NSRect)fp8 prototypeRulerMarker:(id)fp24;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (void)setPrototype:(id)fp8;
- (id)prototype;
- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)isOpaque;
- (void)mouseDown:(id)fp8;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)isEnabled;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSTearOffFrame : NSTitledFrame
{
}

+ (float)_minXWindowBorderWidth:(unsigned int)fp8;
+ (float)_maxXWindowBorderWidth:(unsigned int)fp8;
+ (float)_minYWindowBorderHeight:(unsigned int)fp8;
+ (void)initTitleCell:(id)fp8 styleMask:(unsigned int)fp12;
+ (float)_minXTitlebarBorderThickness;
+ (float)_maxXTitlebarBorderThickness;
+ (float)_minXTitlebarDecorationMinWidth:(unsigned int)fp8;
+ (float)minFrameWidthWithTitle:(id)fp8 styleMask:(unsigned int)fp12;
+ (float)_titlebarHeight:(unsigned int)fp8;
+ (float)_contentToFrameMinXWidth:(unsigned int)fp8;
+ (float)_contentToFrameMaxXWidth:(unsigned int)fp8;
+ (float)_contentToFrameMinYHeight:(unsigned int)fp8;
+ (float)_contentToFrameMaxYHeight:(unsigned int)fp8;
- (void)shapeWindow;
- (void)propagateFrameDirtyRects:(struct _NSRect)fp8;
- (void)_showDrawRect:(struct _NSRect)fp8;
- (void)drawFrame:(struct _NSRect)fp8;
- (void)_drawFrameRects:(struct _NSRect)fp8;
- (void)_drawTitlebar:(struct _NSRect)fp8;
- (void)_resetDragMargins;
- (void)_setUtilityWindow:(BOOL)fp8;
- (float)_minXWindowBorderWidth;
- (float)_maxXWindowBorderWidth;
- (float)_minYWindowBorderHeight;
- (float)_titlebarHeight;
- (struct _NSRect)_titlebarTitleRect;
- (struct _NSRect)dragRectForFrameRect:(struct _NSRect)fp8;
- (struct _NSRect)titlebarRect;
- (void)_resetTitleFont;
- (id)titleFont;
- (float)_minXTitlebarBorderThickness;
- (float)_maxXTitlebarBorderThickness;
- (float)_minXTitlebarDecorationMinWidth;
- (float)_minXTitleOffset;
- (id)newCloseButton;
- (struct _NSPoint)_closeButtonOrigin;
- (float)_maxYTitlebarDragHeight;
- (float)_minXTitlebarDragWidth;
- (float)_maxXTitlebarDragWidth;
- (float)_contentToFrameMinXWidth;
- (float)_contentToFrameMaxXWidth;
- (float)_contentToFrameMinYHeight;
- (float)_contentToFrameMaxYHeight;

@end

@interface NSCStringText : NSText
{
}

+ (id)new;
- (int)_textLength;
- (id)initWithFrame:(struct _NSRect)fp8 text:(id)fp24 alignment:(int)fp28;
- (id)initWithCoder:(id)fp8;

@end

@interface NSText : NSView
{
void *_ivars;
}

+ (void)initialize;
+ (id)allocWithZone:(struct _NSZone *)fp8;
- (id)string;
- (void)setString:(id)fp8;
- (void)replaceCharactersInRange:(struct _NSRange)fp8 withString:(id)fp16;
- (id)RTFFromRange:(struct _NSRange)fp8;
- (id)RTFDFromRange:(struct _NSRange)fp8;
- (void)replaceCharactersInRange:(struct _NSRange)fp8 withRTF:(id)fp16;
- (void)replaceCharactersInRange:(struct _NSRange)fp8 withRTFD:(id)fp16;
- (BOOL)writeRTFDToFile:(id)fp8 atomically:(BOOL)fp12;
- (BOOL)readRTFDFromFile:(id)fp8;
- (BOOL)isEditable;
- (void)setEditable:(BOOL)fp8;
- (BOOL)isSelectable;
- (void)setSelectable:(BOOL)fp8;
- (BOOL)isRichText;
- (void)setRichText:(BOOL)fp8;
- (BOOL)importsGraphics;
- (void)setImportsGraphics:(BOOL)fp8;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (void)setFont:(id)fp8;
- (id)font;
- (void)setTextColor:(id)fp8;
- (id)textColor;
- (void)setBackgroundColor:(id)fp8;
- (id)backgroundColor;
- (void)setDrawsBackground:(BOOL)fp8;
- (BOOL)drawsBackground;
- (int)alignment;
- (void)setAlignment:(int)fp8;
- (void)setFieldEditor:(BOOL)fp8;
- (BOOL)isFieldEditor;
- (void)setTextColor:(id)fp8 range:(struct _NSRange)fp12;
- (void)setFont:(id)fp8 range:(struct _NSRange)fp12;
- (BOOL)usesFontPanel;
- (void)setUsesFontPanel:(BOOL)fp8;
- (struct _NSSize)maxSize;
- (void)setMaxSize:(struct _NSSize)fp8;
- (struct _NSSize)minSize;
- (void)setMinSize:(struct _NSSize)fp8;
- (BOOL)isHorizontallyResizable;
- (void)setHorizontallyResizable:(BOOL)fp8;
- (BOOL)isVerticallyResizable;
- (void)setVerticallyResizable:(BOOL)fp8;
- (void)sizeToFit;
- (void)copy:(id)fp8;
- (void)copyFont:(id)fp8;
- (void)copyRuler:(id)fp8;
- (void)cut:(id)fp8;
- (void)delete:(id)fp8;
- (void)paste:(id)fp8;
- (void)pasteFont:(id)fp8;
- (void)pasteRuler:(id)fp8;
- (void)selectAll:(id)fp8;
- (void)changeFont:(id)fp8;
- (void)alignLeft:(id)fp8;
- (void)alignRight:(id)fp8;
- (void)alignCenter:(id)fp8;
- (void)subscript:(id)fp8;
- (void)superscript:(id)fp8;
- (void)underline:(id)fp8;
- (void)unscript:(id)fp8;
- (void)showGuessPanel:(id)fp8;
- (void)checkSpelling:(id)fp8;
- (void)toggleRuler:(id)fp8;
- (BOOL)isRulerVisible;
- (struct _NSRange)selectedRange;
- (void)setSelectedRange:(struct _NSRange)fp8;
- (void)scrollRangeToVisible:(struct _NSRange)fp8;
- (void)changeSpelling:(id)fp8;
- (void)ignoreSpelling:(id)fp8;

@end

@interface NSText (NSTextAccessibilityPrivate)
- (id)accessibilitySelectedText;
- (BOOL)accessibilityIsSelectedTextSettable;
- (void)accessibilitySetSelectedText:(id)fp8;
- (struct _NSRange)accessibilitySelectedRange;
- (BOOL)accessibilityIsSelectedRangeSettable;
- (void)accessibilitySetSelectedRange:(struct _NSRange)fp8;
- (id)accessibilityTextView;
- (struct _NSRange)accessibilityVisibleCharacterRange;
- (BOOL)accessibilityIsVisibleCharacterRangeSettable;
- (void)accessibilitySetVisibleCharacterRange:(struct _NSRange)fp8;
- (unsigned int)accessibilityLineNumberForCharacterIndex:(unsigned int)fp8;
- (struct _NSRange)accessibilityCharacterRangeForLineNumber:(unsigned int)fp8;
- (struct _NSRange)accessibilityCharacterRangeForPosition:(struct _NSPoint)fp8;
- (struct _NSRect)accessibilityBoundsForCharacterRange:(struct _NSRange)fp8;
- (id)accessibilityRTFForCharacterRange:(struct _NSRange)fp8;
- (struct _NSRange)accessibilityStyleRangeForCharacterIndex:(unsigned int)fp8;
- (id)accessibilitySharedTextViews;
- (struct _NSRange)accessibilitySharedCharacterRange;
@end

@interface NSMultiplePagePDFImageViewTextAttachmentCell : NSViewTextAttachmentCell
{
BOOL _isExpanded;
}

- (id)viewWithFrame:(struct _NSRect)fp8 forView:(id)fp24 characterIndex:(unsigned int)fp28 layoutManager:(id)fp32;
- (struct _NSRect)cellFrameForTextContainer:(id)fp8 proposedLineFragment:(struct _NSRect)fp12 glyphPosition:(struct _NSPoint)fp28 characterIndex:(unsigned int)fp36;
- (struct _NSSize)cellSize;
- (void)addView:(id)fp8 frame:(struct _NSRect)fp12 toView:(id)fp28 characterIndex:(unsigned int)fp32 layoutManager:(id)fp36;
- (void)adjustView:(id)fp8 frame:(struct _NSRect)fp12 forView:(id)fp28 characterIndex:(unsigned int)fp32 layoutManager:(id)fp36;

@end

@interface NSDocumentTextAttachmentScrollView : NSScrollView
{
NSImageView *_imageView;
NSView *_expandedView;
NSLayoutManager *_layoutManager;
unsigned int _charIndex;
BOOL _isExpanded;
}

- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (BOOL)isExpanded;
- (id)layoutManager;
- (unsigned int)charIndex;
- (id)image;
- (void)setImage:(id)fp8;
- (id)expandedView;
- (void)setExpandedView:(id)fp8;
- (void)setCharacterIndex:(unsigned int)fp8 layoutManager:(id)fp12;
- (void)setExpanded:(BOOL)fp8;
- (void)toggleExpanded:(id)fp8;

@end

@interface NSMultiplePagePDFImageView : NSView
{
NSPDFImageRep *_imageRep;
}

- (void)dealloc;
- (BOOL)isFlipped;
- (BOOL)isOpaque;
- (int)numberOfPages;
- (id)imageRep;
- (void)setImageRep:(id)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (void)mouseDown:(id)fp8;

@end

@interface NSImageViewTextAttachmentCell : NSViewTextAttachmentCell
{
}

- (id)viewWithFrame:(struct _NSRect)fp8 forView:(id)fp24 characterIndex:(unsigned int)fp28 layoutManager:(id)fp32;
- (void)addView:(id)fp8 frame:(struct _NSRect)fp12 toView:(id)fp28 characterIndex:(unsigned int)fp32 layoutManager:(id)fp36;

@end

@interface NSTextAttachmentImageView : NSImageView
{
}

- (void)mouseDown:(id)fp8;

@end

@interface NSTextAttachmentMovieView : NSMovieView
{
}

- (id)_invalidateGStatesForTree;
- (void)mouseDown:(id)fp8;

@end

@interface NSMovieViewTextAttachmentCell : NSViewTextAttachmentCell
{
NSMovie *_movie;
struct _NSSize _size;
}

- (id)initWithMovie:(id)fp8;
- (id)viewWithFrame:(struct _NSRect)fp8 forView:(id)fp24 characterIndex:(unsigned int)fp28 layoutManager:(id)fp32;
- (void)addView:(id)fp8 frame:(struct _NSRect)fp12 toView:(id)fp28 characterIndex:(unsigned int)fp32 layoutManager:(id)fp36;
- (struct _NSSize)cellSize;
- (void)dealloc;

@end

@interface NSViewTextAttachmentCell : NSTextAttachmentCell
{
}

- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24 characterIndex:(unsigned int)fp28 layoutManager:(id)fp32;
- (id)viewForCharacterIndex:(unsigned int)fp8 layoutManager:(id)fp12;
- (BOOL)wantsToTrackMouse;
- (id)viewWithFrame:(struct _NSRect)fp8 forView:(id)fp24 characterIndex:(unsigned int)fp28 layoutManager:(id)fp32;
- (void)addView:(id)fp8 frame:(struct _NSRect)fp12 toView:(id)fp28 characterIndex:(unsigned int)fp32 layoutManager:(id)fp36;
- (void)adjustView:(id)fp8 frame:(struct _NSRect)fp12 forView:(id)fp28 characterIndex:(unsigned int)fp32 layoutManager:(id)fp36;
- (void)_helperDeallocatedForView:(id)fp8 layoutManager:(id)fp12;
- (void)removeView:(id)fp8 fromView:(id)fp12 layoutManager:(id)fp16;
- (void)releaseView:(id)fp8;

@end

@interface NSViewTextAttachmentCellHelper : NSObject
{
NSView *_view;
NSViewTextAttachmentCell *_attachmentCell;
NSLayoutManager *_layoutManager;
}

- (id)initWithView:(id)fp8 layoutManager:(id)fp12 characterIndex:(unsigned int)fp16 attachmentCell:(id)fp20;
- (id)view;
- (void)setView:(id)fp8;
- (void)dealloc;

@end

@interface NSTextAttachmentCell : NSCell
{
NSTextAttachment *_attachment;
}

- (struct _NSRect)cellFrameForTextContainer:(id)fp8 proposedLineFragment:(struct _NSRect)fp12 glyphPosition:(struct _NSPoint)fp28 characterIndex:(unsigned int)fp36;
- (struct _NSSize)cellSize;
- (struct _NSPoint)cellBaselineOffset;
- (BOOL)wantsToTrackMouse;
- (BOOL)wantsToTrackMouseForEvent:(id)fp8;
- (BOOL)wantsToTrackMouseForEvent:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 atCharacterIndex:(unsigned int)fp32;
- (void)setAttachment:(id)fp8;
- (id)attachment;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 atCharacterIndex:(unsigned int)fp32 untilMouseUp:(BOOL)fp36;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24 characterIndex:(unsigned int)fp28;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24 characterIndex:(unsigned int)fp28 layoutManager:(id)fp32;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)highlight:(BOOL)fp8 withFrame:(struct _NSRect)fp12 inView:(id)fp28;

@end

@interface NSTextAttachment : NSObject
{
NSFileWrapper *_fileWrapper;
id _cell;
struct {
unsigned int cellWasExplicitlySet:1;
unsigned int :31;
} _flags;
}

- (id)initWithFileWrapper:(id)fp8;
- (void)setFileWrapper:(id)fp8;
- (id)fileWrapper;
- (void)setAttachmentCell:(id)fp8;
- (id)attachmentCell;
- (void)dealloc;
- (id)description;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSMutableAttributedString (NSMutableAttributedStringAttachmentConveniences)
- (void)updateAttachmentsFromPath:(id)fp8;
@end

@interface NSAttributedString (NSAttributedStringAttachmentConveniences)
+ (id)attributedStringWithAttachment:(id)fp8;
- (id)_attachmentFileWrapperDescription:(BOOL)fp8;
@end

@interface NSTextContainer : NSObject
{
NSLayoutManager *_layoutManager;
NSTextView *_textView;
struct _NSSize _size;
float _lineFragmentPadding;
struct __tcFlags _tcFlags;
}

+ (void)initialize;
- (void)_commonInit;
- (id)initWithContainerSize:(struct _NSSize)fp8;
- (id)init;
- (void)dealloc;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)layoutManager;
- (void)setLayoutManager:(id)fp8;
- (void)replaceLayoutManager:(id)fp8;
- (id)textView;
- (void)setTextView:(id)fp8;
- (void)setWidthTracksTextView:(BOOL)fp8;
- (BOOL)widthTracksTextView;
- (void)setHeightTracksTextView:(BOOL)fp8;
- (BOOL)heightTracksTextView;
- (void)setContainerSize:(struct _NSSize)fp8;
- (struct _NSSize)containerSize;
- (void)setLineFragmentPadding:(float)fp8;
- (float)lineFragmentPadding;
- (struct _NSRect)lineFragmentRectForProposedRect:(struct _NSRect)fp8 sweepDirection:(int)fp24 movementDirection:(int)fp28 remainingRect:(struct _NSRect *)fp32;
- (BOOL)isSimpleRectangularTextContainer;
- (BOOL)containsPoint:(struct _NSPoint)fp8;

@end

@interface NSTextContainer (NSPrivate)
- (void)_setContainerObservesTextViewFrameChanges:(BOOL)fp8;
- (BOOL)_containerObservesTextViewFrameChanges;
- (void)_resizeAccordingToTextView:(id)fp8;
- (void)_containerTextViewFrameChanged:(id)fp8;
@end

@interface NSTextField : NSControl
{
id _delegate;
SEL _errorAction;
}

+ (void)initialize;
- (id)initWithFrame:(struct _NSRect)fp8;
- (BOOL)isFlipped;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)setBackgroundColor:(id)fp8;
- (id)backgroundColor;
- (void)setDrawsBackground:(BOOL)fp8;
- (BOOL)drawsBackground;
- (void)setTextColor:(id)fp8;
- (id)textColor;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)isBordered;
- (void)setBordered:(BOOL)fp8;
- (BOOL)isBezeled;
- (void)setBezeled:(BOOL)fp8;
- (BOOL)isEditable;
- (void)setEditable:(BOOL)fp8;
- (BOOL)isSelectable;
- (void)setSelectable:(BOOL)fp8;
- (BOOL)allowsEditingTextAttributes;
- (void)setAllowsEditingTextAttributes:(BOOL)fp8;
- (BOOL)importsGraphics;
- (void)setImportsGraphics:(BOOL)fp8;
- (void)setBezelStyle:(int)fp8;
- (int)bezelStyle;
- (void)setPreviousText:(id)fp8;
- (void)setNextText:(id)fp8;
- (id)nextText;
- (id)previousText;
- (BOOL)performMnemonic:(id)fp8;
- (void)setTitleWithMnemonic:(id)fp8;
- (void)mouseDown:(id)fp8;
- (void)selectText:(id)fp8;
- (void)startSpeaking:(id)fp8;
- (void)stopSpeaking:(id)fp8;
- (BOOL)validateUserInterfaceItem:(id)fp8;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (BOOL)textView:(id)fp8 shouldChangeTextInRange:(struct _NSRange)fp12 replacementString:(id)fp20;
- (BOOL)textShouldEndEditing:(id)fp8;
- (void)textDidEndEditing:(id)fp8;
- (BOOL)textShouldBeginEditing:(id)fp8;
- (void)textDidBeginEditing:(id)fp8;
- (void)textDidChange:(id)fp8;
- (BOOL)textView:(id)fp8 doCommandBySelector:(SEL)fp12;
- (id)textView:(id)fp8 completions:(id)fp12 forPartialWordRange:(struct _NSRange)fp16 indexOfSelectedItem:(int *)fp24;
- (BOOL)acceptsFirstResponder;
- (BOOL)becomeFirstResponder;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (BOOL)mouseDownCanMoveWindow;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)dealloc;

@end

@interface NSTextField (NSTextFieldObsolete)
- (SEL)errorAction;
- (void)setErrorAction:(SEL)fp8;
@end

@interface NSTextFieldCell : NSActionCell
{
NSColor *_backgroundColor;
NSColor *_textColor;
struct __tfFlags _tfFlags;
}

+ (void)initialize;
- (id)init;
- (id)initTextCell:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (BOOL)isOpaque;
- (void)setBezeled:(BOOL)fp8;
- (BOOL)acceptsFirstResponder;
- (void)setBackgroundColor:(id)fp8;
- (void)setDrawsBackground:(BOOL)fp8;
- (BOOL)drawsBackground;
- (id)backgroundColor;
- (void)setTextColor:(id)fp8;
- (id)textColor;
- (void)_invalidateTextColor;
- (void)setBezelStyle:(int)fp8;
- (int)bezelStyle;
- (void)setPlaceholderString:(id)fp8;
- (id)placeholderString;
- (void)setPlaceholderAttributedString:(id)fp8;
- (id)placeholderAttributedString;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (struct _NSRect)drawingRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)titleRectForBounds:(struct _NSRect)fp8;
- (id)_selectOrEdit:(const struct _NSRect *)fp8 inView:(id)fp12 target:(id)fp16 editor:(id)fp20 event:(id)fp24 start:(int)fp28 end:(int)fp32;
- (struct _NSRect)_focusRingFrameForFrame:(struct _NSRect)fp8 cellFrame:(struct _NSRect)fp24;
- (void)_drawKeyboardFocusRingWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_drawThemeBezelWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_drawFocusRingWithFrame:(struct _NSRect)fp8;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (BOOL)_highlightsWithHighlightRect;
- (void)_getTextColor:(id *)fp8 backgroundColor:(id *)fp12;
- (id)setUpFieldEditorAttributes:(id)fp8;
- (id)_textAttributes;
- (void)setFont:(id)fp8;
- (int)_typesetterBehavior;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)dealloc;

@end

@interface NSTextFieldCell (NSTextFieldCellAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityParameterizedAttributeNames;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
@end

@interface NSConcreteTextStorage : NSTextStorage
{
NSConcreteNotifyingMutableAttributedString *_contents;
id _lock;
struct {
unsigned int _forceFixAttributes:1;
unsigned int _needLock:1;
unsigned int _reserved:30;
} _pFlags;
}

- (Class)classForCoder;
- (BOOL)_lockForReading;
- (BOOL)_lockForWriting;
- (void)_unlock;
- (void)becomeMultiThreaded:(id)fp8;
- (void)becomeSingleThreaded:(id)fp8;
- (void)_initLocks;
- (id)initWithAttributedString:(id)fp8;
- (id)initWithString:(id)fp8;
- (id)initWithString:(id)fp8 attributes:(id)fp12;
- (id)init;
- (void)dealloc;
- (BOOL)fixesAttributesLazily;
- (unsigned int)length;
- (id)string;
- (void)_setForceFixAttributes:(BOOL)fp8;
- (BOOL)_forceFixAttributes;
- (id)attributesAtIndex:(unsigned int)fp8 effectiveRange:(struct _NSRange *)fp12;
- (id)attributesAtIndex:(unsigned int)fp8 longestEffectiveRange:(struct _NSRange *)fp12 inRange:(struct _NSRange)fp16;
- (id)attribute:(id)fp8 atIndex:(unsigned int)fp12 effectiveRange:(struct _NSRange *)fp16;
- (id)attribute:(id)fp8 atIndex:(unsigned int)fp12 longestEffectiveRange:(struct _NSRange *)fp16 inRange:(struct _NSRange)fp20;
- (void)replaceCharactersInRange:(struct _NSRange)fp8 withString:(id)fp16;
- (void)setAttributes:(id)fp8 range:(struct _NSRange)fp12;
- (void)replaceCharactersInRange:(struct _NSRange)fp8 withAttributedString:(id)fp16;
- (void)addAttribute:(id)fp8 value:(id)fp12 range:(struct _NSRange)fp16;

@end

@interface NSTextStorage : NSMutableAttributedString
{
struct _NSRange _editedRange;
int _editedDelta;
struct {
unsigned int editedMask:8;
unsigned int :8;
unsigned int disabled:16;
} _flags;
NSMutableArray *_layoutManagers;
void *_sideData;
}

+ (id)allocWithZone:(struct _NSZone *)fp8;
- (id)init;
- (void)dealloc;
- (Class)classForCoder;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)addLayoutManager:(id)fp8;
- (void)removeLayoutManager:(id)fp8;
- (id)layoutManagers;
- (BOOL)_lockForReading;
- (BOOL)_lockForWriting;
- (void)_unlock;
- (void)_setForceFixAttributes:(BOOL)fp8;
- (BOOL)_forceFixAttributes;
- (void)beginEditing;
- (void)endEditing;
- (BOOL)_isEditing;
- (struct _NSRange)editedRange;
- (unsigned int)editedMask;
- (int)changeInLength;
- (void)edited:(unsigned int)fp8 range:(struct _NSRange)fp12 changeInLength:(int)fp20;
- (void)processEditing;
- (struct _NSRange)_rangeByEstimatingAttributeFixingForRange:(struct _NSRange)fp8;
- (void)invalidateAttributesInRange:(struct _NSRange)fp8;
- (void)ensureAttributesAreFixedInRange:(struct _NSRange)fp8;
- (BOOL)fixesAttributesLazily;
- (void)_notifyEdited:(unsigned int)fp8 range:(struct _NSRange)fp12 changeInLength:(int)fp20 invalidatedRange:(struct _NSRange)fp24;
- (void)_antialiasThresholdChanged:(id)fp8;
- (void)setDelegate:(id)fp8;
- (id)delegate;

@end

@interface NSConcreteNotifyingMutableAttributedString : NSConcreteMutableAttributedString
{
id _delegate;
}

+ (Class)_mutableStringClass;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)beginEditing;
- (void)endEditing;
- (void)edited:(unsigned int)fp8 range:(struct _NSRange)fp12 changeInLength:(int)fp20;

@end

@interface NSUndoTyping : NSUndoTextOperation
{
struct _NSRange _replacementRange;
NSMutableAttributedString *_attributedString;
}

- (id)initWithAffectedRange:(struct _NSRange)fp8 layoutManager:(id)fp16 undoManager:(id)fp20 replacementRange:(struct _NSRange)fp24;
- (void)dealloc;
- (BOOL)coalesceAffectedRange:(struct _NSRange)fp8 replacementRange:(struct _NSRange)fp16 selectedRange:(struct _NSRange)fp24 text:(id)fp32;
- (void)undoRedo:(id)fp8;
- (BOOL)isSupportingCoalescing;

@end

@interface NSUndoSetAttributes : NSUndoTextOperation
{
_NSAttributeRun *_attributes;
}

- (id)initWithAffectedRange:(struct _NSRange)fp8 layoutManager:(id)fp16 undoManager:(id)fp20;
- (void)dealloc;
- (void)undoRedo:(id)fp8;

@end

@interface NSUndoReplaceCharacters : NSUndoTextOperation
{
struct _NSRange _replacementRange;
NSAttributedString *_attributedString;
}

- (id)initWithAffectedRange:(struct _NSRange)fp8 layoutManager:(id)fp16 undoManager:(id)fp20 replacementRange:(struct _NSRange)fp24;
- (void)dealloc;
- (void)undoRedo:(id)fp8;

@end

@interface NSUndoTextOperation : NSObject
{
struct _NSRange _affectedRange;
NSUndoManager *_undoManager;
NSLayoutManager *_layoutManager;
}

- (id)initWithAffectedRange:(struct _NSRange)fp8 layoutManager:(id)fp16 undoManager:(id)fp20;
- (void)dealloc;
- (void)undoRedo:(id)fp8;
- (id)firstTextViewForTextStorage:(id)fp8;
- (id)undoManager;
- (BOOL)isSupportingCoalescing;

@end

@interface NSTextStorage (NSUndo)
- (void)_undoRedoTextOperation:(id)fp8;
- (id)_undoRedoAttributedSubstringFromRange:(struct _NSRange)fp8;
@end

@interface NSTextStorage (Scripting)
- (id)attributeRuns;
- (void)setAttributeRuns:(id)fp8;
- (id)paragraphs;
- (void)setParagraphs:(id)fp8;
- (id)words;
- (void)setWords:(id)fp8;
- (id)characters;
- (void)setCharacters:(id)fp8;
- (id)font;
- (void)setFont:(id)fp8;
- (id)fontName;
- (void)setFontName:(id)fp8;
- (float)fontSize;
- (void)setFontSize:(float)fp8;
- (id)foregroundColor;
- (void)setForegroundColor:(id)fp8;
- (void)insertInAttachments:(id)fp8;
- (void)replaceValueAtIndex:(unsigned int)fp8 inPropertyWithKey:(id)fp12 withValue:(id)fp16;
- (void)insertValue:(id)fp8 atIndex:(unsigned int)fp12 inPropertyWithKey:(id)fp16;
- (void)removeValueAtIndex:(unsigned int)fp8 fromPropertyWithKey:(id)fp12;
- (id)coerceValue:(id)fp8 forKey:(id)fp12;
- (id)valueInAttributeRunsAtIndex:(unsigned int)fp8;
- (id)valueInParagraphsAtIndex:(unsigned int)fp8;
- (id)valueInWordsAtIndex:(unsigned int)fp8;
- (id)valueInCharactersAtIndex:(unsigned int)fp8;
@end

@interface NSTextTemplate : NSViewTemplate
{
id _contents;
NSColor *_textColor;
NSFont *_font;
int _alignment;
NSColor *_backgroundColor;
struct _NSSize _minSize;
struct _NSSize _maxSize;
id _delegate;
struct __ttFlags _ttFlags;
}

+ (void)initialize;
- (id)initWithView:(id)fp8 className:(id)fp12;
- (void)dealloc;
- (id)createRealObject;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSTextView : NSText
{
}

+ (void)initialize;
+ (void)setDefaultMenu:(id)fp8;
+ (id)defaultMenu;
- (id)initWithFrame:(struct _NSRect)fp8 textContainer:(id)fp24;
- (id)initWithFrame:(struct _NSRect)fp8;
- (oneway void)release;
- (void)dealloc;
- (void)viewWillMoveToWindow:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)textContainer;
- (void)setTextContainer:(id)fp8;
- (void)replaceTextContainer:(id)fp8;
- (void)setTextContainerInset:(struct _NSSize)fp8;
- (struct _NSSize)textContainerInset;
- (struct _NSPoint)textContainerOrigin;
- (void)invalidateTextContainerOrigin;
- (id)layoutManager;
- (id)textStorage;
- (void)doCommandBySelector:(SEL)fp8;
- (void)_addSpellingAttributeForRange:(struct _NSRange)fp8;
- (void)_removeSpellingAttributeForRange:(struct _NSRange)fp8;
- (BOOL)_mightHaveSpellingAttributes;
- (id)_spellingGuessesForRange:(struct _NSRange)fp8;
- (struct _NSRange)_doubleClickAtIndex:(unsigned int)fp8 limitedRangeOK:(BOOL)fp12;
- (struct _NSRange)_spellingSelectionRangeForProposedRange:(struct _NSRange)fp8;
- (struct _NSRange)_rangeByTrimmingWhitespaceFromRange:(struct _NSRange)fp8;
- (void)_clearSpellingForRange:(struct _NSRange)fp8;
- (void)_checkSpellingForRange:(struct _NSRange)fp8 excludingRange:(struct _NSRange)fp16;
- (id)inputContext;
- (void)insertText:(id)fp8;
- (void)setConstrainedFrameSize:(struct _NSSize)fp8;
- (void)setAlignment:(int)fp8 range:(struct _NSRange)fp12;
- (void)performFindPanelAction:(id)fp8;
- (void)turnOffKerning:(id)fp8;
- (void)tightenKerning:(id)fp8;
- (void)loosenKerning:(id)fp8;
- (void)useStandardKerning:(id)fp8;
- (void)turnOffLigatures:(id)fp8;
- (void)useStandardLigatures:(id)fp8;
- (void)useAllLigatures:(id)fp8;
- (void)raiseBaseline:(id)fp8;
- (void)lowerBaseline:(id)fp8;
- (void)toggleTraditionalCharacterShape:(id)fp8;
- (void)rulerView:(id)fp8 didMoveMarker:(id)fp12;
- (void)rulerView:(id)fp8 didRemoveMarker:(id)fp12;
- (void)rulerView:(id)fp8 didAddMarker:(id)fp12;
- (BOOL)rulerView:(id)fp8 shouldMoveMarker:(id)fp12;
- (BOOL)rulerView:(id)fp8 shouldAddMarker:(id)fp12;
- (float)rulerView:(id)fp8 willMoveMarker:(id)fp12 toLocation:(float)fp16;
- (BOOL)rulerView:(id)fp8 shouldRemoveMarker:(id)fp12;
- (float)rulerView:(id)fp8 willAddMarker:(id)fp12 atLocation:(float)fp16;
- (void)rulerView:(id)fp8 handleMouseDown:(id)fp12;
- (void)rulerView:(id)fp8 willSetClientView:(id)fp12;
- (void)setNeedsDisplayInRect:(struct _NSRect)fp8 avoidAdditionalLayout:(BOOL)fp24;
- (BOOL)shouldDrawInsertionPoint;
- (void)_drawInsertionPointInRect:(struct _NSRect)fp8 color:(id)fp24;
- (void)drawInsertionPointInRect:(struct _NSRect)fp8 color:(id)fp24 turnedOn:(BOOL)fp28;
- (void)updateRuler;
- (void)updateFontPanel;
- (void)updateDragTypeRegistration;
- (struct _NSRange)selectionRangeForProposedRange:(struct _NSRange)fp8 granularity:(int)fp16;
- (id)string;
- (void)setString:(id)fp8;
- (void)replaceCharactersInRange:(struct _NSRange)fp8 withString:(id)fp16;
- (id)RTFFromRange:(struct _NSRange)fp8;
- (id)RTFDFromRange:(struct _NSRange)fp8;
- (void)replaceCharactersInRange:(struct _NSRange)fp8 withRTF:(id)fp16;
- (void)replaceCharactersInRange:(struct _NSRange)fp8 withRTFD:(id)fp16;
- (BOOL)writeRTFDToFile:(id)fp8 atomically:(BOOL)fp12;
- (BOOL)readRTFDFromFile:(id)fp8;
- (void)setFont:(id)fp8;
- (id)font;
- (void)setTextColor:(id)fp8;
- (id)textColor;
- (void)setAlignment:(int)fp8;
- (int)alignment;
- (void)setTextColor:(id)fp8 range:(struct _NSRange)fp12;
- (void)setFont:(id)fp8 range:(struct _NSRange)fp12;
- (struct _NSSize)maxSize;
- (void)setMaxSize:(struct _NSSize)fp8;
- (struct _NSSize)minSize;
- (void)setMinSize:(struct _NSSize)fp8;
- (BOOL)isHorizontallyResizable;
- (void)setHorizontallyResizable:(BOOL)fp8;
- (BOOL)isVerticallyResizable;
- (void)setVerticallyResizable:(BOOL)fp8;
- (void)sizeToFit;
- (void)delete:(id)fp8;
- (void)selectAll:(id)fp8;
- (void)changeFont:(id)fp8;
- (void)changeAttributes:(id)fp8;
- (void)changeColor:(id)fp8;
- (void)changeDocumentBackgroundColor:(id)fp8;
- (void)alignLeft:(id)fp8;
- (void)alignRight:(id)fp8;
- (void)alignCenter:(id)fp8;
- (void)alignJustified:(id)fp8;
- (void)toggleBaseWritingDirection:(id)fp8;
- (void)subscript:(id)fp8;
- (void)superscript:(id)fp8;
- (void)underline:(id)fp8;
- (void)outline:(id)fp8;
- (void)unscript:(id)fp8;
- (void)showGuessPanel:(id)fp8;
- (void)checkSpelling:(id)fp8;
- (void)_changeSpellingToWord:(id)fp8;
- (void)_changeSpellingFromMenu:(id)fp8;
- (void)changeSpelling:(id)fp8;
- (void)ignoreSpelling:(id)fp8;
- (void)_ignoreSpellingFromMenu:(id)fp8;
- (void)_learnSpellingFromMenu:(id)fp8;
- (void)_forgetSpellingFromMenu:(id)fp8;
- (void)_openLinkFromMenu:(id)fp8;
- (void)toggleRuler:(id)fp8;
- (void)scrollRangeToVisible:(struct _NSRange)fp8;
- (BOOL)isFlipped;
- (void)setNeedsDisplayInRect:(struct _NSRect)fp8;
- (BOOL)isOpaque;
- (void)resetCursorRects;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)_checkRotatedOrScaledFromBase;
- (id)_setRotatedFromBase:(BOOL)fp8;
- (id)_setRotatedOrScaledFromBase:(BOOL)fp8;
- (void)setBoundsSize:(struct _NSSize)fp8;
- (void)scaleUnitSquareToSize:(struct _NSSize)fp8;
- (void)_drawRect:(struct _NSRect)fp8 clip:(BOOL)fp24;
- (void)drawViewBackgroundInRect:(struct _NSRect)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)shouldDelayWindowOrderingForEvent:(id)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (BOOL)shouldBeTreatedAsInkEvent:(id)fp8;
- (id)hitTest:(struct _NSPoint)fp8;
- (BOOL)validateUserInterfaceItem:(id)fp8;
- (BOOL)validateMenuItem:(id)fp8;
- (BOOL)acceptsFirstResponder;
- (void)keyUp:(id)fp8;
- (void)keyDown:(id)fp8;
- (void)flagsChanged:(id)fp8;
- (void)clickedOnLink:(id)fp8 atIndex:(unsigned int)fp12;
- (BOOL)mouseDownCanMoveWindow;
- (void)_showToolTip:(id)fp8;
- (void)_toolTipTimer;
- (void)mouseEntered:(id)fp8;
- (void)mouseExited:(id)fp8;
- (void)mouseMoved:(id)fp8;
- (void)mouseDown:(id)fp8;
- (void)setMarkedText:(id)fp8 selectedRange:(struct _NSRange)fp12;
- (BOOL)hasMarkedText;
- (void)lockDocument;
- (void)unlockDocument;
- (void)getMarkedText:(id *)fp8 selectedRange:(struct _NSRange *)fp12;
- (void)unmarkText;
- (long)conversationIdentifier;
- (id)attributedSubstringFromRange:(struct _NSRange)fp8;
- (struct _NSRect)firstRectForCharacterRange:(struct _NSRange)fp8;
- (BOOL)acceptsGlyphInfo;
- (void)setAcceptsGlyphInfo:(BOOL)fp8;
- (id)validAttributesForMarkedText;
- (unsigned int)characterIndexForPoint:(struct _NSPoint)fp8;
- (BOOL)_acceptsMarkedText;
- (struct _NSRange)selectedRange;
- (struct _NSRange)markedRange;
- (id)description;
- (id)menuForEvent:(id)fp8;
- (void)rightMouseUp:(id)fp8;
- (void)rightMouseDown:(id)fp8;
- (id)undoManager;
- (void)startSpeaking:(id)fp8;
- (void)stopSpeaking:(id)fp8;

@end

@interface NSTextView (NSDragging)
- (unsigned int)_insertionGlyphIndexForDrag:(id)fp8;
- (void)_updateDragInsertionIndicatorWith:(struct _NSRect)fp8;
- (struct _NSPoint)_pointForTopOfBeginningOfCharRange:(struct _NSRange)fp8;
- (id)acceptableDragTypes;
- (void)cleanUpAfterDragOperation;
- (unsigned int)dragOperationForDraggingInfo:(id)fp8 type:(id)fp12;
- (unsigned int)draggingEntered:(id)fp8;
- (unsigned int)draggingUpdated:(id)fp8;
- (void)draggingExited:(id)fp8;
- (BOOL)prepareForDragOperation:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (void)concludeDragOperation:(id)fp8;
- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)fp8;
- (id)dragImageForSelectionWithEvent:(id)fp8 origin:(struct _NSPoint *)fp12;
- (BOOL)dragSelectionWithEvent:(id)fp8 offset:(struct _NSSize)fp12 slideBack:(BOOL)fp20;
@end

@interface NSTextViewCompletionController : NSObject
{
NSWindow *_completionWindow;
NSTableView *_tableView;
NSWindow *_textViewWindow;
NSTextView *_textView;
struct _NSRange _charRange;
NSString *_originalString;
int _movement;
NSArray *_completions;
}

+ (id)sharedController;
- (void)_setupWindow;
- (id)init;
- (void)dealloc;
- (void)_reflectSelection:(BOOL)fp8;
- (void)displayCompletions:(id)fp8 forPartialWordRange:(struct _NSRange)fp12 originalString:(id)fp20 atPoint:(struct _NSPoint)fp24 forTextView:(id)fp32;
- (id)currentTextView;
- (void)endDisplay;
- (void)tableAction:(id)fp8;
- (int)numberOfRowsInTableView:(id)fp8;
- (id)tableView:(id)fp8 objectValueForTableColumn:(id)fp12 row:(int)fp16;
- (void)tableViewSelectionDidChange:(id)fp8;

@end

@interface NSTextView (NSKeyBindingCommands)
- (float)_verticalDistanceForPageScroll;
- (float)_verticalDistanceForLineScroll;
- (struct _NSRange)_rangeForMoveUpFromRange:(struct _NSRange)fp8 verticalDistance:(float)fp16 desiredDistanceIntoContainer:(float *)fp20 selectionAffinity:(int *)fp24;
- (struct _NSRange)_rangeForMoveDownFromRange:(struct _NSRange)fp8 verticalDistance:(float)fp16 desiredDistanceIntoContainer:(float *)fp20 selectionAffinity:(int *)fp24;
- (void)_scrollUp:(float)fp8;
- (void)_scrollDown:(float)fp8;
- (void)scrollPageUp:(id)fp8;
- (void)scrollPageDown:(id)fp8;
- (void)scrollLineUp:(id)fp8;
- (void)scrollLineDown:(id)fp8;
- (void)scrollToBeginningOfDocument:(id)fp8;
- (void)scrollToEndOfDocument:(id)fp8;
- (void)moveForward:(id)fp8;
- (void)moveRight:(id)fp8;
- (void)moveBackward:(id)fp8;
- (void)moveLeft:(id)fp8;
- (void)_moveUp:(float)fp8;
- (void)_moveDown:(float)fp8;
- (void)moveUp:(id)fp8;
- (void)moveDown:(id)fp8;
- (void)pageUp:(id)fp8;
- (void)pageDown:(id)fp8;
- (void)moveWordForward:(id)fp8;
- (void)moveWordBackward:(id)fp8;
- (void)moveWordRight:(id)fp8;
- (void)moveWordLeft:(id)fp8;
- (void)moveToBeginningOfLine:(id)fp8;
- (void)moveToEndOfLine:(id)fp8;
- (void)moveToBeginningOfParagraph:(id)fp8;
- (void)moveToEndOfParagraph:(id)fp8;
- (void)moveToEndOfDocument:(id)fp8;
- (void)moveToBeginningOfDocument:(id)fp8;
- (void)centerSelectionInVisibleArea:(id)fp8;
- (void)transpose:(id)fp8;
- (void)selectParagraph:(id)fp8;
- (void)selectLine:(id)fp8;
- (void)selectWord:(id)fp8;
- (void)insertTab:(id)fp8;
- (void)insertBacktab:(id)fp8;
- (void)insertNewline:(id)fp8;
- (void)insertParagraphSeparator:(id)fp8;
- (void)insertNewlineIgnoringFieldEditor:(id)fp8;
- (void)insertTabIgnoringFieldEditor:(id)fp8;
- (void)uppercaseWord:(id)fp8;
- (void)lowercaseWord:(id)fp8;
- (void)capitalizeWord:(id)fp8;
- (void)deleteForward:(id)fp8;
- (void)deleteBackward:(id)fp8;
- (void)deleteBackwardByDecomposingPreviousCharacter:(id)fp8;
- (void)deleteWordForward:(id)fp8;
- (void)deleteWordBackward:(id)fp8;
- (void)deleteToBeginningOfLine:(id)fp8;
- (void)deleteToEndOfLine:(id)fp8;
- (void)deleteToBeginningOfParagraph:(id)fp8;
- (void)deleteToEndOfParagraph:(id)fp8;
- (struct _NSRange)rangeForUserCompletion;
- (id)_completionsFromDocumentForPartialWordRange:(struct _NSRange)fp8;
- (id)completionsForPartialWordRange:(struct _NSRange)fp8 indexOfSelectedItem:(int *)fp16;
- (void)insertCompletion:(id)fp8 forPartialWordRange:(struct _NSRange)fp12 movement:(int)fp20 isFinal:(BOOL)fp24;
- (void)complete:(id)fp8;
- (void)setMark:(id)fp8;
- (void)deleteToMark:(id)fp8;
- (void)selectToMark:(id)fp8;
- (void)swapWithMark:(id)fp8;
- (void)moveForwardAndModifySelection:(id)fp8;
- (void)moveBackwardAndModifySelection:(id)fp8;
- (void)moveWordForwardAndModifySelection:(id)fp8;
- (void)moveWordBackwardAndModifySelection:(id)fp8;
- (BOOL)_rightToLeftAtIndex:(unsigned int)fp8;
- (void)moveRightAndModifySelection:(id)fp8;
- (void)moveLeftAndModifySelection:(id)fp8;
- (void)moveWordRightAndModifySelection:(id)fp8;
- (void)moveWordLeftAndModifySelection:(id)fp8;
- (void)moveParagraphForwardAndModifySelection:(id)fp8;
- (void)moveParagraphBackwardAndModifySelection:(id)fp8;
- (void)_moveUpAndModifySelection:(float)fp8;
- (void)_moveDownAndModifySelection:(float)fp8;
- (void)moveUpAndModifySelection:(id)fp8;
- (void)pageUpAndModifySelection:(id)fp8;
- (void)moveDownAndModifySelection:(id)fp8;
- (void)pageDownAndModifySelection:(id)fp8;
- (void)moveToBeginningOfParagraphAndModifySelection:(id)fp8;
- (void)moveToEndOfParagraphAndModifySelection:(id)fp8;
- (void)moveToBeginningOfLineAndModifySelection:(id)fp8;
- (void)moveToEndOfLineAndModifySelection:(id)fp8;
- (void)moveToBeginningOfDocumentAndModifySelection:(id)fp8;
- (void)moveToEndOfDocumentAndModifySelection:(id)fp8;
- (void)yank:(id)fp8;
- (void)yankAndSelect:(id)fp8;
@end

@interface NSTextView (NSPasteboard)
+ (void)registerForServices;
- (id)_attachmentCellForSelection;
- (id)writablePasteboardTypes;
- (BOOL)_writeStringInRange:(struct _NSRange)fp8 toPasteboard:(id)fp16;
- (BOOL)_writeRTFInRange:(struct _NSRange)fp8 toPasteboard:(id)fp16;
- (BOOL)_writeRTFDInRange:(struct _NSRange)fp8 toPasteboard:(id)fp16;
- (BOOL)_writeFontInRange:(struct _NSRange)fp8 toPasteboard:(id)fp16;
- (BOOL)_writeRulerInRange:(struct _NSRange)fp8 toPasteboard:(id)fp16;
- (BOOL)writeSelectionToPasteboard:(id)fp8 type:(id)fp12;
- (BOOL)writeSelectionToPasteboard:(id)fp8 types:(id)fp12;
- (id)readablePasteboardTypes;
- (id)preferredPasteboardTypeFromArray:(id)fp8 restrictedToTypesFromArray:(id)fp12;
- (BOOL)_readStringIntoRange:(struct _NSRange)fp8 fromPasteboard:(id)fp16;
- (BOOL)_readRTFIntoRange:(struct _NSRange)fp8 fromPasteboard:(id)fp16;
- (BOOL)_readRTFDIntoRange:(struct _NSRange)fp8 fromPasteboard:(id)fp16;
- (BOOL)_readHTMLIntoRange:(struct _NSRange)fp8 fromPasteboard:(id)fp16;
- (BOOL)_readColorIntoRange:(struct _NSRange)fp8 fromPasteboard:(id)fp16;
- (BOOL)_readFilenamesIntoRange:(struct _NSRange)fp8 fromPasteboard:(id)fp16;
- (BOOL)_readFontIntoRange:(struct _NSRange)fp8 fromPasteboard:(id)fp16;
- (BOOL)_readRulerIntoRange:(struct _NSRange)fp8 fromPasteboard:(id)fp16;
- (BOOL)_readImageIntoRange:(struct _NSRange)fp8 fromPasteboard:(id)fp16;
- (BOOL)_readMovieIntoRange:(struct _NSRange)fp8 fromPasteboard:(id)fp16;
- (BOOL)readSelectionFromPasteboard:(id)fp8 type:(id)fp12;
- (BOOL)_wantsFiles:(id)fp8;
- (BOOL)_readSelectionFromPasteboard:(id)fp8 types:(id)fp12;
- (BOOL)readSelectionFromPasteboard:(id)fp8;
- (void)copy:(id)fp8;
- (void)cut:(id)fp8;
- (void)copyFont:(id)fp8;
- (void)copyRuler:(id)fp8;
- (void)paste:(id)fp8;
- (void)pasteFont:(id)fp8;
- (void)pasteRuler:(id)fp8;
- (void)pasteAsPlainText:(id)fp8;
- (void)pasteAsRichText:(id)fp8;
- (id)validRequestorForSendType:(id)fp8 returnType:(id)fp12;
@end

@interface NSTextView (NSPrivate)
+ (void)_setInsertionPointDisabled:(BOOL)fp8;
+ (BOOL)_insertionPointDisabled;
- (void)_commonInitIvarBlock;
- (void)_commonInitState;
- (BOOL)_textViewOwnsTextStorage;
- (id)replacementObjectForKeyedArchiver:(id)fp8;
- (id)replacementObjectForArchiver:(id)fp8;
- (void)_drawViewBackgroundInRect:(struct _NSRect)fp8;
- (void)viewWillStartLiveResize;
- (void)viewDidEndLiveResize;
- (id)_getGlyphIndex:(unsigned int *)fp8 forWindowPoint:(struct _NSPoint)fp12 pinnedPoint:(struct _NSPoint)fp20 anchorPoint:(struct _NSPoint)fp28 useAnchorPoint:(BOOL)fp36 preferredTextView:(id)fp40 partialFraction:(float *)fp44;
- (id)_getGlyphIndex:(unsigned int *)fp8 forWindowPoint:(struct _NSPoint)fp12 pinnedPoint:(struct _NSPoint)fp20 preferredTextView:(id)fp28 partialFraction:(float *)fp32;
- (BOOL)_trackAttachmentClick:(id)fp8 characterIndex:(unsigned int)fp12 glyphIndex:(unsigned int)fp16 attachmentCell:(id)fp20;
- (unsigned int)_clickedCharIndex;
- (BOOL)_range:(struct _NSRange)fp8 containsPoint:(struct _NSPoint)fp16;
- (void)_sizeDownIfPossible;
- (id)_setSuperview:(id)fp8;
- (void)_superviewClipViewFrameChanged:(id)fp8;
- (BOOL)_charRangeIsHighlightOptimizable:(struct _NSRange)fp8 fromOldCharRange:(struct _NSRange)fp16;
- (void)_optimizeHighlightForCharRange:(struct _NSRange)fp8 charRange:(struct _NSRange)fp16 fullSelectionCharRange:(struct _NSRange)fp24 oldSelectionFullCharRange:(struct _NSRange)fp32;
- (void)_fastHighlightGlyphRange:(struct _NSRange)fp8 withinSelectedGlyphRange:(struct _NSRange)fp16;
- (void)_ensureMinAndMaxSizesConsistentWithBounds;
- (id)_stripAttachmentCharactersFromString:(id)fp8;
- (id)_stripAttachmentCharactersFromAttributedString:(id)fp8;
- (void)_setAttributes:(id *)fp8 newValues:(id)fp12 range:(struct _NSRange)fp16;
- (BOOL)_canAcceptRichText;
- (BOOL)_canImportGraphics;
- (void)_addToTypingAttributes:(id)fp8 value:(id)fp12;
- (void)_addMultipleToTypingAttributes:(id)fp8;
- (void)_remove:(id *)fp8 andAddMultipleToTypingAttributes:(id)fp12;
- (BOOL)_underlineIsOn;
- (BOOL)_outlineIsOn;
- (void)_giveUpFirstResponder:(int)fp8;
- (void)_fixSharedData;
- (void)_installRulerAccViewForParagraphStyle:(id)fp8 ruler:(id)fp12 enabled:(BOOL)fp16;
- (BOOL)_canChangeRulerMarkers;
- (void)_applyMarkerSettingsFromParagraphStyle:(id)fp8 toCharacterRange:(struct _NSRange)fp12;
- (void)_blinkCaret:(id)fp8;
- (void)_invalidateBlinkTimer:(id)fp8;
- (BOOL)_shouldHaveBlinkTimer;
- (float)_distanceForVerticalArrowKeyMovement;
- (void)_setDistanceForVerticalArrowKeyMovement:(float)fp8;
- (void)_ensureLayoutCompleteToEndOfCharacterRange:(struct _NSRange)fp8;
- (void)_setFrameSize:(struct _NSSize)fp8 forceScroll:(BOOL)fp16;
- (void)_adjustedCenteredScrollRectToVisible:(struct _NSRect)fp8 forceCenter:(BOOL)fp24;
- (void)_centeredScrollRectToVisible:(struct _NSRect)fp8 forceCenter:(BOOL)fp24;
- (void)_scrollRangeToVisible:(struct _NSRange)fp8 forceCenter:(BOOL)fp16;
- (void)_calculatePageRectsWithOperation:(id)fp8 pageSize:(struct _NSSize)fp12 layoutAssuredComplete:(BOOL)fp20;
- (void)_calculateTotalScaleForPrintingWithOperation:(id)fp8;
- (float)_provideTotalScaleFactorForPrintOperation:(id)fp8;
- (BOOL)knowsPageRange:(struct _NSRange *)fp8;
- (BOOL)knowsPagesFirst:(int *)fp8 last:(int *)fp12;
- (struct _NSRect)rectForPage:(int)fp8;
- (void)adjustPageHeightNew:(float *)fp8 top:(float)fp12 bottom:(float)fp16 limit:(float)fp20;
- (id)_setWindow:(id)fp8;
- (id)_sharedData;
- (struct _NSTextViewIvars *)_ivars;
- (void)_userReplaceRange:(struct _NSRange)fp8 withString:(id)fp16;
- (void)_userDeleteRange:(struct _NSRange)fp8;
- (void)setUndoActionName:(id)fp8;
- (void)_setUndoRedoInProgress:(BOOL)fp8;
- (id)attributedSubstringForMarkedRange;
- (void)setWantsNotificationForMarkedText:(BOOL)fp8;
- (BOOL)wantsNotificationForMarkedText;
- (BOOL)_isUnmarking;
- (void)_setColorToChange:(unsigned int)fp8;
- (void)_clearMarkedRange;
@end

@interface NSTextView (NSSharing)
- (void)setSelectedRange:(struct _NSRange)fp8 affinity:(int)fp16 stillSelecting:(BOOL)fp20;
- (int)selectionAffinity;
- (int)selectionGranularity;
- (void)setSelectionGranularity:(int)fp8;
- (void)setSelectedTextAttributes:(id)fp8;
- (id)selectedTextAttributes;
- (void)setLinkTextAttributes:(id)fp8;
- (id)linkTextAttributes;
- (void)setInsertionPointColor:(id)fp8;
- (id)insertionPointColor;
- (void)updateInsertionPointStateAndRestartTimer:(BOOL)fp8;
- (void)setMarkedTextAttributes:(id)fp8;
- (id)markedTextAttributes;
- (void)setRulerVisible:(BOOL)fp8;
- (BOOL)isContinuousSpellCheckingEnabled;
- (void)_preflightSpellChecker:(id)fp8;
- (void)setContinuousSpellCheckingEnabled:(BOOL)fp8;
- (void)toggleContinuousSpellChecking:(id)fp8;
- (BOOL)usesRuler;
- (void)setUsesRuler:(BOOL)fp8;
- (int)spellCheckerDocumentTag;
- (id)typingAttributes;
- (void)setTypingAttributes:(id)fp8;
- (void)setDefaultParagraphStyle:(id)fp8;
- (id)defaultParagraphStyle;
- (BOOL)shouldChangeTextInRange:(struct _NSRange)fp8 replacementString:(id)fp16;
- (void)didChangeText;
- (struct _NSRange)rangeForUserTextChange;
- (struct _NSRange)rangeForUserCharacterAttributeChange;
- (struct _NSRange)rangeForUserParagraphAttributeChange;
- (BOOL)isSelectable;
- (void)setSelectable:(BOOL)fp8;
- (BOOL)isEditable;
- (void)setEditable:(BOOL)fp8;
- (BOOL)allowsUndo;
- (void)setAllowsUndo:(BOOL)fp8;
- (BOOL)isRichText;
- (void)setRichText:(BOOL)fp8;
- (BOOL)importsGraphics;
- (void)setImportsGraphics:(BOOL)fp8;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (BOOL)isFieldEditor;
- (void)setFieldEditor:(BOOL)fp8;
- (BOOL)usesFontPanel;
- (void)setUsesFontPanel:(BOOL)fp8;
- (BOOL)usesFindPanel;
- (void)setUsesFindPanel:(BOOL)fp8;
- (BOOL)isRulerVisible;
- (void)setBackgroundColor:(id)fp8;
- (id)backgroundColor;
- (void)setDrawsBackground:(BOOL)fp8;
- (BOOL)drawsBackground;
- (void)setSelectedRange:(struct _NSRange)fp8;
- (BOOL)allowsDocumentBackgroundColorChange;
- (void)setAllowsDocumentBackgroundColorChange:(BOOL)fp8;
- (void)_invalidateDisplayForMarkedOrSelectedRange;
- (BOOL)resignFirstResponder;
- (BOOL)becomeFirstResponder;
- (void)becomeKeyWindow;
- (void)becomeMainWindow;
- (void)resignKeyWindow;
- (void)removeFromSuperview;
- (BOOL)smartInsertDeleteEnabled;
- (void)setSmartInsertDeleteEnabled:(BOOL)fp8;
- (struct _NSRange)smartDeleteRangeForProposedRange:(struct _NSRange)fp8;
- (id)smartInsertBeforeStringForString:(id)fp8 replacingRange:(struct _NSRange)fp12;
- (id)smartInsertAfterStringForString:(id)fp8 replacingRange:(struct _NSRange)fp12;
- (void)smartInsertForString:(id)fp8 replacingRange:(struct _NSRange)fp12 beforeString:(id *)fp20 afterString:(id *)fp24;
@end

@interface NSTextView (NSTextViewAccessibility)
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityAttributeNames;
- (id)accessibilityParameterizedAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (void)accessibilitySetValueAttribute:(id)fp8;
- (id)accessibilitySelectedTextAttribute;
- (BOOL)accessibilityIsSelectedTextAttributeSettable;
- (void)accessibilitySetSelectedTextAttribute:(id)fp8;
- (id)accessibilitySelectedTextRangeAttribute;
- (BOOL)accessibilityIsSelectedTextRangeAttributeSettable;
- (void)accessibilitySetSelectedTextRangeAttribute:(id)fp8;
- (id)accessibilityNumberOfCharactersAttribute;
- (BOOL)accessibilityIsNumberOfCharactersAttributeSettable;
- (id)accessibilityVisibleCharacterRangeAttribute;
- (BOOL)accessibilityIsVisibleCharacterRangeAttributeSettable;
- (void)accessibilitySetVisibleCharacterRangeAttribute:(id)fp8;
- (id)accessibilitySharedTextUIElementsAttribute;
- (BOOL)accessibilityIsSharedTextUIElementsAttributeSettable;
- (id)accessibilitySharedCharacterRangeAttribute;
- (BOOL)accessibilityIsSharedCharacterRangeAttributeSettable;
- (id)accessibilityLineForIndexAttributeForParameter:(id)fp8;
- (id)accessibilityRangeForLineAttributeForParameter:(id)fp8;
- (id)accessibilityStringForRangeAttributeForParameter:(id)fp8;
- (id)accessibilityRangeForPositionAttributeForParameter:(id)fp8;
- (id)accessibilityRangeForIndexAttributeForParameter:(id)fp8;
- (id)accessibilityBoundsForRangeAttributeForParameter:(id)fp8;
- (id)accessibilityRTFForRangeAttributeForParameter:(id)fp8;
- (id)accessibilityStyleRangeForIndexAttributeForParameter:(id)fp8;
@end

@interface NSTextViewSharedData : NSObject
{
struct __sdFlags _sdFlags;
struct _NSRange _selectedCharRange;
struct _NSRange _savedSelectedCharRange;
struct _NSRange _dragAndDropCharRange;
float _distanceForVerticalArrowKeyMovement;
struct _NSRange _markedCharRange;
NSDictionary *_markedAttributesDict;
struct __CFRunLoopTimer *_blinkTimer;
NSTextContainer *_blinkContainer;
struct _NSRect _blinkRect;
id _delegate;
NSTextView *_notifyingTextView;
NSColor *_backgroundColor;
NSDictionary *_selectedAttributesDict;
NSColor *_insertionPointColor;
int _spellCheckerDocumentTag;
NSDictionary *_typingAttributesDict;
NSTextView *_rulerClient;
NSRulerView *_ruler;
NSParagraphStyle *_rulerStyle;
int _altKeypadBufferedSum;
unsigned int _clickedCharIndex;
id _undoTextObject;
NSAttributedString *_attributedStringForMarkedRange;
NSArray *_validMarkedAttributesDict;
struct _NSRange _excludedSpellingCharRange;
struct _NSRange _emacsMarkCharRange;
struct __sdFlags2 _sdFlags2;
unsigned int _pastedGraphicCount;
NSDictionary *_linkAttributesDict;
NSParagraphStyle *_defaultParagraphStyle;
struct __CFRunLoopTimer *_toolTipTimer;
struct _NSPoint _toolTipPoint;
NSWindow *_toolTipWindow;
NSTextView *_toolTipTrackingRectClient;
int _toolTipTrackingRectTag;
NSInputContext *_inputContext;
}

+ (void)initialize;
- (void)_commonInit;
- (id)init;
- (void)dealloc;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)setBackgroundColor:(id)fp8;
- (void)setSelectedTextAttributes:(id)fp8;
- (void)setLinkTextAttributes:(id)fp8;
- (void)setInsertionPointColor:(id)fp8;
- (void)setMarkedTextAttributes:(id)fp8;
- (void)setTypingAttributes:(id)fp8;
- (void)setDefaultParagraphStyle:(id)fp8;
- (void)setDelegate:(id)fp8 withNotifyingTextView:(id)fp12;
- (BOOL)isCoalescing;
- (void)stopCoalescing;
- (void)coalesceInTextView:(id)fp8 affectedRange:(struct _NSRange)fp12 replacementRange:(struct _NSRange)fp20;
- (void)changeWillBeUndone:(id)fp8;
- (void)clearMarkedRange;
- (BOOL)acceptsGlyphInfo;
- (void)setAcceptsGlyphInfo:(BOOL)fp8;
- (id)validAttributesForMarkedText;
- (void)setWantsNotificationForMarkedText:(BOOL)fp8;
- (BOOL)wantsNotificationForMarkedText;
- (id)inputContextForFirstTextView:(id)fp8;

@end

@interface NSTextViewTemplate : NSViewTemplate
{
id _contents;
NSColor *_backgroundColor;
NSDictionary *_selectedTextAttributes;
NSColor *_insertionPointColor;
struct _NSSize _containerSize;
struct _NSSize _minSize;
struct _NSSize _maxSize;
id _delegate;
struct __tvtFlags _tvtFlags;
NSDictionary *_typingAttrs;
}

+ (void)initialize;
- (id)initWithView:(id)fp8 className:(id)fp12;
- (void)dealloc;
- (id)createRealObject;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSThemeFrame : NSTitledFrame
{
NSButton *toolbarButton;
int toolbarVisibleStatus;
NSImage *showToolbarTransitionImage;
struct _NSSize showToolbarPreWindowSize;
NSButton *modeButton;
int leftGroupTrackingTagNum;
int rightGroupTrackingTagNum;
BOOL mouseInsideLeftGroup;
BOOL mouseInsideRightGroup;
int widgetState;
NSString *displayName;
}

+ (void)initialize;
+ (float)_windowBorderThickness:(unsigned int)fp8;
+ (float)_minXWindowBorderWidth:(unsigned int)fp8;
+ (float)_maxXWindowBorderWidth:(unsigned int)fp8;
+ (float)_minYWindowBorderHeight:(unsigned int)fp8;
+ (float)_windowTitlebarButtonSpacingWidth:(unsigned int)fp8;
+ (float)_windowFileButtonSpacingWidth:(unsigned int)fp8;
+ (float)_minXTitlebarWidgetInset:(unsigned int)fp8;
+ (float)_maxXTitlebarWidgetInset:(unsigned int)fp8;
+ (float)minFrameWidthWithTitle:(id)fp8 styleMask:(unsigned int)fp12;
+ (float)_windowSideTitlebarTitleMinWidth:(unsigned int)fp8;
+ (float)_windowTitlebarTitleMinHeight:(unsigned int)fp8;
+ (float)_sideTitlebarWidth:(unsigned int)fp8;
+ (float)_titlebarHeight:(unsigned int)fp8;
+ (float)_resizeHeight:(unsigned int)fp8;
+ (BOOL)_resizeFromEdge;
+ (struct _NSSize)sizeOfTitlebarButtons:(unsigned int)fp8;
+ (float)_contentToFrameMinXWidth:(unsigned int)fp8;
+ (float)_contentToFrameMaxXWidth:(unsigned int)fp8;
+ (float)_contentToFrameMinYHeight:(unsigned int)fp8;
+ (float)_contentToFrameMaxYHeight:(unsigned int)fp8;
+ (unsigned int)_validateStyleMask:(unsigned int)fp8;
- (struct _NSSize)_topCornerSize;
- (struct _NSSize)_bottomCornerSize;
- (void *)_createWindowOpaqueShape;
- (void)shapeWindow;
- (void)_recursiveDisplayRectIfNeededIgnoringOpacity:(struct _NSRect)fp8 isVisibleRect:(BOOL)fp24 rectIsVisibleRectForView:(id)fp28 topView:(BOOL)fp32;
- (void *)_regionForOpaqueDescendants:(struct _NSRect)fp8 forMove:(BOOL)fp24;
- (void)_drawFrameInterior:(struct _NSRect *)fp8 clip:(struct _NSRect)fp12;
- (void)_setTextShadow:(BOOL)fp8;
- (void)_drawTitleBar:(struct _NSRect)fp8;
- (void)_drawResizeIndicators:(struct _NSRect)fp8;
- (void)_drawFrameRects:(struct _NSRect)fp8;
- (void)drawFrame:(struct _NSRect)fp8;
- (id)contentFill;
- (void)viewDidEndLiveResize;
- (float)contentAlpha;
- (void)setThemeFrameWidgetState:(int)fp8;
- (BOOL)constrainResizeEdge:(int *)fp8 withDelta:(struct _NSSize)fp12 elapsedTime:(float)fp20;
- (void)addFileButton:(id)fp8;
- (void)_updateButtons;
- (void)_updateButtonState;
- (id)newCloseButton;
- (id)newZoomButton;
- (id)newMiniaturizeButton;
- (id)newToolbarButton;
- (id)newFileButton;
- (void)_resetTitleBarButtons;
- (void)setDocumentEdited:(BOOL)fp8;
- (id)toolbarButton;
- (id)modeButton;
- (id)initWithFrame:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 owner:(id)fp28;
- (void)dealloc;
- (void)setFrameSize:(struct _NSSize)fp8;
- (BOOL)_canHaveToolbar;
- (BOOL)_toolbarIsInTransition;
- (BOOL)_toolbarIsShown;
- (BOOL)_toolbarIsHidden;
- (id)_toolbarView;
- (id)_toolbar;
- (float)_distanceFromToolbarBaseToTitlebar;
- (unsigned int)_shadowFlags;
- (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
- (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
- (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
- (struct _NSRect)contentRect;
- (struct _NSRect)_contentRectExcludingToolbar;
- (struct _NSRect)_contentRectIncludingToolbarAtHome;
- (void)_setToolbarShowHideResizeWeightingOptimizationOn:(BOOL)fp8;
- (BOOL)_usingToolbarShowHideWeightingOptimization;
- (void)handleSetFrameCommonRedisplay;
- (void)_startLiveResizeAsTopLevel;
- (void)_endLiveResizeAsTopLevel;
- (void)_growContentReshapeContentAndToolbarView:(int)fp8 animate:(BOOL)fp12;
- (BOOL)_growWindowReshapeContentAndToolbarView:(int)fp8 animate:(BOOL)fp12;
- (void)_reshapeContentAndToolbarView:(int)fp8 resizeWindow:(BOOL)fp12 animate:(BOOL)fp16;
- (void)_toolbarFrameSizeChanged:(id)fp8 oldSize:(struct _NSSize)fp12;
- (void)_syncToolbarPosition;
- (void)_showHideToolbar:(int)fp8 resizeWindow:(BOOL)fp12 animate:(BOOL)fp16;
- (void)_showToolbarWithAnimation:(BOOL)fp8;
- (void)_hideToolbarWithAnimation:(BOOL)fp8;
- (void)_drawToolbarTransitionIfNecessary;
- (void)drawRect:(struct _NSRect)fp8;
- (void)resetCursorRects;
- (BOOL)shouldBeTreatedAsInkEvent:(id)fp8;
- (BOOL)_shouldBeTreatedAsInkEventInInactiveWindow:(id)fp8;
- (id)hitTest:(struct _NSPoint)fp8;
- (struct _NSRect)_leftGroupRect;
- (struct _NSRect)_rightGroupRect;
- (void)_updateWidgets;
- (void)_updateMouseTracking;
- (void)mouseEntered:(id)fp8;
- (void)mouseExited:(id)fp8;
- (void)_setMouseEnteredGroup:(BOOL)fp8 entered:(BOOL)fp12;
- (BOOL)_mouseInGroup:(id)fp8;
- (struct _NSSize)miniaturizedSize;
- (float)_minXTitlebarDecorationMinWidth;
- (float)_maxXTitlebarDecorationMinWidth;
- (struct _NSSize)minFrameSize;
- (float)_windowBorderThickness;
- (float)_windowTitlebarXResizeBorderThickness;
- (float)_windowTitlebarYResizeBorderThickness;
- (float)_windowResizeBorderThickness;
- (float)_minXWindowBorderWidth;
- (float)_maxXWindowBorderWidth;
- (float)_minYWindowBorderHeight;
- (float)_maxYWindowBorderHeight;
- (float)_minYTitlebarButtonsOffset;
- (float)_minYTitlebarTitleOffset;
- (float)_sideTitlebarWidth;
- (float)_titlebarHeight;
- (struct _NSRect)_titlebarTitleRect;
- (struct _NSRect)titlebarRect;
- (float)_windowTitlebarTitleMinHeight;
- (struct _NSSize)_sizeOfTitlebarFileButton;
- (struct _NSSize)sizeOfTitlebarToolbarButton;
- (float)_windowTitlebarButtonSpacingWidth;
- (float)_windowFileButtonSpacingWidth;
- (float)_minXTitlebarWidgetInset;
- (float)_maxXTitlebarWidgetInset;
- (float)_minXTitlebarButtonsWidth;
- (float)_maxXTitlebarButtonsWidth;
- (struct _NSPoint)_closeButtonOrigin;
- (struct _NSPoint)_zoomButtonOrigin;
- (struct _NSPoint)_collapseButtonOrigin;
- (struct _NSPoint)_toolbarButtonOrigin;
- (struct _NSPoint)_fileButtonOrigin;
- (void)_tileTitlebar;
- (struct _NSRect)_commandPopupRect;
- (void)_resetDragMargins;
- (float)_maxYTitlebarDragHeight;
- (float)_minXTitlebarDragWidth;
- (float)_maxXTitlebarDragWidth;
- (float)_contentToFrameMinXWidth;
- (float)_contentToFrameMaxXWidth;
- (float)_contentToFrameMinYHeight;
- (float)_contentToFrameMaxYHeight;
- (float)_windowResizeCornerThickness;
- (struct _NSRect)_minYResizeRect;
- (struct _NSRect)_minYminXResizeRect;
- (struct _NSRect)_minYmaxXResizeRect;
- (struct _NSRect)_minXResizeRect;
- (struct _NSRect)_minXminYResizeRect;
- (struct _NSRect)_minXmaxYResizeRect;
- (struct _NSRect)_maxYResizeRect;
- (struct _NSRect)_maxYminXResizeRect;
- (struct _NSRect)_maxYmaxXResizeRect;
- (struct _NSRect)_maxXResizeRect;
- (struct _NSRect)_maxXminYResizeRect;
- (struct _NSRect)_maxXmaxYResizeRect;
- (struct _NSRect)_minXTitlebarResizeRect;
- (struct _NSRect)_maxXTitlebarResizeRect;
- (struct _NSRect)_minXBorderRect;
- (struct _NSRect)_maxXBorderRect;
- (struct _NSRect)_maxYBorderRect;
- (struct _NSRect)_minYBorderRect;
- (void)_setUtilityWindow:(BOOL)fp8;
- (BOOL)_isUtility;
- (float)_sheetHeightAdjustment;
- (void)_setSheet:(BOOL)fp8;
- (BOOL)_isSheet;
- (BOOL)_isResizable;
- (BOOL)_isClosable;
- (BOOL)_isMiniaturizable;
- (BOOL)_hasToolbar;
- (struct _NSRect)_growBoxRect;
- (void)_drawGrowBoxWithClip:(struct _NSRect)fp8;
- (BOOL)_inactiveButtonsNeedMask;
- (void)mouseDown:(id)fp8;
- (id)_displayName;
- (void)_setDisplayName:(id)fp8;

@end

@interface NSThemeDocumentButton : NSDocumentDragButton
{
BOOL _documentEdited;
}

+ (void)initialize;
- (void)setDocumentEdited:(BOOL)fp8;
- (BOOL)documentEdited;
- (void)mouseDown:(id)fp8;
- (void)setIconForFileName:(struct FSRef *)fp8;
- (void)setRepresentedFilename:(id)fp8;

@end

@interface NSThemeDocumentButtonCell : NSButtonCell
{
}

- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;

@end

@interface _NSThemeCloseWidget : _NSThemeWidget
{
}

+ (void)initialize;
+ (id)closeWidgetInView:(id)fp8 withButtonID:(int)fp12 action:(SEL)fp16;
- (void)setDocumentEdited:(BOOL)fp8;

@end

@interface _NSThemeCloseWidgetCell : _NSThemeWidgetCell
{
BOOL _edited;
}

- (int)getState:(id)fp8;
- (BOOL)setEditedFlag:(BOOL)fp8;

@end

@interface _NSThemeWidget : NSButton
{
int _trackingTagNum;
}

+ (void)initialize;
+ (id)widgetInView:(id)fp8 withButtonID:(int)fp12 action:(SEL)fp16;
- (id)initWithButtonID:(int)fp8;
- (void)dealloc;
- (BOOL)optionClick:(id)fp8;
- (void)mouseDown:(id)fp8;
- (void)update;
- (void)performClick:(id)fp8;

@end

@interface _NSThemeWidgetCell : NSButtonCell
{
int _buttonID;
BOOL _hasRollover;
BOOL _isObscured;
}

- (void)setButtonID:(int)fp8;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (int)getState:(id)fp8;
- (int)getValue:(id)fp8;
- (void)setObscured:(BOOL)fp8;
- (BOOL)isObscured;
- (void)update;

@end

@interface NSView (NSStandardWindowButtons)
- (id)_buttonOfClass:(Class)fp8 action:(SEL)fp12;
@end

@interface NSView (NSThemeFrame_Private)
- (void)_addCornerDirtyRectForRect:(struct _NSRect)fp8 list:(struct _NSRect *)fp24 count:(int *)fp28;
@end

@interface NSThemeDocumentButtonCell (NSThemeDocumentButtonCellAccessibility)
- (id)accessibilityRoleAttribute;
- (id)accessibilityTitleAttribute;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
@end

@interface _NSThemeCloseWidgetCell (_NSThemeCloseWidgetCellAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityEditedAttribute;
- (BOOL)accessibilityIsEditedAttributeSettable;
@end

@interface _NSThemeWidgetCell (_NSThemeWidgetCellAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilitySubroleAttribute;
- (BOOL)accessibilityIsSubroleAttributeSettable;
- (void)accessibilityPerformAction:(id)fp8;
@end

@interface NSThemeTearOffFrame : NSTearOffFrame
{
}

- (void)shapeWindow;
- (void)_drawTitlebar:(struct _NSRect)fp8;
- (void)drawFrame:(struct _NSRect)fp8;
- (struct _NSSize)sizeOfTitlebarButtons;
- (id)newCloseButton;
- (struct _NSPoint)_closeButtonOrigin;

@end

@interface NSTiogaGraphicsContext : NSPersistentGraphicsContext
{
struct OpaquePMPrintSettings *_printSettings;
struct OpaquePMPageFormat *_pageFormat;
BOOL needsToEndDocument;
}

- (void)dealloc;
- (void)beginDocumentWithTitle:(id)fp8;
- (void)endDocument;
- (void)beginPage:(struct _NSRect)fp8;
- (void)endPage;

@end

@interface NSTitledFrame : NSFrameView
{
int resizeFlags;
NSDocumentDragButton *fileButton;
struct _NSSize titleCellSize;
}

+ (float)_windowBorderThickness:(unsigned int)fp8;
+ (float)_minXWindowBorderWidth:(unsigned int)fp8;
+ (float)_maxXWindowBorderWidth:(unsigned int)fp8;
+ (float)_minYWindowBorderHeight:(unsigned int)fp8;
+ (BOOL)_resizeFromEdge;
+ (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
+ (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
+ (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
+ (struct _NSSize)minContentSizeForMinFrameSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
+ (float)minFrameWidthWithTitle:(id)fp8 styleMask:(unsigned int)fp12;
+ (struct _NSSize)_titleCellSizeForTitle:(id)fp8 styleMask:(unsigned int)fp12;
+ (float)_titleCellHeight:(unsigned int)fp8;
+ (float)_windowTitlebarTitleMinHeight:(unsigned int)fp8;
+ (float)_titlebarHeight:(unsigned int)fp8;
+ (struct _NSSize)sizeOfTitlebarButtons:(unsigned int)fp8;
+ (float)windowTitlebarLinesSpacingWidth:(unsigned int)fp8;
+ (float)windowTitlebarTitleLinesSpacingWidth:(unsigned int)fp8;
+ (float)_contentToFrameMinXWidth:(unsigned int)fp8;
+ (float)_contentToFrameMaxXWidth:(unsigned int)fp8;
+ (float)_contentToFrameMinYHeight:(unsigned int)fp8;
+ (float)_contentToFrameMaxYHeight:(unsigned int)fp8;
- (id)initWithFrame:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 owner:(id)fp28;
- (void)dealloc;
- (void)setIsClosable:(BOOL)fp8;
- (void)setIsResizable:(BOOL)fp8;
- (void)_resetTitleFont;
- (void)_setUtilityWindow:(BOOL)fp8;
- (BOOL)isOpaque;
- (BOOL)worksWhenModal;
- (void)propagateFrameDirtyRects:(struct _NSRect)fp8;
- (void)_showDrawRect:(struct _NSRect)fp8;
- (void)_drawFrameInterior:(struct _NSRect *)fp8 clip:(struct _NSRect)fp12;
- (void)drawFrame:(struct _NSRect)fp8;
- (void)_drawFrameRects:(struct _NSRect)fp8;
- (void)_drawTitlebar:(struct _NSRect)fp8;
- (void)_drawTitlebarPattern:(int)fp8 inRect:(struct _NSRect)fp12 clippedByRect:(struct _NSRect)fp28 forKey:(BOOL)fp44 alignment:(int)fp48;
- (void)_drawTitlebarLines:(int)fp8 inRect:(struct _NSRect)fp12 clippedByRect:(struct _NSRect)fp28;
- (id)frameHighlightColor;
- (id)frameShadowColor;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)setFrameOrigin:(struct _NSPoint)fp8;
- (void)tileAndSetWindowShape:(BOOL)fp8;
- (void)tile;
- (void)_tileTitlebar;
- (void)setTitle:(id)fp8;
- (BOOL)_shouldRepresentFilename;
- (void)setRepresentedFilename:(id)fp8;
- (void)_drawTitleStringIn:(struct _NSRect)fp8 withColor:(id)fp24;
- (id)titleFont;
- (void)_drawResizeIndicators:(struct _NSRect)fp8;
- (id)titleButtonOfClass:(Class)fp8;
- (id)initTitleButton:(id)fp8;
- (id)newCloseButton;
- (id)newZoomButton;
- (id)newMiniaturizeButton;
- (id)newFileButton;
- (id)fileButton;
- (void)_removeButtons;
- (void)_updateButtons;
- (BOOL)_eventInTitlebar:(id)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (void)mouseDown:(id)fp8;
- (void)mouseUp:(id)fp8;
- (void)rightMouseDown:(id)fp8;
- (void)rightMouseUp:(id)fp8;
- (int)resizeEdgeForEvent:(id)fp8;
- (struct _NSSize)_resizeDeltaFromPoint:(struct _NSPoint)fp8 toEvent:(id)fp16;
- (struct _NSRect)_validFrameForResizeFrame:(struct _NSRect)fp8 fromResizeEdge:(int)fp24;
- (struct _NSRect)frame:(struct _NSRect)fp8 resizedFromEdge:(int)fp24 withDelta:(struct _NSSize)fp28;
- (BOOL)constrainResizeEdge:(int *)fp8 withDelta:(struct _NSSize)fp12 elapsedTime:(float)fp20;
- (void)resizeWithEvent:(id)fp8;
- (int)resizeFlags;
- (void)resetCursorRects;
- (void)setDocumentEdited:(BOOL)fp8;
- (struct _NSSize)miniaturizedSize;
- (struct _NSSize)minFrameSize;
- (float)_windowBorderThickness;
- (float)_windowTitlebarXResizeBorderThickness;
- (float)_windowTitlebarYResizeBorderThickness;
- (float)_windowResizeBorderThickness;
- (float)_minXWindowBorderWidth;
- (float)_maxXWindowBorderWidth;
- (float)_minYWindowBorderHeight;
- (void)_invalidateTitleCellSize;
- (void)_invalidateTitleCellWidth;
- (float)_titleCellHeight;
- (struct _NSSize)_titleCellSize;
- (float)_titlebarHeight;
- (struct _NSRect)titlebarRect;
- (struct _NSRect)_maxTitlebarTitleRect;
- (struct _NSRect)_titlebarTitleRect;
- (float)_windowTitlebarTitleMinHeight;
- (struct _NSRect)dragRectForFrameRect:(struct _NSRect)fp8;
- (struct _NSSize)sizeOfTitlebarButtons;
- (struct _NSSize)_sizeOfTitlebarFileButton;
- (float)_windowTitlebarButtonSpacingWidth;
- (float)_minXTitlebarButtonsWidth;
- (float)_maxXTitlebarButtonsWidth;
- (int)_numberOfTitlebarLines;
- (float)windowTitlebarLinesSpacingWidth;
- (float)windowTitlebarTitleLinesSpacingWidth;
- (float)_minLinesWidthWithSpace;
- (struct _NSRect)_minXTitlebarLinesRectWithTitleCellRect:(struct _NSRect)fp8;
- (struct _NSRect)_maxXTitlebarLinesRectWithTitleCellRect:(struct _NSRect)fp8;
- (float)_minXTitlebarDecorationMinWidth;
- (float)_maxXTitlebarDecorationMinWidth;
- (struct _NSPoint)_closeButtonOrigin;
- (struct _NSPoint)_zoomButtonOrigin;
- (struct _NSPoint)_collapseButtonOrigin;
- (struct _NSPoint)_fileButtonOrigin;
- (float)_maxYTitlebarDragHeight;
- (float)_minXTitlebarDragWidth;
- (float)_maxXTitlebarDragWidth;
- (float)_contentToFrameMinXWidth;
- (float)_contentToFrameMaxXWidth;
- (float)_contentToFrameMinYHeight;
- (float)_contentToFrameMaxYHeight;
- (struct _NSRect)contentRect;
- (float)_windowResizeCornerThickness;
- (struct _NSRect)_minYResizeRect;
- (struct _NSRect)_minYminXResizeRect;
- (struct _NSRect)_minYmaxXResizeRect;
- (struct _NSRect)_minXResizeRect;
- (struct _NSRect)_minXminYResizeRect;
- (struct _NSRect)_minXmaxYResizeRect;
- (struct _NSRect)_maxYResizeRect;
- (struct _NSRect)_maxYminXResizeRect;
- (struct _NSRect)_maxYmaxXResizeRect;
- (struct _NSRect)_maxXResizeRect;
- (struct _NSRect)_maxXminYResizeRect;
- (struct _NSRect)_maxXmaxYResizeRect;
- (struct _NSRect)_minXTitlebarResizeRect;
- (struct _NSRect)_maxXTitlebarResizeRect;
- (struct _NSRect)_minXBorderRect;
- (struct _NSRect)_maxXBorderRect;
- (struct _NSRect)_maxYBorderRect;
- (struct _NSRect)_minYBorderRect;

@end

@interface NSToolbar : NSObject
{
NSString *_toolbarIdentifier;
NSMutableArray *_currentItems;
NSMutableArray *_currentItemIdentifiers;
NSDictionary *_initPListDatabase;
id _initPListTarget;
NSString *_selectedItemIdentifier;
int _tbReserved1;
id _delegate;
NSWindow *_window;
id _configPalette;
id _toolbarView;
int _notifPostEnabledCount;
struct __tbFlags _tbFlags;
int _customizationSheetWidth;
void *_tbReserved;
}

+ (BOOL)_allowSmallIcons;
+ (void)_registerToolbarInstance:(id)fp8;
+ (void)_unregisterToolbarInstance:(id)fp8;
+ (id)toolbarInstancesWithIdentifier:(id)fp8;
+ (id)_newUnknownItemWithItemIdentifier:(id)fp8;
+ (id)_newPlaceholderItemWithItemIdentifier:(id)fp8;
+ (id)_newStandardItemWithItemIdentifier:(id)fp8;
- (void)_toolbarCommonBeginInit;
- (void)_toolbarCommonFinishInit;
- (id)initWithIdentifier:(id)fp8;
- (id)initFromPList:(id)fp8 target:(id)fp12 andIdentifier:(id)fp16;
- (void)dealloc;
- (void)_checkForObsoleteDelegateMethodsInObject:(id)fp8;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)_setFirstMoveableItemIndex:(int)fp8;
- (int)_firstMoveableItemIndex;
- (void)_setWantsToolbarContextMenu:(BOOL)fp8;
- (BOOL)_wantsToolbarContextMenu;
- (void)_setCustomizesAlwaysOnClickAndDrag:(BOOL)fp8;
- (BOOL)_customizesAlwaysOnClickAndDrag;
- (void)setCustomizationSheetWidth:(int)fp8;
- (void)_setEnableDelegateNotifications:(BOOL)fp8;
- (void)_setToolbarViewWindow:(id)fp8;
- (void)_setToolbarView:(id)fp8;
- (id)_toolbarView;
- (void)_loadInitialItemIdentifiers:(id)fp8 requireImmediateLoad:(BOOL)fp12;
- (void)_loadViewIfNecessary;
- (void)_loadFromUDIfNecessary;
- (BOOL)_prefersToBeShown;
- (void)_windowWillShowToolbar;
- (void)_windowDidHideToolbar;
- (void)_show:(id)fp8;
- (void)_hide:(id)fp8;
- (void)_toggleShown:(id)fp8;
- (void)toggleShown:(id)fp8;
- (void)makeShown:(BOOL)fp8;
- (BOOL)isShown;
- (void)setVisible:(BOOL)fp8;
- (BOOL)isVisible;
- (void)runConfigurationPalette:(id)fp8;
- (BOOL)configurationPaletteIsRunning;
- (void)setAllowsUserConfiguration:(BOOL)fp8;
- (BOOL)allowsUserConfiguration;
- (void)runCustomizationPalette:(id)fp8;
- (id)_customizationPaletteSheetWindow;
- (void)_endCustomizationPalette:(id)fp8;
- (BOOL)customizationPaletteIsRunning;
- (BOOL)_isEditing;
- (void)_endCustomizationPanel;
- (BOOL)_canRunCustomizationPanel;
- (void)_runCustomizationPanel;
- (void)_configSheetDidEnd:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;
- (BOOL)_sizeModeIsValidForCurrentDisplayMode:(int)fp8;
- (void)setSizeMode:(int)fp8;
- (int)sizeMode;
- (void)setDisplayMode:(int)fp8;
- (id)selectableItemIdentifiers;
- (BOOL)_isSelectableItemIdentifier:(id)fp8;
- (void)_setNeedsDisplayForItemIdentifierSelection:(id)fp8;
- (void)setSelectedItemIdentifier:(id)fp8;
- (id)selectedItemIdentifier;
- (int)_nextDisplayMode;
- (int)_previousDisplayMode;
- (int)displayMode;
- (void)_setNextSizeAndDisplayMode;
- (void)_setPreviousSizeAndDisplayMode;
- (id)_backgroundColor;
- (void)setAllowsUserCustomization:(BOOL)fp8;
- (BOOL)allowsUserCustomization;
- (BOOL)_allowsDuplicateItems;
- (id)identifier;
- (id)_items;
- (int)_numberOfItems;
- (id)items;
- (id)visibleItems;
- (BOOL)_sanityCheckPListDatabase:(id)fp8;
- (id)_itemAtIndex:(int)fp8;
- (id)_findFirstItemInArray:(id)fp8 withItemIdentifier:(id)fp12;
- (BOOL)_keyboardLoopNeedsUpdating;
- (void)_setKeyboardLoopNeedsUpdating:(BOOL)fp8;
- (void)_makeFirstResponderForKeyboardHotKeyEvent;
- (void)_forceAppendItem:(id)fp8;
- (void)_forceInsertItem:(id)fp8 atIndex:(int)fp12;
- (void)_forceReplaceItemAtIndex:(int)fp8 withItem:(id)fp12;
- (void)_forceMoveItemFromIndex:(int)fp8 toIndex:(int)fp12;
- (void)_forceRemoveItemFromIndex:(int)fp8;
- (void)_appendNewItemWithItemIdentifier:(id)fp8 notifyDelegate:(BOOL)fp12 notifyView:(BOOL)fp16 notifyFamilyAndUpdateDefaults:(BOOL)fp20;
- (void)_insertNewItemWithItemIdentifier:(id)fp8 atIndex:(int)fp12 notifyDelegate:(BOOL)fp16 notifyView:(BOOL)fp20 notifyFamilyAndUpdateDefaults:(BOOL)fp24;
- (void)_moveItemFromIndex:(int)fp8 toIndex:(int)fp12 notifyDelegate:(BOOL)fp16 notifyView:(BOOL)fp20 notifyFamilyAndUpdateDefaults:(BOOL)fp24;
- (void)_removeItemAtIndex:(int)fp8 notifyDelegate:(BOOL)fp12 notifyView:(BOOL)fp16 notifyFamilyAndUpdateDefaults:(BOOL)fp20;
- (void)_setCurrentItemsToItemIdentifiers:(id)fp8 notifyDelegate:(BOOL)fp12 notifyView:(BOOL)fp16 notifyFamilyAndUpdateDefaults:(BOOL)fp20;
- (void)_loadAllPlaceholderItems;
- (void)insertItemWithItemIdentifier:(id)fp8 atIndex:(int)fp12;
- (void)removeItemAtIndex:(int)fp8;
- (void)_userInsertItemWithItemIdentifier:(id)fp8 atIndex:(int)fp12;
- (void)_userMoveItemFromIndex:(int)fp8 toIndex:(int)fp12;
- (void)_userRemoveItemAtIndex:(int)fp8;
- (void)_userResetToDefaultConfiguration;
- (void)_userSetCurrentItemsToItemIdentifiers:(id)fp8;
- (void)_replaceAllItemsAndSetNewWithItemIdentifiers:(id)fp8;
- (void)_notifyDelegate_DidRemoveItem:(id)fp8;
- (void)_notifyDelegate_DidRemoveItems:(id)fp8;
- (void)_notifyDelegate_WillAddItem:(id)fp8;
- (void)_notifyFamily_DidRemoveItemAtIndex:(int)fp8;
- (void)_notifyView_DidRemoveItemAtIndex:(int)fp8;
- (void)_notifyFamily_MovedFromIndex:(int)fp8 toIndex:(int)fp12;
- (void)_notifyView_MovedFromIndex:(int)fp8 toIndex:(int)fp12;
- (void)_notifyFamily_InsertedNewItem:(id)fp8 atIndex:(int)fp12;
- (void)_notifyView_InsertedNewItem:(id)fp8 atIndex:(int)fp12;
- (void)_notifyFamily_DidSetAllCurrentItems:(id)fp8;
- (void)_notifyView_DidSetAllCurrentItems:(id)fp8;
- (void)_noteToolbarSizeModeChangedAndPost:(id)fp8;
- (void)_noteToolbarDisplayModeChangedAndPost:(id)fp8;
- (void)_postWillDeallocToolbarNotifications;
- (void)_postDidCreateToolbarNotifications;
- (void)_disableNotifications;
- (void)_enableNotifications;
- (BOOL)_notificationPostingEnabled;
- (void)_makeNewToolbarAssociation:(id)fp8;
- (void)_destroyToolbarAssociation:(id)fp8;
- (void)_toolbarRegisterForNotifications;
- (void)_toolbarUnregisterForNotifications;
- (void)_toolbarWillDeallocNotification:(id)fp8;
- (void)_newToolbarBornNotification:(id)fp8;
- (void)_toolbarRemovedItemNotification:(id)fp8;
- (void)_toolbarMovedItemNotification:(id)fp8;
- (void)_toolbarInsertedNewItemNotification:(id)fp8;
- (void)_toolbarReplacedAllItemsNotification:(id)fp8;
- (void)_toolbarModeChangedNotification:(id)fp8;
- (id)_newItemFromInitPListWithItemIdentifier:(id)fp8;
- (id)_newItemFromDelegateWithItemIdentifier:(id)fp8 willBeInsertedIntoToolbar:(BOOL)fp12;
- (id)_newItemFromItemIdentifier:(id)fp8 requireImmediateLoad:(BOOL)fp12 willBeInsertedIntoToolbar:(BOOL)fp16;
- (id)_createItemFromItemIdentifier:(id)fp8;
- (id)toolbar:(id)fp8 itemForItemIdentifier:(id)fp12 willBeInsertedIntoToolbar:(BOOL)fp16;
- (id)_defaultItemIdentifiers;
- (id)_allowedItemIdentifiers;
- (id)toolbarDefaultItemIdentifiers:(id)fp8;
- (id)toolbarAllowedItemIdentifiers:(id)fp8;
- (id)_dictionaryForSavedConfiguration;
- (BOOL)_setConfigurationFromDictionary:(id)fp8 notifyFamilyAndUpdateDefaults:(BOOL)fp12;
- (void)_saveConfigurationUsingName:(id)fp8 domain:(id)fp12;
- (BOOL)_setConfigurationUsingName:(id)fp8 domain:(id)fp12;
- (id)_configurationAutosaveName;
- (void)_autoSaveCofiguration;
- (void)saveCofigurationUsingName:(id)fp8;
- (void)setConfigurationFromDictionary:(id)fp8;
- (BOOL)setConfigurationUsingName:(id)fp8;
- (id)configurationDictionary;
- (void)setAutosavesConfigurationUsingIdentifier:(BOOL)fp8;
- (BOOL)autosavesConfigurationUsingIdentifier;
- (void)setAutosavesConfiguration:(BOOL)fp8;
- (BOOL)autosavesConfiguration;
- (void)validateVisibleItems;

@end

@interface _NSToolbarItemPlaceholder : NSObject
{
NSString *_itemIdentifier;
NSToolbar *_tb;
}

- (id)initWithItemIdentifier:(id)fp8;
- (void)dealloc;
- (id)itemIdentifier;
- (void)_setToolbar:(id)fp8;
- (id)toolbar;

@end

@interface NSToolbarButton : NSButton
{
NSToolbarItem *_item;
SEL _primaryAction;
SEL _alternateAction;
NSString *_primaryToolTip;
NSString *_alternateToolTip;
NSString *_primaryTitle;
NSString *_alternateTitle;
NSImage *_cachedDrawingImage;
}

+ (void)initialize;
- (id)autorelease;
- (void)release;
- (id)initWithItem:(id)fp8;
- (void)dealloc;
- (id)_item;
- (void)setState:(int)fp8;
- (void)setImagePosition:(int)fp8;
- (BOOL)sendAction:(SEL)fp8 to:(id)fp12;
- (BOOL)sendAction;
- (BOOL)refusesFirstResponder;
- (void)invalidateCachedDrawingImage;
- (id)cachedDrawingImage;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)setImage:(id)fp8;
- (void)drawRect:(struct _NSRect)fp8;

@end

@interface _NSToolbarItemViewerLabelCell : NSCell
{
}

- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;

@end

@interface _NSToolbarButtonCell : NSButtonCell
{
}

- (int)nextState;
- (BOOL)refusesFirstResponder;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;

@end

@interface _NSToolbarButtonCell (_NSToolbarButtonCellAccessibility)
- (id)_accessibilityToolBarItem;
- (id)_accessibilityToolBarItemViewer;
- (id)accessibilityHelpAttribute;
- (id)accessibilityTitleAttribute;
- (id)accessibilityPositionAttribute;
- (id)accessibilitySizeAttribute;
@end

@interface NSToolbarClippedItemsIndicator : NSPopUpButton
{
NSArray *_clippedItems;
BOOL _cachedMenuIsValid;
}

+ (void)initialize;
+ (BOOL)isItemShownInPopupIfSoleEntry:(id)fp8;
+ (BOOL)willHaveItemsToDisplayForItemViewers:(id)fp8;
- (void)_initClipIndicatorImage;
- (id)init;
- (void)dealloc;
- (BOOL)hasItemsToDisplayInPopUp;
- (void)_computeMenuForClippedItems;
- (BOOL)validateMenuItem:(id)fp8;
- (void)_simpleOverflowMenuItemClicked:(id)fp8;
- (void)_computeMenuForClippedItemsIfNeeded;
- (void)_willPopUpNotification:(id)fp8;
- (void)_updateMenuForClippedItems;
- (void)setClippedItems:(id)fp8;
- (id)clippedItems;
- (id)_clipViewAncestor;
- (void)becomeKeyWindow;
- (void)resignKeyWindow;
- (BOOL)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (BOOL)acceptsFirstResponder;
- (BOOL)needsPanelToBecomeKey;
- (void)moveRight:(id)fp8;
- (void)moveLeft:(id)fp8;
- (void)performClick:(id)fp8;
- (void)mouseDown:(id)fp8;
- (void)drawRect:(struct _NSRect)fp8;

@end

@interface _NSToolbarClippedItemsIndicatorCell : NSPopUpButtonCell
{
}

- (struct _NSRect)imageRectForBounds:(struct _NSRect)fp8;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (void)drawImageWithFrame:(struct _NSRect)fp8 inView:(id)fp24;

@end

@interface _NSToolbarClippedItemsIndicatorCell (_NSToolbarClippedItemsIndicatorCellAccessibility)
- (id)accessibilityChildrenAttribute;
@end

@interface NSToolbarConfigPanel : NSPanel
{
NSToolbar *_editedToolbar;
float _widthOfWidgets;
NSToolbar *_individualItemsToolbar;
NSTextField *_individualItemsText;
NSToolbarView *_individualItemsToolbarView;
NSScrollView *_individualItemsScrollView;
NSTextField *_defaultItemsText;
_NSToolbarImageRepView *_defaultToolbarImageRep;
NSPopUpButton *_displayModePopUp;
float _maxIndividualItemViewHeight;
int _desiredSheetWidth;
NSButton *_useSmallIconsCheckBox;
}

+ (id)_nibName;
- (void)_finishInitialization;
- (id)initForToolbar:(id)fp8 withWidth:(int)fp12;
- (void)_orderFrontRelativeToWindow:(id)fp8;
- (void)dealloc;
- (void)_toolbarModeChangedNotification:(id)fp8;
- (struct _NSSize)_offsetFromStartRect;
- (BOOL)_addCursorRect:(struct _NSRect)fp8 cursor:(id)fp24 forView:(id)fp28;
- (void)ok:(id)fp8;
- (void)cancel:(id)fp8;
- (void)_setUpTextField:(id)fp8;
- (void)_loadDefaultSetImageRep;
- (void)_loadData;
- (float)_resizeTextFieldToFit:(id)fp8;
- (float)_deltaForResizingTextField:(id)fp8;
- (float)_resizeToolbarImageRepViewToFit:(id)fp8;
- (float)_deltaForResizingImageRepView:(id)fp8;
- (void)_computeMaxItemViewHeight;
- (float)_resizeToolbarViewToFit:(id)fp8;
- (float)_resizeViewToFit:(id)fp8;
- (void)_layoutForData;
- (BOOL)_blocksActionWhenModal:(SEL)fp8;

@end

@interface _NSToolbarImageRepView : NSView
{
NSArray *_itemIdentifiers;
NSImage *_image;
}

- (void)dealloc;
- (BOOL)isOpaque;
- (void)setImageRep:(id)fp8 forItemIdentifiers:(id)fp12;
- (void)sizeToFit;
- (void)sizeWidthToFit;
- (void)sizeHeightToFit;
- (struct _NSSize)sizeWhenSizedToFit;
- (void)drawRect:(struct _NSRect)fp8;
- (id)_computeDragImage;
- (void)mouseDown:(id)fp8;
- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)fp8;

@end

@interface _NSToolbarConfigPanelLoader : NSObject
{
NSPanel *panel;
}

+ (id)loadPanelNamed:(id)fp8;
- (id)panel;

@end

@interface NSToolbarFlexibleSpaceItem : NSToolbarItem
{
NSImage *_paletteImageRep;
}

+ (id)itemIdentifier;
- (void)_separatorFinishInit;
- (id)initWithItemIdentifier:(id)fp8;
- (id)init;
- (void)dealloc;
- (id)paletteImageRep;
- (BOOL)isSeparatorItem;
- (BOOL)wantsToDrawIconInDisplayMode:(int)fp8;
- (BOOL)wantsToDrawLabelInDisplayMode:(int)fp8;
- (BOOL)wantsToDrawIconIntoLabelAreaInDisplayMode:(int)fp8;
- (BOOL)_needsRedisplayWhenBeginningToolbarEditing;
- (id)view;
- (BOOL)allowsDuplicatesInToolbar;
- (struct _NSSize)minSize;
- (struct _NSSize)maxSize;
- (void)configureForDisplayMode:(int)fp8 andSizeMode:(int)fp12;

@end

@interface _NSToolbarFlexibleSpace : NSView
{
NSToolbarFlexibleSpaceItem *_spaceItem;
BOOL _inPalette;
NSImage *_configPanelImage;
}

- (id)initWithSize:(struct _NSSize)fp8 forSpaceItem:(id)fp16;
- (void)setInPalette:(BOOL)fp8;
- (void)drawRect:(struct _NSRect)fp8;

@end

@interface NSToolbarItem : NSObject
{
NSToolbar *_toolbar;
NSImage *_image;
NSString *_itemIdentifier;
NSString *_label;
int _labelAlignment;
NSString *_paletteLabel;
NSString *_toolTip;
NSMenuItem *_menuItemRep;
int _tag;
struct __tbiFlags _tbiFlags;
NSArray *_allPossibleLabelsToFit;
id _itemViewer;
NSView *_view;
struct _NSSize _minSize;
struct _NSSize _maxSize;
}

+ (id)_newShowColorsItem;
+ (id)_newShowFontsItem;
+ (id)_newCustomizeToolbarItem;
+ (id)_newPrintItem;
+ (id)newStandardItemWithItemIdentifier:(id)fp8;
+ (id)standardItemWithItemIdentifier:(id)fp8;
+ (id)_imageForDrawingInRectOfSize:(struct _NSSize)fp8 fromImage:(id)fp16;
+ (BOOL)allowsDuplicatesInToolbar;
- (void)_loadViewIfNecessary;
- (void)_toolbarItemCommonInit;
- (id)initWithType:(int)fp8 itemIdentifier:(id)fp12;
- (id)initWithItemIdentifier:(id)fp8;
- (id)_copyOfCustomView;
- (id)copy;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)dealloc;
- (void)_validateAsCommonItem:(id)fp8;
- (void)_validateMenuFormRepresentation:(id)fp8;
- (void)_validateAsCustomItem:(id)fp8;
- (void)validate;
- (id)itemIdentifier;
- (int)itemType;
- (id)toolbar;
- (void)_setAllPossibleLabelsToFit:(id)fp8;
- (id)_allPossibleLabelsToFit;
- (BOOL)_needsRedisplayWhenBeginningToolbarEditing;
- (void)setLabel:(id)fp8;
- (id)label;
- (void)setPaletteLabel:(id)fp8;
- (id)paletteLabel;
- (void)setToolTip:(id)fp8;
- (id)toolTip;
- (void)_clearDefaultMenuFormRepresentation;
- (void)setMenuFormRepresentation:(id)fp8;
- (void)_noteDefaultMenuAttributeChanged;
- (id)_imageForMenu;
- (id)menuFormRepresentation;
- (BOOL)validateMenuItem:(id)fp8;
- (void)_standardCommonMenuFormRepresentationClicked:(id)fp8;
- (void)_performMenuFormRepresentationClick;
- (void)_standardCustomMenuFormRepresentationClicked:(id)fp8;
- (void)setTarget:(id)fp8;
- (id)target;
- (void)setAction:(SEL)fp8;
- (SEL)action;
- (void)setEnabled:(BOOL)fp8;
- (BOOL)isEnabled;
- (void)setTag:(int)fp8;
- (int)tag;
- (void)_forceSetView:(id)fp8;
- (void)setView:(id)fp8;
- (id)view;
- (void)setMinSize:(struct _NSSize)fp8;
- (struct _NSSize)minSize;
- (void)setMaxSize:(struct _NSSize)fp8;
- (struct _NSSize)maxSize;
- (void)setImage:(id)fp8;
- (id)image;
- (BOOL)allowsDuplicatesInToolbar;

@end

@interface NSToolbarItem (NSInternal_CommonAndCustomTypeMethods)
+ (id)newSeparatorItem;
+ (id)separatorItemIdentifier;
+ (id)spaceItemIdentifier;
- (void)_beginDrawForDragging;
- (void)_endDrawForDragging;
- (BOOL)_isDrawingForDragImage;
- (BOOL)isSeparatorItem;
- (int)_itemType;
- (id)_view;
- (id)_menuFormRepresentation;
- (void)_setIsUserRemovable:(BOOL)fp8;
- (BOOL)_isUserRemovable;
- (void)_setToolbar:(id)fp8;
- (id)_toolbar;
- (BOOL)_handleSendControlSize:(int)fp8 toView:(id)fp12;
- (BOOL)_handleSendControlSize:(int)fp8 toCellOfView:(id)fp12;
- (void)configureForDisplayMode:(int)fp8 andSizeMode:(int)fp12;
- (BOOL)wantsToDrawIconInDisplayMode:(int)fp8;
- (BOOL)wantsToDrawLabelInDisplayMode:(int)fp8;
- (BOOL)wantsToDrawIconIntoLabelAreaInDisplayMode:(int)fp8;
- (int)_labelAlignment;
- (id)_itemViewer;
- (void)_setItemViewer:(id)fp8;
- (id)_button;
@end

@interface NSToolbarItem (NSToolbarItemCustomType)
@end

@interface NSToolbarItem (NSToolbarItemCommonType)
- (struct _NSSize)_buttonFrameSizeForSizeMode:(int)fp8;
@end

@interface NSToolbarItemViewer : NSView
{
NSToolbarItem *_item;
NSToolbarView *_toolbarView;
_NSToolbarItemViewerLabelCellPopUpCell *_labelCell;
struct _NSRect _labelRect;
float _labelHeight;
struct _NSSize _maxViewerSize;
struct _NSSize _minViewerSize;
struct _NSRect _minIconFrame;
struct _NSRect _minLabelFrame;
double _motionStartTime;
double _motionDuration;
struct _NSPoint _motionStartLocation;
struct _NSPoint _motionDestLocation;
struct {
unsigned int drawsIconPart:1;
unsigned int drawsLabelPart:1;
unsigned int iconAreaIncludesLabelArea:1;
unsigned int transparentBackground:1;
unsigned int labelOnlyShowsAsPopupMenu:1;
unsigned int inMotion:1;
unsigned int inRecursiveDisplay:1;
unsigned int insertionAnimationOptimizationOn:1;
unsigned int needsViewerLayout:1;
unsigned int needsModeConfiguration:1;
unsigned int inPaletteView:1;
unsigned int UNUSED:21;
} _tbivFlags;
}

- (id)initWithItem:(id)fp8 forToolbarView:(id)fp12;
- (id)item;
- (void)_setToolbarItem:(id)fp8;
- (void)dealloc;
- (void)setTransparentBackground:(BOOL)fp8;
- (BOOL)transparentBackground;
- (BOOL)isOpaque;
- (float)_widthRequiredForLabelLayout;
- (void)_computeLayoutInfoForIconViewSize:(struct _NSSize)fp8 frameSize:(struct _NSSize *)fp16 iconFrame:(struct _NSRect *)fp20 labelFrame:(struct _NSRect *)fp24;
- (void)_recomputeLabelHeight;
- (void)_noteToolbarSizeModeChanged;
- (void)_configureLabelCellStringValue;
- (void)configureForLayoutInDisplayMode:(int)fp8 andSizeMode:(int)fp12 inToolbarView:(id)fp16;
- (void)layoutToFitInMinimumIconSize;
- (void)layoutToFitInViewerFrameHeight:(double)fp8;
- (void)layoutToFitInIconWidth:(double)fp8;
- (struct _NSSize)maxSize;
- (void)setDestinationOrigin:(struct _NSPoint)fp8 travelTimeInSeconds:(double)fp16;
- (void)stepTowardsDestinationAtleastAsFarAs:(double)fp8;
- (BOOL)isInMotion;
- (struct _NSPoint)destination;
- (void)_startInsertionOptimization;
- (void)_endInsertionOptimization;
- (BOOL)_shouldLiveResizeUseCachedImage;
- (BOOL)_wantsLiveResizeToUseCachedImage;
- (void)_captureVisibleIntoLiveResizeCache;
- (BOOL)_hasImageCache;
- (void)_captureVisibleIntoImageCache;
- (void)_drawWithImageCache;
- (void)_recursiveDisplayAllDirtyWithLockFocus:(BOOL)fp8 visRect:(struct _NSRect)fp12;
- (BOOL)_shouldDrawSelectionIndicator;
- (BOOL)_useSquareToolbarSelectionHighlight;
- (void)drawSelectionIndicatorInRect:(struct _NSRect)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (id)hitTest:(struct _NSPoint)fp8;
- (void)_setHighlighted:(BOOL)fp8 displayNow:(BOOL)fp12;
- (void)_drawHighlighted:(BOOL)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (id)description;
- (void)becomeKeyWindow;
- (void)resignKeyWindow;
- (BOOL)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (BOOL)_acceptsFirstResponderInItem:(id)fp8;
- (BOOL)acceptsFirstResponder;
- (BOOL)needsPanelToBecomeKey;
- (void)moveRight:(id)fp8;
- (void)moveLeft:(id)fp8;
- (void)_labelCellWillPopUpNotification:(id)fp8;
- (void)_labelCellWillDismissNotification:(id)fp8;
- (void)performClick:(id)fp8;
- (void)_setDefaultKeyViewLoop;
- (BOOL)mouseDownCanMoveWindow;
- (void)mouseDown:(id)fp8;
- (void)_beginToolbarEditingMode;
- (void)_endToolbarEditingMode;
- (void)_setNeedsModeConfiguration:(BOOL)fp8;
- (BOOL)_needsModeConfiguration;
- (void)_setNeedsViewerLayout:(BOOL)fp8;
- (BOOL)_needsViewerLayout;
- (BOOL)_heightIsFlexible;
- (BOOL)_widthIsFlexible;
- (BOOL)_labelOnlyShowsAsPopupMenu;
- (void)_itemChanged;
- (void)_itemChangedToolTip;
- (void)_itemLayoutChanged;
- (void)_itemChangedLabelOrPaletteLabel;
- (void)_menuFormRepresentationChanged;

@end

@interface _NSToolbarItemViewerLabelCellPopUpCell : NSPopUpButtonCell
{
NSString *_realTitle;
}

- (id)initTextCell:(id)fp8;
- (void)_setRealTitle:(id)fp8;
- (void)dealloc;
- (void)setTitle:(id)fp8;
- (void)setStringValue:(id)fp8;
- (void)beginUsingMenuRepresentation:(id)fp8;
- (void)finishUsingMenuRepresentation;
- (id)title;
- (void)setCellAttribute:(int)fp8 to:(int)fp12;
- (struct _NSRect)titleRectForBounds:(struct _NSRect)fp8;
- (int)alignment;
- (id)_sharedTextCell;
- (void)drawTitleWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_drawRealTitleWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_setTextShadow:(BOOL)fp8;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (void)performClickWithFrame:(struct _NSRect)fp8 inView:(id)fp24;

@end

@interface NSWindow (_NSEvilHacks)
- (void)_evilHackToClearlastLeftHitInWindow;
@end

@interface _NSToolbarItemViewerLabelCellPopUpCellProxy : NSAccessibilityReparentingCellProxy
{
}

- (id)_itemViewer;
- (id)_item;
- (int)_labelType;
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityRoleDescriptionAttribute;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (id)accessibilityHelpAttribute;
- (id)accessibilityChildrenAttribute;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;

@end

@interface NSToolbarItemViewer (NSToolbarItemViewerAccessibility)
- (int)_accessibilityCellLabelType;
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (BOOL)_accessibilityIconHandlesTitle;
- (id)accessibilityTitleUIElementAttribute;
- (BOOL)accessibilityIsTitleUIElementAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface NSToolbarPoofAnimator : NSObject
{
NSWindow *_poofWindow;
NSPoofView *_poofWindowImageView;
NSImage *_poofAnimFrames[5];
double _nextPoofTime;
int _nextPoofFrame;
BOOL _releasesAfterPoofing;
NSDictionary *_callbackInfo;
}

+ (void)runPoofAtPoint:(struct _NSPoint)fp8 withSize:(struct _NSSize)fp16 callbackInfo:(id)fp24;
+ (void)runPoofAtPoint:(struct _NSPoint)fp8;
- (id)initAtPoint:(struct _NSPoint)fp8 withSize:(struct _NSSize)fp16 callbackInfo:(id)fp24;
- (void)dealloc;
- (void)setReleasesAfterPoofing:(BOOL)fp8;
- (void)setDragWindowImage:(id)fp8;
- (void)scheduleUpdate;
- (void)runPoof;
- (void)_doCallback;
- (void)_donePoofing;
- (void)updatePoofAnimation;

@end

@interface NSPoofView : NSView
{
NSImage *_image;
}

- (void)dealloc;
- (void)setImage:(id)fp8;
- (void)drawRect:(struct _NSRect)fp8;

@end

@interface NSToolbarSeparatorItem : NSToolbarItem
{
}

+ (id)itemIdentifier;
- (void)_separatorFinishInit;
- (id)initWithItemIdentifier:(id)fp8;
- (id)init;
- (BOOL)isSeparatorItem;
- (id)view;
- (BOOL)allowsDuplicatesInToolbar;

@end

@interface _NSToolbarSeparator : NSView
{
BOOL _inPalette;
}

- (id)init;
- (void)setInPalette:(BOOL)fp8;
- (struct _NSPoint)rasterize:(struct _NSPoint)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;

@end

@interface NSToolbarSeparatorItem (NSToolbarItemCustomType)
- (struct _NSSize)minSize;
- (struct _NSSize)maxSize;
- (void)configureForDisplayMode:(int)fp8 andSizeMode:(int)fp12;
- (BOOL)wantsToDrawIconInDisplayMode:(int)fp8;
- (BOOL)wantsToDrawLabelInDisplayMode:(int)fp8;
- (BOOL)wantsToDrawIconIntoLabelAreaInDisplayMode:(int)fp8;
@end

@interface NSToolbarSpaceItem : NSToolbarItem
{
NSImage *_paletteImageRep;
}

+ (id)itemIdentifier;
- (void)_separatorFinishInit;
- (id)initWithItemIdentifier:(id)fp8;
- (id)init;
- (void)dealloc;
- (id)paletteImageRep;
- (BOOL)isSeparatorItem;
- (BOOL)wantsToDrawIconInDisplayMode:(int)fp8;
- (BOOL)wantsToDrawLabelInDisplayMode:(int)fp8;
- (BOOL)wantsToDrawIconIntoLabelAreaInDisplayMode:(int)fp8;
- (BOOL)_needsRedisplayWhenBeginningToolbarEditing;
- (id)view;
- (BOOL)allowsDuplicatesInToolbar;
- (struct _NSSize)minSize;
- (struct _NSSize)maxSize;
- (void)configureForDisplayMode:(int)fp8 andSizeMode:(int)fp12;

@end

@interface _NSToolbarSpace : NSView
{
NSToolbarSpaceItem *_spaceItem;
BOOL _inPalette;
NSImage *_configPanelImage;
}

- (id)initWithSize:(struct _NSSize)fp8 forSpaceItem:(id)fp16;
- (void)setInPalette:(BOOL)fp8;
- (void)drawRect:(struct _NSRect)fp8;

@end

@interface NSToolbarView : NSView
{
NSToolbar *_toolbar;
NSToolbarClippedItemsIndicator *_clipIndicator;
NSClipView *_ivClipView;
NSMutableDictionary *_toolbarItemViewersByItem;
NSMutableArray *_orderedItemViewers;
NSToolbarItemViewer *_dragDataItemViewer;
int _dragDataItemViewerStartIndex;
BOOL _dragDataItemShouldBeRemoved;
NSToolbarItemViewer *_dragDataInsertionGapItemViewer;
struct _NSPoint _dragDataLastPoint;
BOOL _insertionAnimationRunning;
struct _NSPoint _halftonePhaseOverrideValue;
NSToolbarView *_validDestinationForDragsWeInitiate;
int _layoutEnabledCount;
struct __tbvFlags _tbvFlags;
NSResponder *_windowPriorFirstResponder;
}

+ (id)newViewForToolbar:(id)fp8 inWindow:(id)fp12 attachedToEdge:(int)fp16;
+ (id)defaultMenu;
- (void)_toolbarViewCommonInit;
- (id)initWithFrame:(struct _NSRect)fp8;
- (BOOL)_inTexturedWindow;
- (BOOL)isOpaque;
- (BOOL)isFlipped;
- (void)dealloc;
- (void)_setAllItemsTransparentBackground:(BOOL)fp8;
- (void)_setForceItemsToBeMinSize:(BOOL)fp8;
- (void)_setAllowsMultipleRows:(BOOL)fp8;
- (void)_setDrawsBaseline:(BOOL)fp8;
- (id)_validDestinationForDragsWeInitiate;
- (void)_setWantsKeyboardLoop:(BOOL)fp8;
- (BOOL)_wantsKeyboardLoop;
- (void)_setActsAsPalette:(BOOL)fp8 forToolbar:(id)fp12;
- (BOOL)_isPaletteView;
- (void)setToolbar:(id)fp8;
- (id)toolbar;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (id)visibleItems;
- (id)clippedItems;
- (int)numberOfItems;
- (BOOL)_clipIndicatorIsShowing;
- (id)_clipIndicator;
- (struct _NSRect)_validItemViewerBoundsAssumingClipIndicatorNotShown;
- (struct _NSRect)_validItemViewerBounds;
- (struct _NSRect)_validItemViewerBoundsAssumingClipIndicatorShown;
- (void)_forceResetTexturedWindowDragMargins;
- (void)_beginTempEditingMode;
- (void)_beginCustomizationMode;
- (void)_endCustomizationMode;
- (BOOL)_isInCustomizationMode;
- (BOOL)_isInConfigurationMode;
- (BOOL)_isEditing;
- (BOOL)_shouldStealHitTestForCurrentEvent;
- (id)_findHitItemViewer:(struct _NSPoint)fp8;
- (id)hitTest:(struct _NSPoint)fp8;
- (void)resetToolbarToDefaultConfiguration:(id)fp8;
- (BOOL)validateMenuItem:(id)fp8;
- (id)menuForEvent:(id)fp8;
- (void)removeToolbarItem:(id)fp8;
- (BOOL)mouseDownCanMoveWindow;
- (void)mouseDown:(id)fp8;
- (struct CGSize)_toolbarPatternPhase;
- (void)_drawForTransitionInWindow:(id)fp8 usingHalftonePhaseForWindowOfSize:(struct _NSSize)fp12;
- (void)drawRect:(struct _NSRect)fp8;
- (void)_createClipIndicatorIfNecessary;
- (void)_setClipIndicatorItemsFromItemViewers:(id)fp8;
- (void)_adjustClipIndicatorPosition;
- (void)_syncItemSet;
- (void)_setFrameSize:(struct _NSSize)fp8;
- (id)_allItems;
- (id)_visibleItemViewers;
- (id)_clippedItemViewers;
- (void)_removeClipIndicatorFromSuperview;
- (void)_makeSureFirstResponderIsNotInInvisibleItemViewer;
- (void)_detatchNextAndPreviousForView:(id)fp8;
- (void)_detatchNextAndPreviousForAllSubviews;
- (void)_computeToolbarItemKeyboardLoop;
- (void)_computeToolbarItemKeyboardLoopIfNecessary;
- (void)_returnFirstResponderToWindowFromKeyboardHotKeyEvent;
- (id)_computePriorFirstResponder;
- (void)_makeFirstResponderForKeyboardHotKeyEvent;
- (void)viewDidMoveToSuperview;
- (void)_cycleWindows:(id)fp8;
- (id)_itemsFromItemViewers:(id)fp8;
- (id)_computeOrderedItemViewersOfType:(int)fp8 inRange:(struct _NSRange)fp12;
- (id)_computeOrderedItemViewersOfType:(int)fp8;
- (id)_computeCommonItemViewers;
- (id)_computeCustomItemViewers;
- (id)_computeCustomItemViewersInRange:(struct _NSRange)fp8;
- (void)_makeSureItemViewersInArray:(id)fp8 areSubviews:(BOOL)fp12 from:(int)fp16 to:(int)fp20;
- (int)_layoutRowStartingAtIndex:(int)fp8 withFirstItemPosition:(struct _NSPoint)fp12 allItemViewers:(id)fp20 gridWidth:(int)fp24;
- (id)description;
- (void)_setNeedsModeConfiguration:(BOOL)fp8 itemViewers:(id)fp12;
- (void)_setNeedsViewerLayout:(BOOL)fp8 itemViewers:(id)fp12;
- (void)_setNeedsDisplayForItemViewerSelection:(id)fp8;
- (void)_setNeedsDisplayForItemIdentifierSelection:(id)fp8;
- (void)_fullLayout;
- (void)_disableLayout;
- (void)_enableLayout;
- (BOOL)_layoutEnabled;
- (void)_layoutDirtyItemViewersAndTileToolbar;
- (void)_endLiveResize;
- (void)_sizeToFit:(BOOL)fp8;
- (void)_sizeVerticalyToFit;
- (void)_sizeHorizontallyToFit;
- (float)_distanceFromBaseToTopOfWindow;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)_noteToolbarModeChangedAndUpdateItemViewers:(SEL)fp8;
- (void)_noteToolbarSizeModeChanged;
- (void)_noteToolbarDisplayModeChanged;
- (void)_noteToolbarLayoutChanged;
- (void)viewWillMoveToWindow:(id)fp8;
- (void)windowDidUpdate:(id)fp8;
- (void)_doDelayedValidateVisibleToolbarItems;
- (void)_validateVisibleToolbarItems;

@end

@interface _NSToolbarViewClipView : NSClipView
{
BOOL _shouldDrawOutline;
}

- (BOOL)isFlipped;
- (BOOL)_drawRectIfEmpty;
- (void)drawRect:(struct _NSRect)fp8;

@end

@interface NSToolbarView (_NSPrivate_Internal)
- (void)_toolbarContentsChanged:(id)fp8;
- (void)_toolbarAttributesChanged:(id)fp8;
- (void)_toolbarContentsAttributesChanged:(id)fp8;
- (void)_registerForToolbarNotifications:(id)fp8;
- (void)_unregisterForToolbarNotifications:(id)fp8;
@end

@interface NSToolbarView (_ItemDragAndDropSupport)
- (id)_findItemViewerAtPoint:(struct _NSPoint)fp8;
- (id)_computeDragImageFromItemViewer:(id)fp8;
- (id)_dragDataItemViewer;
- (struct _NSRect)_rectOfItemAtIndex:(int)fp8;
- (id)_insertionGapForItemViewer:(id)fp8 forDraggingSource:(id)fp12;
- (int)_insertionIndexForPoint:(struct _NSPoint)fp8 previousIndex:(int)fp16;
- (void)removeItemViewerAtIndex:(int)fp8;
- (void)insertItemViewer:(id)fp8 atIndex:(int)fp12;
- (void)_startInsertionOptimizationWithDragSource:(id)fp8;
- (void)_endInsertionOptimizationWithDragSource:(id)fp8 force:(BOOL)fp12;
- (void)_dragEndedNotification:(id)fp8;
- (void)_updateDragInsertion:(id)fp8;
- (void)stopUpdateInsertionAnimation;
- (float)_computeTravelTimeForInsertionOfItemViewer:(id)fp8;
- (void)beginUpdateInsertionAnimationAtIndex:(int)fp8 throwAwayCacheWhenDone:(BOOL)fp12;
- (unsigned int)_findIndexOfFirstDuplicateItemWithItemIdentier:(id)fp8;
- (BOOL)_isAcceptableDragSource:(id)fp8 types:(id)fp12 dragInfo:(id)fp16;
- (id)_itemViewerForDraggingInfo:(id)fp8 draggingSource:(id)fp12;
- (unsigned int)dstDraggingEnteredAtPoint:(struct _NSPoint)fp8 draggingInfo:(id)fp16;
- (unsigned int)dstDraggingMovedToPoint:(struct _NSPoint)fp8 draggingInfo:(id)fp16;
- (void)_dstDraggingExitedAtPoint:(struct _NSPoint)fp8 draggingInfo:(id)fp16 stillInViewBounds:(BOOL)fp20;
- (void)dstDraggingExitedAtPoint:(struct _NSPoint)fp8 draggingInfo:(id)fp16;
- (BOOL)dstDraggingDepositedAtPoint:(struct _NSPoint)fp8 draggingInfo:(id)fp16;
- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)fp8;
- (BOOL)_canMoveItemAsSource:(id)fp8;
- (BOOL)_beginSrcDragItemViewerWithEvent:(id)fp8;
- (BOOL)_isItemViewerMoveable:(id)fp8;
- (BOOL)_beginSrcDragItemWithEvent:(id)fp8;
- (unsigned int)draggingEntered:(id)fp8;
- (unsigned int)draggingUpdated:(id)fp8;
- (void)draggingExited:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
@end

@interface NSToolbarView (NSToolbarViewAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (id)accessibilityOverflowButtonAttribute;
- (BOOL)accessibilityIsOverflowButtonAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsIgnored;
@end

@interface NSToolTipManager : NSObject
{
NSWindow *toolTipWindow;
NSMutableArray *toolTips;
double toolTipDelay;
NSDate *timeToolTipRemovedFromScreen;
struct __CFRunLoopTimer *toolTipDisplayTimer;
NSToolTip *currentDisplayedToolTip;
NSToolTip *currentFadingToolTip;
float currentFadeValue;
NSTimer *fadeTimer;
NSWindow *lastToolTipWindow;
}

+ (id)sharedToolTipManager;
- (id)init;
- (void)dealloc;
- (void)setInitialToolTipDelay:(double)fp8;
- (void)_checkToolTipDelay;
- (void)windowDidBecomeKeyNotification:(id)fp8;
- (BOOL)_shouldInstallToolTip:(void *)fp8;
- (int)_addTrackingRect:(struct _NSRect)fp8 andStartToolTipIfNecessary:(BOOL)fp24 view:(id)fp28 owner:(id)fp32 toolTip:(id)fp36 reuseExistingTrackingNum:(BOOL)fp40;
- (void)addTrackingRectForToolTip:(id)fp8 reuseExistingTrackingNum:(BOOL)fp12;
- (int)_setToolTip:(id)fp8 forView:(id)fp12 cell:(id)fp16 rect:(struct _NSRect)fp20 owner:(id)fp36 ownerIsDisplayDelegate:(BOOL)fp40 userData:(void *)fp44;
- (void)_removeToolTip:(id)fp8 stopTimerIfNecessary:(BOOL)fp12;
- (void)_removeTrackingRectForToolTip:(id)fp8 stopTimerIfNecessary:(BOOL)fp12;
- (int)setToolTipForView:(id)fp8 rect:(struct _NSRect)fp12 displayDelegate:(id)fp28 userData:(void *)fp32;
- (int)setToolTipForView:(id)fp8 rect:(struct _NSRect)fp12 owner:(id)fp28 userData:(void *)fp32;
- (void)setToolTipWithOwner:(id)fp8 forView:(id)fp12 cell:(id)fp16;
- (void)setToolTip:(id)fp8 forView:(id)fp12 cell:(id)fp16;
- (void)removeToolTipForView:(id)fp8 tag:(int)fp12;
- (BOOL)viewHasToolTips:(id)fp8;
- (void)removeAllToolTipsForView:(id)fp8;
- (void)removeAllToolTipsForView:(id)fp8 withOwner:(id)fp12;
- (id)toolTipForView:(id)fp8 cell:(id)fp12;
- (void)recomputeToolTipsForView:(id)fp8 remove:(BOOL)fp12 add:(BOOL)fp16;
- (void)startTimer:(float)fp8 userInfo:(id)fp12;
- (void)stopTimer;
- (void)_stopTimerIfRunningForToolTip:(id)fp8;
- (void)displayToolTip:(id)fp8;
- (void)orderOutToolTip;
- (void)fadeToolTip:(id)fp8;
- (void)orderOutToolTipImmediately:(BOOL)fp8;
- (void)abortToolTip;
- (void)mouseEnteredToolTip:(id)fp8 inWindow:(id)fp12 withEvent:(id)fp16;
- (void)mouseEntered:(id)fp8;
- (void)mouseExited:(id)fp8;

@end

@interface NSToolTipPanel : NSPanel
{
}

- (BOOL)hasShadow;
- (void)_clearEventMask;
- (void)orderFront:(id)fp8;
- (void)becomeKeyWindow;
- (void)resignKeyWindow;

@end

@interface NSToolTipStringDrawingLayoutManager : NSObject
{
NSDictionary *_wrappingAttributes;
NSLayoutManager *_layoutManager;
}

+ (id)sharedToolTipStringDrawingLayoutManager;
+ (struct _NSSize)sizeForDisplayingAttributedString:(id *)fp8;
- (id)_wrappingAttributes;
- (struct _NSSize)_sizeWithSize:(struct _NSSize)fp8 attributedString:(id *)fp16;
- (void)dealloc;

@end

@interface NSToolTip : NSObject
{
NSView *view;
NSCell *cell;
NSString *string;
id owner;
void *data;
int trackingNum;
BOOL ownerIsDisplayDelegate;
struct _NSRect trackingRect;
}

- (void)dealloc;
- (id)description;

@end

@interface NSTracer : NSObject
{
struct _NSMapTable *flavorPriorityMap;
id reporter;
SEL reporterSelector;
unsigned int defaultPriority;
}

+ (void)initialize;
+ (id)sharedTracer;
+ (void)traceWithFlavor:(id)fp8 priority:(unsigned int)fp12 format:(id)fp16;
- (id)init;
- (void)dealloc;
- (void)setDefaultPriority:(unsigned int)fp8;
- (void)setPriority:(unsigned int)fp8 forFlavor:(id)fp12;
- (unsigned int)priorityForFlavor:(id)fp8;
- (void)setReporter:(id)fp8 selector:(SEL)fp12;
- (void)traceWithFlavor:(id)fp8 priority:(unsigned int)fp12 format:(id)fp16;
- (void)traceWithFlavor:(id)fp8 priority:(unsigned int)fp12 format:(id)fp16 arguments:(char *)fp20;

@end

@interface NSTypesetter : NSObject
{
unsigned int _reserved[2];
}

+ (void)initialize;
+ (BOOL)_usesATSTypesetter;
+ (int)defaultTypesetterBehavior;
+ (int)defaultStringDrawingTypesetterBehavior;
+ (id)sharedSystemTypesetterForBehavior:(int)fp8;
+ (id)sharedSystemTypesetter;
+ (struct _NSSize)printingAdjustmentInLayoutManager:(id)fp8 forNominallySpacedGlyphRange:(struct _NSRange)fp12 packedGlyphs:(const char *)fp20 count:(unsigned int)fp24;
- (void)layoutGlyphsInLayoutManager:(id)fp8 startingAtGlyphIndex:(unsigned int)fp12 maxNumberOfLineFragments:(unsigned int)fp16 nextGlyphIndex:(unsigned int *)fp20;
- (float)baselineOffsetInLayoutManager:(id)fp8 glyphIndex:(unsigned int)fp12;

@end

@interface NSSimpleHorizontalTypesetter : NSTypesetter
{
NSLayoutManager *layoutManager;
NSTextStorage *textStorage;
unsigned int firstGlyphIndex;
unsigned int curGlyphIndex;
unsigned int firstInvalidGlyphIndex;
struct _NSTypesetterGlyphInfo *glyphs;
unsigned int *glyphCache;
int *glyphInscriptionCache;
unsigned int *glyphCharacterIndexCache;
char *glyphElasticCache;
struct _NSSize glyphLocationOffset;
float curMaxGlyphLocation;
unsigned int lastFixedGlyphIndex;
unsigned int sizeOfGlyphInfo;
unsigned int curGlyph;
int curGlyphInscription;
unsigned int curCharacterIndex;
unsigned int previousGlyph;
unsigned int previousBaseGlyphIndex;
unsigned int previousBaseGlyph;
NSFont *previousFont;
float curGlyphOffset;
BOOL curGlyphOffsetOutOfDate;
BOOL curGlyphIsAControlGlyph;
BOOL containerBreakAfterCurGlyph;
BOOL wrapAfterCurGlyph;
float curSpaceAfter;
float previousSpaceAfter;
int glyphLayoutMode;
float curGlyphExtentAboveLocation;
float curGlyphExtentBelowLocation;
int curLayoutDirection;
int curTextAlignment;
NSFont *curFont;
struct _NSRect curFontBoundingBox;
BOOL curFontIsFixedPitch;
struct _NSPoint curFontAdvancement;
void *curFontPositionOfGlyphMethod;
NSDictionary *attrs;
struct _NSRange attrsRange;
float curBaselineOffset;
float curMinBaselineDistance;
float curMaxBaselineDistance;
int curSuperscript;
NSParagraphStyle *curParaStyle;
NSTextContainer *curContainer;
unsigned int curContainerIndex;
float curContainerLineFragmentPadding;
BOOL curContainerIsSimpleRectangular;
struct _NSSize curContainerSize;
float curMinLineHeight;
float curMaxLineHeight;
NSString *textString;
unsigned int capacityOfGlyphs;
BOOL busy;
struct {
unsigned int _glyphPostLay:1;
unsigned int _fragPostLay:1;
unsigned int _useItal:1;
unsigned int _curFontIsDefaultFace:1;
unsigned int _tabState:2;
unsigned int _tabType:2;
unsigned int _tabEOL:1;
unsigned int reserved:23;
} _tsFlags;
char *glyphBidiLevelCache;
unsigned char curBidiLevel;
unsigned char previousBidiLevel;
unsigned char _reservedChars[2];
unsigned int _reserved2[6];
}

+ (id)sharedInstance;
+ (id)new;
- (id)init;
- (struct _NSTypesetterGlyphInfo *)_glyphInfoAtIndex:(int)fp8;
- (void)release;
- (void)dealloc;
- (BOOL)_typesetterIsBusy;
- (void)setFollowsItalicAngle:(BOOL)fp8;
- (BOOL)followsItalicAngle;
- (id)currentLayoutManager;
- (id)currentContainer;
- (id)currentParagraphStyle;
- (id)currentTextStorage;
- (struct _NSTypesetterGlyphInfo *)baseOfTypesetterGlyphInfo;
- (unsigned int)sizeOfTypesetterGlyphInfo;
- (unsigned int)capacityOfTypesetterGlyphInfo;
- (unsigned int)firstGlyphIndexOfCurrentLineFragment;
- (void)layoutGlyphsInLayoutManager:(id)fp8 startingAtGlyphIndex:(unsigned int)fp12 maxNumberOfLineFragments:(unsigned int)fp16 nextGlyphIndex:(unsigned int *)fp20;
- (void)_layoutGlyphsInLayoutManager:(id)fp8 startingAtGlyphIndex:(unsigned int)fp12 maxNumberOfLineFragments:(unsigned int)fp16 currentTextContainer:(id *)fp20 proposedRect:(struct _NSRect *)fp24 nextGlyphIndex:(unsigned int *)fp28;
- (unsigned int)growGlyphCaches:(unsigned int)fp8 fillGlyphInfo:(BOOL)fp12;
- (void)insertGlyph:(unsigned int)fp8 atGlyphIndex:(unsigned int)fp12 characterIndex:(unsigned int)fp16;
- (void)clearAttributesCache;
- (void)clearGlyphCache;
- (void)updateCurGlyphOffset;
- (struct _NSRect)normalizedRect:(struct _NSRect)fp8;
- (void)layoutTab;
- (int)layoutControlGlyphForLineFragment:(struct _NSRect)fp8;
- (float)baselineOffsetInLayoutManager:(id)fp8 glyphIndex:(unsigned int)fp12;
- (void)fillAttributesCache;
- (void)getAttributesForCharacterIndex:(unsigned int)fp8;
- (void)fullJustifyLineAtGlyphIndex:(unsigned int)fp8;
- (unsigned int)glyphIndexToBreakLineByHyphenatingWordAtIndex:(unsigned int)fp8;
- (unsigned int)glyphIndexToBreakLineByWordWrappingAtIndex:(unsigned int)fp8;
- (unsigned int)glyphIndexToBreakLineByClippingAtIndex:(unsigned int)fp8;
- (void)breakLineAtIndex:(unsigned int)fp8;
- (void)_setupBoundsForLineFragment:(struct _NSRect *)fp8;
- (int)layoutGlyphsInHorizontalLineFragment:(struct _NSRect *)fp8 baseline:(float *)fp12;

@end

@interface NSUIHeartBeat : NSObject
{
CDAnonymousStruct10 _times;
NSConditionLock *_drawingThreadLock;
NSLock *_clientsLock;
NSMutableArray *_clients;
NSView *_currentView;
struct {
unsigned int _isDrawingLocked:1;
unsigned int _isClientsChanged:1;
unsigned int _lockedByClient:1;
unsigned int _usedDoubleBuffer:1;
unsigned int _isAboutToLock:1;
unsigned int _reserved:27;
} _hbFlags;
}

+ (void)initialize;
+ (id)sharedHeartBeat;
+ (double)heartBeatCycle;
+ (void)setHeartBeatCycle:(double)fp8;
+ (BOOL)isHeartBeatThread;
- (void)_heartBeatThread:(id)fp8;
- (void)_startHeartBeating;
- (id)init;
- (void)dealloc;
- (void)addHeartBeatView:(id)fp8;
- (void)removeHeartBeatView:(id)fp8;
- (double)birthDate;
- (void)updateHeartBeatState;
- (void)disableHeartBeating;
- (void)reenableHeartBeating:(BOOL)fp8;
- (BOOL)lockFocusForView:(id)fp8 inRect:(struct _NSRect)fp12 needsTranslation:(BOOL)fp28;
- (void)unlockFocusInRect:(struct _NSRect)fp8;

@end

@interface NSViewRectCache : NSObject
{
NSView *_view;
NSWindow *_window;
struct _NSRect _viewRect;
struct _NSRect _windowRect;
struct _NSRect _savedRect;
NSImage *_savedImage;
BOOL _savedImageIsValid;
}

- (id)initWithView:(id)fp8;
- (BOOL)cacheRect:(struct _NSRect)fp8;
- (BOOL)restore;
- (void)dealloc;

@end

@interface NSFlippableView : NSView
{
BOOL isFlipped;
BOOL isOpaque;
}

+ (void)_initFlippableViewCacheLock;
+ (id)newFlipped:(BOOL)fp8;
- (void)dealloc;
- (BOOL)isFlipped;
- (void)setOpaque:(BOOL)fp8;
- (BOOL)isOpaque;

@end

@interface NSView : NSResponder
{
struct _NSRect _frame;
struct _NSRect _bounds;
id _superview;
id _subviews;
NSWindow *_window;
int _gState;
id _frameMatrix;
id _drawMatrix;
id _dragTypes;
struct __NSViewAuxiliary *_viewAuxiliary;
struct __VFlags _vFlags;
struct __VFlags2 _vFlags2;
}

+ (void)initialize;
+ (void)_setShowsAllDrawing:(BOOL)fp8;
+ (BOOL)_showsAllDrawing;
+ (id)new;
+ (int)defaultFocusRingType;
+ (id)focusView;
+ (id)defaultMenu;
- (void)_setDrawsOwnDescendants:(BOOL)fp8;
- (BOOL)_drawsOwnDescendants;
- (BOOL)_drawnByAncestor;
- (struct _NSRect)_focusRingVisibleRect;
- (void)_showKeyboardUILoop;
- (void)_showBorder;
- (void)_showDrawRect:(struct _NSRect)fp8;
- (id)initWithFrame:(struct _NSRect)fp8;
- (id)init;
- (void)_commonAwake;
- (id)retain;
- (void)release;
- (unsigned int)retainCount;
- (void)_resetRefCount:(long)fp8;
- (BOOL)_allowsContextMenus;
- (void)_deallocateGState;
- (void)_finalize;
- (void)dealloc;
- (void)_addToOrphanList;
- (id)_setWindow:(id)fp8;
- (id)window;
- (id)superview;
- (id)subviews;
- (BOOL)isDescendantOf:(id)fp8;
- (id)ancestorSharedWithView:(id)fp8;
- (id)opaqueAncestor;
- (id)_clipViewAncestor;
- (void)setKeyboardFocusRingNeedsDisplayInRect:(struct _NSRect)fp8;
- (void)setFocusRingType:(int)fp8;
- (int)focusRingType;
- (void)_drawScrollViewFocusRing:(id)fp8 clipRect:(struct _NSRect)fp12 needsFullDisplay:(BOOL)fp28;
- (BOOL)_showingFocusRingAroundEnclosingScrollView:(id)fp8;
- (void)didAddSubview:(id)fp8;
- (void)willRemoveSubview:(id)fp8;
- (void)addSubview:(id)fp8;
- (void)addSubview:(id)fp8 positioned:(int)fp12 relativeTo:(id)fp16;
- (void)sortSubviewsUsingFunction:(void *)fp8 context:(void *)fp12;
- (void)viewWillMoveToWindow:(id)fp8;
- (void)viewDidMoveToWindow;
- (void)viewWillMoveToSuperview:(id)fp8;
- (void)viewDidMoveToSuperview;
- (void)_recursiveGainedHiddenAncestor;
- (void)_recursiveLostHiddenAncestor;
- (void)_setHidden:(BOOL)fp8;
- (void)setHidden:(BOOL)fp8;
- (BOOL)isHidden;
- (BOOL)isHiddenOrHasHiddenAncestor;
- (void)_abortEditingIfFirstResponderIsASubview;
- (void)_endEditingIfFirstResponderIsASubview;
- (void)removeFromSuperview;
- (void)removeFromSuperviewWithoutNeedingDisplay;
- (void)_markRememberedEditingFirstResponderIfIsASubview;
- (id)_validRememberedEditingFirstResponder;
- (void)_makeRememberedOrNewEditingSubviewBecomeFirstResponder;
- (void)_clearRememberedEditingFirstResponder;
- (void)_replaceSubview:(id)fp8 with:(id)fp12 rememberAndResetEditingFirstResponder:(BOOL)fp16 abortEditingIfNecessary:(BOOL)fp20;
- (void)replaceSubview:(id)fp8 with:(id)fp12;
- (id)_setSuperview:(id)fp8;
- (id)_addSubview:(id)fp8;
- (id)_removeSubview:(id)fp8;
- (id)_subviews;
- (void)_setPostsFocusChangedNotifications:(BOOL)fp8;
- (void)_setBindingAdaptor:(id)fp8;
- (id)_bindingAdaptor;
- (void)_postFrameChangeNotification;
- (void)setPostsFrameChangedNotifications:(BOOL)fp8;
- (BOOL)postsFrameChangedNotifications;
- (void)resizeSubviewsWithOldSize:(struct _NSSize)fp8;
- (id)_setNoVerticalAutosizing:(BOOL)fp8;
- (BOOL)_noVerticalAutosizing;
- (void)resizeWithOldSuperviewSize:(struct _NSSize)fp8;
- (void)_autoSizeView:(BOOL)fp8:(unsigned int)fp12:(const struct _NSRect *)fp16:(const struct _NSRect *)fp20:(struct _NSRect *)fp24;
- (void)setAutoresizesSubviews:(BOOL)fp8;
- (BOOL)autoresizesSubviews;
- (void)setAutoresizingMask:(unsigned int)fp8;
- (unsigned int)autoresizingMask;
- (void)setFrameOrigin:(struct _NSPoint)fp8;
- (BOOL)_shouldTransformMatrix;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)setFrame:(struct _NSRect)fp8;
- (void)setFrameRotation:(float)fp8;
- (struct _NSRect)frame;
- (float)frameRotation;
- (void)setBounds:(struct _NSRect)fp8;
- (void)setBoundsOrigin:(struct _NSPoint)fp8;
- (void)setBoundsSize:(struct _NSSize)fp8;
- (void)setBoundsRotation:(float)fp8;
- (void)translateOriginToPoint:(struct _NSPoint)fp8;
- (void)scaleUnitSquareToSize:(struct _NSSize)fp8;
- (void)rotateByAngle:(float)fp8;
- (struct _NSRect)bounds;
- (float)boundsRotation;
- (BOOL)isFlipped;
- (id)_setRotatedFromBase:(BOOL)fp8;
- (id)_setRotatedOrScaledFromBase:(BOOL)fp8;
- (BOOL)isRotatedFromBase;
- (BOOL)isRotatedOrScaledFromBase;
- (BOOL)isOpaque;
- (id)_drawMatrix;
- (id)_computeBounds;
- (BOOL)_convertPointFromSuperview:(struct _NSPoint *)fp8 test:(BOOL)fp12;
- (struct _NSPoint)_convertPointToSuperview:(struct _NSPoint)fp8;
- (struct _NSRect)_convertRectFromSuperview:(struct _NSRect)fp8 test:(BOOL)fp24;
- (struct _NSRect)_convertRectToSuperview:(struct _NSRect)fp8;
- (struct _NSPoint)convertPoint:(struct _NSPoint)fp8 fromView:(id)fp16;
- (struct _NSPoint)convertPoint:(struct _NSPoint)fp8 toView:(id)fp16;
- (struct _NSPoint)_convertPoint:(struct _NSPoint)fp8 fromAncestor:(id)fp16;
- (struct _NSPoint)_convertPoint:(struct _NSPoint)fp8 toAncestor:(id)fp16;
- (struct _NSSize)convertSize:(struct _NSSize)fp8 fromView:(id)fp16;
- (struct _NSSize)convertSize:(struct _NSSize)fp8 toView:(id)fp16;
- (struct _NSRect)convertRect:(struct _NSRect)fp8 fromView:(id)fp24;
- (struct _NSRect)convertRect:(struct _NSRect)fp8 toView:(id)fp24;
- (struct _NSRect)_convertRect:(struct _NSRect)fp8 fromAncestor:(id)fp24;
- (struct _NSRect)_convertRect:(struct _NSRect)fp8 toAncestor:(id)fp24;
- (struct _NSRect)centerScanRect:(struct _NSRect)fp8;
- (struct _NSPoint)_centerScanPoint:(struct _NSPoint)fp8;
- (id)_crackRect:(struct _NSRect *)fp8;
- (id)_crackPoint:(struct _NSPoint *)fp8;
- (BOOL)canDraw;
- (BOOL)needsDisplay;
- (BOOL)_hasgState;
- (int)gState;
- (void)allocateGState;
- (void)releaseGState;
- (void)_invalidateResourceForGraphicsContext:(id)fp8;
- (void)setUpGState;
- (void)renewGState;
- (id)_focusInto:(id)fp8 withClip:(BOOL)fp12;
- (id)_gatherFocusStateInto:(id)fp8 upTo:(id)fp12 withContext:(id)fp16;
- (void)_focusFromView:(id)fp8 withContext:(id)fp12;
- (void)lockFocus;
- (BOOL)lockFocusIfCanDraw;
- (void)unlockFocus;
- (BOOL)_lockFocusNoRecursion;
- (void)_unlockFocusNoRecursion;
- (void)_postFocusChangedNotification;
- (id)_invalidateGStatesForTree;
- (id)_invalidateFocus;
- (struct _NSRect)visibleRect;
- (BOOL)_canOptimizeDrawing;
- (BOOL)_optimizedRectFill:(const struct _NSRect *)fp8 gray:(float)fp12;
- (void)_clearDirtyRectsForTree;
- (BOOL)_shouldAttemptIdleTimeDisposeOfLiveResizeCacheWithFrame:(struct _NSRect)fp8;
- (BOOL)_shouldLiveResizeUseCachedImage;
- (BOOL)_wantsLiveResizeToUseCachedImage;
- (BOOL)_needsRedrawBeforeFirstLiveResizeCache;
- (BOOL)_needsLiveResizeCacheInSyncWithSiblingView;
- (BOOL)_liveResizeCachedImageIsValid;
- (struct _NSRect)_liveResizeCacheableBounds;
- (struct _NSRect)_liveResizeCachedBounds;
- (id)_liveResizeCachedImage;
- (void)_releaseLiveResizeCachedImage;
- (void)_invalidateLiveResizeCachedImage;
- (void)_getRidOfCacheAndMarkYourselfAsDirty;
- (void)_captureVisibleIntoLiveResizeCache;
- (void)_drawLiveResizeCachedImage;
- (void)viewWillStartLiveResize;
- (void)viewDidEndLiveResize;
- (BOOL)inLiveResize;
- (BOOL)_inLiveResize;
- (void)_setLiveResize:(BOOL)fp8;
- (void)_startLiveResizeAsTopLevel;
- (void)_endLiveResizeAsTopLevel;
- (void)_startLiveResizeCacheOK:(id)fp8;
- (void)_startLiveResize;
- (void)_endLiveResize;
- (id)_getNextResizeEventInvalidatingLiveResizeCacheIfNecessary:(id)fp8;
- (BOOL)_drawRectIfEmpty;
- (BOOL)_drawRectIfEmptyWhenSubviewsCoverDirtyRect:(struct _NSRect)fp8;
- (void)_drawRect:(struct _NSRect)fp8 liveResizeFill:(struct _NSRect)fp24:(struct _NSRect)fp40:(struct _NSRect)fp56:(struct _NSRect)fp72 cacheCoveredArea:(struct _NSRect)fp88;
- (void)_drawRect:(struct _NSRect)fp8 liveResizeCacheCoveredArea:(struct _NSRect)fp24;
- (void)_drawRect:(struct _NSRect)fp8 clip:(BOOL)fp24;
- (struct _NSRect)_dirtyRect;
- (void)_lightWeightRecursiveDisplayInRect:(struct _NSRect)fp8;
- (void)_recursiveDisplayAllDirtyWithLockFocus:(BOOL)fp8 visRect:(struct _NSRect)fp12;
- (void)_recursiveDisplayRectIfNeededIgnoringOpacity:(struct _NSRect)fp8 isVisibleRect:(BOOL)fp24 rectIsVisibleRectForView:(id)fp28 topView:(BOOL)fp32;
- (void)_displayRectIgnoringOpacity:(struct _NSRect)fp8 isVisibleRect:(BOOL)fp24 rectIsVisibleRectForView:(id)fp28;
- (void)_propagateDirtyRectsToOpaqueAncestors;
- (BOOL)mouseDownCanMoveWindow;
- (void *)_regionForOpaqueDescendants:(struct _NSRect)fp8 forMove:(BOOL)fp24;
- (void)setNeedsDisplayInRect:(struct _NSRect)fp8;
- (void)setNeedsDisplay:(BOOL)fp8;
- (void)displayIfNeeded;
- (void)display;
- (void)displayIfNeededInRect:(struct _NSRect)fp8;
- (void)displayRect:(struct _NSRect)fp8;
- (void)displayIfNeededIgnoringOpacity;
- (void)displayIgnoringOpacity;
- (void)displayIfNeededInRectIgnoringOpacity:(struct _NSRect)fp8;
- (void)displayRectIgnoringOpacity:(struct _NSRect)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (void)getRectsBeingDrawn:(const struct _NSRect **)fp8 count:(int *)fp12;
- (BOOL)needsToDrawRect:(struct _NSRect)fp8;
- (BOOL)wantsDefaultClipping;
- (float)backgroundGray;
- (void)scrollPoint:(const struct _NSPoint *)fp8 fromView:(id)fp12;
- (void)_scrollPoint:(const struct _NSPoint *)fp8 fromView:(id)fp12;
- (void)scrollPoint:(struct _NSPoint)fp8;
- (BOOL)scrollRectToVisible:(const struct _NSRect *)fp8 fromView:(id)fp12;
- (BOOL)_scrollRectToVisible:(const struct _NSRect *)fp8 fromView:(id)fp12;
- (BOOL)scrollRectToVisible:(struct _NSRect)fp8;
- (BOOL)autoscroll:(id)fp8;
- (struct _NSRect)adjustScroll:(struct _NSRect)fp8;
- (void)invalidate:(struct _NSRect)fp8;
- (void)scrollRect:(struct _NSRect)fp8 by:(struct _NSSize)fp24;
- (id)hitTest:(struct _NSPoint)fp8;
- (BOOL)mouse:(struct _NSPoint)fp8 inRect:(struct _NSRect)fp16;
- (id)viewWithTag:(int)fp8;
- (int)tag;
- (id)_recursiveFindDefaultButtonCell;
- (BOOL)performKeyEquivalent:(id)fp8;
- (BOOL)needsPanelToBecomeKey;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (BOOL)shouldDelayWindowOrderingForEvent:(id)fp8;
- (BOOL)shouldBeTreatedAsInkEvent:(id)fp8;
- (BOOL)_shouldBeTreatedAsInkEventInInactiveWindow:(id)fp8;
- (void)addCursorRect:(struct _NSRect)fp8 cursor:(id)fp24;
- (void)removeCursorRect:(struct _NSRect)fp8 cursor:(id)fp24;
- (void)discardCursorRects;
- (void)resetCursorRects;
- (id)_resetCursorRects;
- (int)addTrackingRect:(struct _NSRect)fp8 owner:(id)fp24 userData:(void *)fp28 assumeInside:(BOOL)fp32;
- (void)removeTrackingRect:(int)fp8;
- (BOOL)shouldDrawColor;
- (id)enclosingScrollView;
- (void)_postBoundsChangeNotification;
- (void)setPostsBoundsChangedNotifications:(BOOL)fp8;
- (BOOL)postsBoundsChangedNotifications;
- (int)compareGeometry:(id)fp8;
- (void)_primitiveSetDefaultNextKeyView:(id)fp8;
- (id)_recursiveSetDefaultKeyViewLoop;
- (void)_setDefaultKeyViewLoop;
- (void)_recursiveEnsureSubviewNextKeyViewsAreSubviewsOf:(id)fp8;
- (void)_ensureSubviewNextKeyViewsAreSubviews;
- (id)_editingFirstResponderIfIsASubview;
- (id)_findLastViewInKeyViewLoopStartingAtView:(id)fp8;
- (id)_findLastViewInKeyViewLoop;
- (void)_prepareForDefaultKeyLoopComputation;
- (void)_concludeDefaultKeyLoopComputation;
- (BOOL)_isAncestorOfViewIdenticalTo:(void *)fp8;
- (BOOL)_isAncestorOf:(id)fp8;
- (BOOL)performMnemonic:(id)fp8;
- (void)_primitiveSetPreviousKeyView:(id)fp8;
- (void)_primitiveSetNextKeyView:(id)fp8;
- (void)setNextKeyView:(id)fp8;
- (id)nextKeyView;
- (id)previousKeyView;
- (void)_removeNextPointersToMe;
- (void)_removePreviousPointersToMe;
- (void)_removeFromKeyViewLoop;
- (void)_recursiveBreakKeyViewLoop;
- (id)nextValidKeyView;
- (id)previousValidKeyView;
- (BOOL)canBecomeKeyView;
- (void)setToolTip:(id)fp8;
- (id)toolTip;
- (int)addToolTipRect:(struct _NSRect)fp8 owner:(id)fp24 userData:(void *)fp28;
- (void)removeToolTip:(int)fp8;
- (void)removeAllToolTips;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)interpretKeyEvents:(id)fp8;
- (void)setMenu:(id)fp8;
- (id)menu;
- (id)menuForEvent:(id)fp8;
- (void)rightMouseDown:(id)fp8;
- (id)_contextMenuTargetForEvent:(id)fp8;
- (void)helpRequested:(id)fp8;
- (void)_windowChangedKeyState;
- (BOOL)_wantsHeartBeat;
- (void)heartBeat:(CDAnonymousStruct10 *)fp8;
- (BOOL)wantsDoubleBuffering;
- (BOOL)_shouldAutoscrollForDraggingInfo:(id)fp8;
- (void)_autoscrollForDraggingInfo:(id)fp8 timeDelta:(double)fp12;
- (void)_recomputeClipTipsIfNecessary;
- (id)_highlightColorForCell:(id)fp8;
- (id)inputContext;

@end

@interface _NSViewGState : NSObject
{
NSGraphicsContext *_graphicsContext;
struct CGGState *_state;
BOOL _isInvalid;
}

- (id)initWithGraphicsContext:(id)fp8;
- (void)dealloc;

@end

@interface NSView (NSPrivateIBSupport)
+ (void)_setHiddenViewsTint:(id)fp8;
+ (id)_hiddenViewsTint;
- (BOOL)_drawsWithTintWhenHidden;
- (void)_setDrawsWithTintWhenHidden:(BOOL)fp8;
@end

@interface NSView (NSInternal)
- (void)_allocAuxiliary:(BOOL)fp8;
- (id)_subviewsExcludingHiddenViews;
- (void)_recursiveDisableTrackingRectsForHiddenViews;
- (void)_recursiveEnableTrackingRectsForNonHiddenViews;
- (void)_recursiveOrderOutSurfacesForHiddenViews;
- (void)_recursiveOrderFrontSurfacesForNonHiddenViews;
- (int)_addTrackingRect:(struct _NSRect)fp8 owner:(id)fp24 userData:(void *)fp28 assumeInside:(BOOL)fp32 useTrackingNum:(int)fp36;
- (BOOL)_reallyNeedsDisplayForBounds;
- (void)_getDirtyRects:(struct _NSRect **)fp8 clippedToRect:(struct _NSRect)fp12 count:(int *)fp28 boundingBox:(struct _NSRect *)fp32;
- (int)_effectiveFocusRingType;
- (id)_dirtyRegion;
- (void)_setImpactsWindowMoving:(BOOL)fp8;
- (BOOL)_impactsWindowMoving;
- (struct _NSRect)_opaqueRect;
- (void)_compositeHiddenViewHighlight;
@end

@interface NSView (NSView_QuickDraw)
- (BOOL)_usesQuickdraw;
- (void)_setUsesQuickdraw:(BOOL)fp8;
- (struct Rect)_convertToQDRect:(struct _NSRect)fp8;
- (struct _NSRect)_convertToNSRect:(struct Rect)fp8;
@end

@interface NSView (NSSurface)
- (void)_setSurface:(id)fp8;
- (id)_surface;
- (struct _NSRect)_surfaceBounds;
@end

@interface NSView (NSImageCacheViewCompatibility)
- (BOOL)lockFocusIfCanDrawInFrame:(struct _NSRect)fp8 flipped:(BOOL)fp24 clip:(BOOL)fp28;
@end

@interface NSView (NSViewAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (BOOL)accessibilityIsRoleAttributeSettable;
- (id)accessibilityRoleDescriptionAttribute;
- (BOOL)accessibilityIsRoleDescriptionAttributeSettable;
- (id)accessibilityHelpAttribute;
- (BOOL)accessibilityIsHelpAttributeSettable;
- (id)accessibilityParentAttribute;
- (BOOL)accessibilityIsParentAttributeSettable;
- (id)accessibilityFocusedAttribute;
- (BOOL)accessibilityIsFocusedAttributeSettable;
- (void)accessibilitySetFocusedAttribute:(id)fp8;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsChildrenAttributeSettable;
- (id)accessibilityWindowAttribute;
- (BOOL)accessibilityIsWindowAttributeSettable;
- (id)accessibilityPositionAttribute;
- (BOOL)accessibilityIsPositionAttributeSettable;
- (id)accessibilitySizeAttribute;
- (BOOL)accessibilityIsSizeAttributeSettable;
- (id)accessibilityAttributeValue:(id)fp8;
- (BOOL)accessibilityIsAttributeSettable:(id)fp8;
- (void)accessibilitySetValue:(id)fp8 forAttribute:(id)fp12;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (BOOL)accessibilityIsIgnored;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
- (BOOL)accessibilityShouldUseUniqueId;
@end

@interface NSViewHierarchyLock : NSObject
{
void *_priv;
}

+ (void)initialize;
+ (id)allocWithZone:(struct _NSZone *)fp8;
- (id)init;
- (void)dealloc;
- (void)lockForReadingWithExceptionHandler:(BOOL)fp8;
- (void)lockForReading;
- (void)lockForWriting;
- (void)lock;
- (void)unlock;
- (void)unlockTopMostReader;
- (id)description;

@end

@interface NSViewTemplate : NSView
{
NSString *_className;
}

+ (void)initialize;
- (id)retain;
- (void)release;
- (unsigned int)retainCount;
- (id)initWithView:(id)fp8 className:(id)fp12;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (id)className;
- (void)setClassName:(id)fp8;
- (id)createRealObject;
- (id)awakeAfterUsingCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSMoveHelper : NSObject
{
struct __CFRunLoopTimer *_moveTimer;
struct __CFRunLoop *_runLoop;
double _startTime;
double _totalTime;
float _percent;
void *_effect;
NSWindow *_window;
NSWindow *_sheet;
struct _NSRect _frameDelta;
struct _NSRect _startFrame;
struct _NSPoint _sheetOrigin;
struct _NSRect _sheetDelta;
struct _NSRect _sheetStartFrame;
float _screenMaxY;
float _sheetHeight;
int _flavor;
BOOL _done;
BOOL _displayFlag;
float _sheetEffectLeft;
float _sheetEffectRight;
}

+ (float)_windowAnimationVelocity;
- (id)init;
- (void *)_effect;
- (void)_releaseEffect;
- (void)dealloc;
- (void)_resizeWindow:(id)fp8 toFrame:(struct _NSRect)fp12 display:(BOOL)fp28;
- (void)_doAnimation;
- (void)_stopAnimation;

@end

@interface NSWindow : NSResponder
{
struct _NSRect _frame;
id _contentView;
id _delegate;
NSResponder *_firstResponder;
NSView *_lastLeftHit;
NSView *_lastRightHit;
id _counterpart;
id _fieldEditor;
int _winEventMask;
int _windowNum;
int _level;
NSColor *_backgroundColor;
id _borderView;
unsigned char _postingDisabled;
unsigned char _styleMask;
unsigned char _flushDisabled;
unsigned char _reservedWindow1;
void *_cursorRects;
void *_trectTable;
NSImage *_miniIcon;
int _lastResizeTime;
NSMutableSet *_dragTypes;
NSString *_representedFilename;
struct _NSSize *_sizeLimits;
NSString *_frameSaveName;
NSSet *_regDragTypes;
struct __wFlags _wFlags;
id _defaultButtonCell;
NSView *_initialFirstResponder;
struct NSWindowAuxiliary *_auxiliaryStorage;
}

+ (void)initialize;
+ (unsigned int)_validateStyleMask:(unsigned int)fp8;
+ (Class)frameViewClassForStyleMask:(unsigned int)fp8;
+ (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
+ (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
+ (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
+ (struct _NSSize)minContentSizeForMinFrameSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
+ (float)minFrameWidthWithTitle:(id)fp8 styleMask:(unsigned int)fp12;
+ (id)standardWindowButton:(int)fp8 forStyleMask:(unsigned int)fp12;
+ (int)defaultDepthLimit;
+ (void)_minimizeAll;
+ (void)_setAutoreleaseDuringLiveResize:(BOOL)fp8;
+ (BOOL)_autoreleaseDuringLiveResize;
+ (void)_removeFrameUsingName:(id)fp8 domain:(id)fp12;
+ (void)removeFrameUsingName:(id)fp8;
+ (void)_createMenuMapLock;
+ (void)menuChanged:(id)fp8;
+ (id)_windowsForMenu:(id)fp8;
- (void)_fromScreenCommonCode:(id)fp8;
- (void)_setWantsToBeOnMainScreen:(BOOL)fp8;
- (id)_initContent:(const struct _NSRect *)fp8 styleMask:(unsigned int)fp12 backing:(int)fp16 defer:(BOOL)fp20 screen:(id)fp24 contentView:(id)fp28;
- (void)_commonInitFrame:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 backing:(int)fp28 defer:(BOOL)fp32;
- (void)_setUtilityWindow:(BOOL)fp8;
- (BOOL)_isUtilityWindow;
- (void)_setNonactivatingPanel:(BOOL)fp8;
- (BOOL)_isNonactivatingPanel;
- (id)_initContent:(const struct _NSRect *)fp8 styleMask:(unsigned int)fp12 backing:(int)fp16 defer:(BOOL)fp20 contentView:(id)fp24;
- (id)_initContent:(const struct _NSRect *)fp8 styleMask:(unsigned int)fp12 backing:(int)fp16 defer:(BOOL)fp20 counterpart:(id)fp24;
- (id)initWithContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 backing:(int)fp28 defer:(BOOL)fp32 screen:(id)fp36;
- (id)initWithContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 backing:(int)fp28 defer:(BOOL)fp32;
- (id)init;
- (id)_initFromGlobalWindow:(int)fp8 inRect:(const struct _NSRect *)fp12 styleMask:(unsigned int)fp16;
- (id)_initFromGlobalWindow:(int)fp8 inRect:(const struct _NSRect *)fp12;
- (void)_finishedMakingConnections;
- (void)_setTexturedBackground:(BOOL)fp8;
- (BOOL)_hasMetalSheetEffect;
- (struct _NSRect)_pointRectInPixels:(struct _NSRect)fp8;
- (struct _NSRect)_pixelRectInPoints:(struct _NSRect)fp8;
- (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
- (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8;
- (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
- (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8;
- (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
- (BOOL)_windowDying;
- (void)_cancelPerformSelectors;
- (void)dealloc;
- (void)release;
- (id)windowController;
- (void)setWindowController:(id)fp8;
- (id)_getUndoManager:(BOOL)fp8;
- (id)undoManager;
- (void)undo:(id)fp8;
- (void)redo:(id)fp8;
- (BOOL)_wantToBeModal;
- (void)_setShowingModalFrame:(BOOL)fp8;
- (void)_setWindowNumber:(int)fp8;
- (id)_viewDetaching:(id)fp8;
- (id)_viewFreeing:(id)fp8;
- (void)_setEventMask:(int)fp8;
- (void)_setWindowTag;
- (void)_commonAwake;
- (void)setBackingType:(int)fp8;
- (int)backingType;
- (int)_backingType;
- (void)setExcludedFromWindowsMenu:(BOOL)fp8;
- (BOOL)isExcludedFromWindowsMenu;
- (BOOL)_titleIsRepresentedFilename;
- (id)_displayName;
- (id)title;
- (void)setTitle:(id)fp8;
- (id)representedFilename;
- (void)_setRepresentedFilename:(id)fp8;
- (void)setRepresentedFilename:(id)fp8;
- (void)setTitleWithRepresentedFilename:(id)fp8;
- (void)_dosetTitle:(id)fp8 andDefeatWrap:(BOOL)fp12;
- (id)_calcAndSetFilenameTitle;
- (void)setContentView:(id)fp8;
- (id)contentView;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)addDocumentIconButton;
- (id)standardWindowButton:(int)fp8;
- (int)windowNumber;
- (int)_realWindowNumber;
- (void *)_auxStorage;
- (int)_globalWindowNum;
- (int)_cachedGlobalWindowNum;
- (void)_lockViewHierarchyForModification;
- (void)_unlockViewHierarchyForModification;
- (void)_lockViewHierarchyForDrawing;
- (void)_lockViewHierarchyForDrawingWithExceptionHandler:(BOOL)fp8;
- (void)_unlockViewHierarchyForDrawing;
- (id)fieldEditor:(BOOL)fp8 forObject:(id)fp12;
- (void)endEditingFor:(id)fp8;
- (void)_setBindingAdaptor:(id)fp8;
- (id)_bindingAdaptor;
- (BOOL)_isDraggable;
- (struct _NSRect)dragRectForFrameRect:(struct _NSRect)fp8;
- (void)_oldPlaceWindow:(struct _NSRect)fp8;
- (void)_setFrameCommon:(struct _NSRect)fp8 display:(BOOL)fp24 stashSize:(BOOL)fp28;
- (double)animationResizeTime:(struct _NSRect)fp8;
- (void)setFrame:(struct _NSRect)fp8 display:(BOOL)fp24 animate:(BOOL)fp28;
- (void)setFrame:(struct _NSRect)fp8 display:(BOOL)fp24;
- (void)setContentSize:(struct _NSSize)fp8;
- (void)_setContentRect:(struct _NSRect)fp8;
- (void)setFrameOrigin:(struct _NSPoint)fp8;
- (void)setFrameTopLeftPoint:(struct _NSPoint)fp8;
- (void)_setLocationTemporary:(BOOL)fp8;
- (BOOL)_locationTemporary;
- (void)_setFrame:(struct _NSRect)fp8;
- (struct _NSRect)frame;
- (void)setResizeIncrements:(struct _NSSize)fp8;
- (struct _NSSize)resizeIncrements;
- (void)setAspectRatio:(struct _NSSize)fp8;
- (struct _NSSize)aspectRatio;
- (void)setContentResizeIncrements:(struct _NSSize)fp8;
- (struct _NSSize)contentResizeIncrements;
- (void)setContentAspectRatio:(struct _NSSize)fp8;
- (struct _NSSize)contentAspectRatio;
- (struct _NSPoint)mouseLocationOutsideOfEventStream;
- (BOOL)_isDocWindow;
- (unsigned int)styleMask;
- (id)_resetDisableCounts;
- (void)disableFlushWindow;
- (void)enableFlushWindow;
- (BOOL)isFlushWindowDisabled;
- (void)flushWindow;
- (void)flushWindowIfNeeded;
- (void)_forceFlushWindowToScreen;
- (void)_postWindowNeedsDisplay;
- (id)_resetPostingCounts;
- (void)_disablePosting;
- (void)_enablePosting;
- (BOOL)_postingDisabled;
- (void)_setNeedsDisplay:(id)fp8;
- (void)setViewsNeedDisplay:(BOOL)fp8;
- (BOOL)viewsNeedDisplay;
- (void)displayIfNeeded;
- (BOOL)_canOptimizeDrawing;
- (BOOL)_isImageCache;
- (void)useOptimizedDrawing:(BOOL)fp8;
- (void)display;
- (void)setAutodisplay:(BOOL)fp8;
- (BOOL)isAutodisplay;
- (void)update;
- (id)_borderView;
- (void)_setTrackingRects;
- (void)_clearTrackingRects;
- (void)_activateTrackingRectsForApplicationActivation;
- (void)_deactivateTrackingRectsForApplicationDeactivation;
- (int)_setTrackingRect:(struct _NSRect)fp8 inside:(BOOL)fp24 owner:(id)fp28 userData:(void *)fp32 useTrackingNum:(int)fp36;
- (int)_setTrackingRect:(struct _NSRect)fp8 inside:(BOOL)fp24 owner:(id)fp28 userData:(void *)fp32;
- (void)_discardTrackingRect:(int)fp8;
- (void)_disableTrackingRect:(int)fp8;
- (void)_enableTrackingRect:(int)fp8;
- (void)_lockFirstResponder;
- (void)_unlockFirstResponder;
- (BOOL)makeFirstResponder:(id)fp8;
- (id)_newFirstResponderAfterResigning;
- (id)_oldFirstResponderBeforeBecoming;
- (id)firstResponder;
- (id)nextEventMatchingMask:(unsigned int)fp8;
- (id)nextEventMatchingMask:(unsigned int)fp8 untilDate:(id)fp12 inMode:(id)fp16 dequeue:(BOOL)fp20;
- (id)currentEvent;
- (void)setAcceptsMouseMovedEvents:(BOOL)fp8;
- (BOOL)acceptsMouseMovedEvents;
- (void)setIgnoresMouseEvents:(BOOL)fp8;
- (BOOL)ignoresMouseEvents;
- (void)discardEventsMatchingMask:(unsigned int)fp8 beforeEvent:(id)fp12;
- (void)postEvent:(id)fp8 atStart:(BOOL)fp12;
- (SEL)_keyboardUIActionForEvent:(id)fp8;
- (void)_cycleWindows:(id)fp8;
- (void)_cycleWindowsBackwards:(id)fp8;
- (void)_cycleDrawers:(id)fp8;
- (void)_cycleDrawersBackwards:(id)fp8;
- (void)_cancelKey:(id)fp8;
- (void)cancelOperation:(id)fp8;
- (void)selectKeyViewFollowingView:(id)fp8;
- (void)selectKeyViewPrecedingView:(id)fp8;
- (void)selectNextKeyView:(id)fp8;
- (void)selectPreviousKeyView:(id)fp8;
- (void)_selectFirstKeyView;
- (int)keyViewSelectionDirection;
- (void)_setKeyViewSelectionDirection:(int)fp8;
- (void)_setFallBackInitialFirstResponder:(id)fp8;
- (void)setInitialFirstResponder:(id)fp8;
- (id)initialFirstResponder;
- (void)setKeyView:(id)fp8;
- (BOOL)_processKeyboardUIKey:(id)fp8;
- (BOOL)performMnemonic:(id)fp8;
- (void)_verifyDefaultButtonCell;
- (void)setDefaultButtonCell:(id)fp8;
- (void)_setDefaultButtonCell:(id)fp8;
- (id)defaultButtonCell;
- (void)_disableEnablingKeyEquivalentForDefaultButtonCell;
- (void)_enableEnablingKeyEquivalentForDefaultButtonCell;
- (void)disableKeyEquivalentForDefaultButtonCell;
- (void)enableKeyEquivalentForDefaultButtonCell;
- (void)_drawKeyboardUIIndicationForView:(id)fp8 debuggingIndex:(id)fp12;
- (void)_drawKeyboardUILoopStartingAtResponder:(id)fp8 validOnly:(BOOL)fp12;
- (BOOL)_selectAnyValidResponderOverride;
- (void)_clearAnyValidResponderOverride;
- (void)_toggleSelectAnyValidResponderOverride;
- (void)_performToggleToolbarShown:(id)fp8;
- (void)showToolbar:(id)fp8;
- (void)hideToolbar:(id)fp8;
- (void)toggleToolbarShown:(id)fp8;
- (void)runToolbarConfigurationPalette:(id)fp8;
- (void)runToolbarCustomizationPalette:(id)fp8;
- (void)changeToolbarDisplayMode:(id)fp8;
- (void)toggleUsingSmallToolbarIcons:(id)fp8;
- (void)_toggleToolbarConfigPanel:(id)fp8;
- (void)_setNextToolbarSizeAndDisplayMode:(id)fp8;
- (void)_setPreviousToolbarSizeAndDisplayMode:(id)fp8;
- (void)_setNextToolbarDisplayMode:(id)fp8;
- (void)_setNextToolbarSizeMode:(id)fp8;
- (BOOL)_toolbarButtonIsClickable;
- (void)_toolbarPillButtonClicked:(id)fp8;
- (id)_toolbarView;
- (BOOL)_toolbarIsShown;
- (void)setToolbar:(id)fp8;
- (id)toolbar;
- (BOOL)_hasToolbar;
- (void)_showToolbar:(id)fp8 animate:(BOOL)fp12;
- (void)_hideToolbar:(id)fp8 animate:(BOOL)fp12;
- (void)_toolbarFrameSizeChanged:(id)fp8 oldSize:(struct _NSSize)fp12;
- (void)_setResizeWeighting:(int)fp8;
- (int)_resizeWeighting;
- (BOOL)shouldBeTreatedAsInkEvent:(id)fp8;
- (BOOL)wantsScrollWheelEvent:(id)fp8;
- (void)sendEvent:(id)fp8;
- (id)_lastLeftHit;
- (id)_lastRightHit;
- (void)_windowExposed:(id)fp8;
- (void)_setNeedsZoom:(id)fp8;
- (void)_screenChanged:(id)fp8;
- (void)_setFrameAfterMove:(struct _NSRect)fp8;
- (void)_windowMovedToRect:(struct _NSRect)fp8;
- (void)_setAutoPositionMask:(unsigned int)fp8;
- (unsigned int)_autoPositionMask;
- (void)_adjustWindowToScreen;
- (id)_displayChanged;
- (id)_getPositionFromServer;
- (void)_windowMoved:(id)fp8;
- (void)_windowMovedToPoint:(struct _NSPoint)fp8;
- (void)resizeToScreenWithEvent:(id)fp8;
- (void)_hideMenu:(id)fp8;
- (int)resizeFlags;
- (void)makeKeyWindow;
- (void)makeMainWindow;
- (void)becomeKeyWindow;
- (void)resignKeyWindow;
- (void)_resignKeyFocus;
- (BOOL)_isKeyWindowIgnoringFocus;
- (void)becomeMainWindow;
- (void)resignMainWindow;
- (void)_frameDidDrawTitle;
- (void)_setTitleNeedsDisplay;
- (void)_setFrameNeedsDisplay:(BOOL)fp8;
- (void)rightMouseDown:(id)fp8;
- (BOOL)performKeyEquivalent:(id)fp8;
- (void)keyDown:(id)fp8;
- (void)_close;
- (void)close;
- (void)setReleasedWhenClosed:(BOOL)fp8;
- (BOOL)isReleasedWhenClosed;
- (BOOL)isMiniaturized;
- (void)miniaturize:(id)fp8;
- (void)deminiaturize:(id)fp8;
- (id)_counterpart;
- (struct _NSRect)_standardFrame;
- (BOOL)isZoomed;
- (void)zoom:(id)fp8;
- (BOOL)tryToPerform:(SEL)fp8 with:(id)fp12;
- (id)validRequestorForSendType:(id)fp8 returnType:(id)fp12;
- (id)_setCounterpart:(id)fp8;
- (id)_getCounterpart;
- (BOOL)_hasGradientBackground;
- (id)_gradientImage;
- (id)_textureImage;
- (id)_texturePattern;
- (BOOL)_scalesBackgroundHorizontally;
- (BOOL)_scalesBackgroundVertically;
- (BOOL)_hasScaledBackground;
- (id)_generateScaledBackground;
- (void)_invalidateScaledBackground;
- (id)_scaledBackground;
- (void)_invalidateCompositedBackground;
- (id)_generateCompositedBackground;
- (id)_compositedBackground;
- (BOOL)_hasBackgroundColor;
- (void)setBackgroundColor:(id)fp8;
- (id)backgroundColor;
- (void)setMovableByWindowBackground:(BOOL)fp8;
- (BOOL)isMovableByWindowBackground;
- (void)setHidesOnDeactivate:(BOOL)fp8;
- (BOOL)hidesOnDeactivate;
- (void)setDynamicDepthLimit:(BOOL)fp8;
- (BOOL)hasDynamicDepthLimit;
- (void)setDepthLimit:(int)fp8;
- (int)depthLimit;
- (void)_setWindowDepth:(int)fp8;
- (int)_windowDepth;
- (id)_adjustDynamicDepthLimit;
- (void)center;
- (BOOL)becomesKeyOnlyIfNeeded;
- (void)makeKeyAndOrderFront:(id)fp8;
- (BOOL)_toggleOrderedFrontMostWillOrderOut;
- (void)_toggleOrderedFrontMost:(id)fp8;
- (id)_specialServicesMenuUpdate;
- (void)orderFront:(id)fp8;
- (void)orderBack:(id)fp8;
- (void)orderOut:(id)fp8;
- (void)orderFrontRegardless;
- (void)_justOrderOut;
- (void)orderWindow:(int)fp8 relativeTo:(int)fp12;
- (void)_doOrderWindow:(int)fp8 relativeTo:(int)fp12 findKey:(BOOL)fp16;
- (void)_doOrderWindow:(int)fp8 relativeTo:(int)fp12 findKey:(BOOL)fp16 forCounter:(BOOL)fp20 force:(BOOL)fp24;
- (void)_orderOutAndCalcKeyWithCounter:(BOOL)fp8;
- (void)_reallyDoOrderWindow:(int)fp8 relativeTo:(int)fp12 findKey:(BOOL)fp16 forCounter:(BOOL)fp20 force:(BOOL)fp24 isModal:(BOOL)fp28;
- (void)_doOrderWindow:(int)fp8 relativeTo:(int)fp12 findKey:(BOOL)fp16 forCounter:(BOOL)fp20 force:(BOOL)fp24 isModal:(BOOL)fp28;
- (BOOL)_wantsToDestroyRealWindow;
- (void)_setWantsToDestroyRealWindow:(BOOL)fp8;
- (id)_destroyRealWindow:(BOOL)fp8;
- (id)_destroyRealWindowIfNotVisible:(id)fp8;
- (int)level;
- (void)setLevel:(int)fp8;
- (id)_clearModalWindowLevel;
- (void)_setModalWindowLevel;
- (id)_restoreModalWindowLevel;
- (void)setCanCycle:(BOOL)fp8;
- (BOOL)canCycle;
- (void)setCanHide:(BOOL)fp8;
- (BOOL)canHide;
- (id)_tempHideHODWindow;
- (id)_tempUnhideHODWindow;
- (id)_hideHODWindow;
- (id)_unhideHODWindow;
- (id)_tempHide:(BOOL)fp8 relWin:(int)fp12;
- (BOOL)_wantsHideOnDeactivate;
- (void)_setWantsHideOnDeactivate:(BOOL)fp8;
- (void)setMiniwindowImage:(id)fp8;
- (void)_setMiniImageInDock;
- (void)setMiniwindowTitle:(id)fp8;
- (id)miniwindowImage;
- (id)miniwindowTitle;
- (id)_makeMiniView;
- (void)_setDocumentEdited:(BOOL)fp8;
- (void)setDocumentEdited:(BOOL)fp8;
- (BOOL)isDocumentEdited;
- (BOOL)isVisible;
- (void)_setVisible:(BOOL)fp8;
- (BOOL)isKeyWindow;
- (BOOL)_isKeyWindow;
- (BOOL)isMainWindow;
- (BOOL)canBecomeKeyWindow;
- (BOOL)canBecomeMainWindow;
- (BOOL)worksWhenModal;
- (BOOL)_blocksActionWhenModal:(SEL)fp8;
- (BOOL)_miniaturizedOrCanBecomeMain;
- (BOOL)_visibleAndCanBecomeKey;
- (BOOL)_visibleAndCanBecomeKeyLimitedOK:(BOOL)fp8;
- (struct _NSPoint)convertBaseToScreen:(struct _NSPoint)fp8;
- (struct _NSPoint)convertScreenToBase:(struct _NSPoint)fp8;
- (void)_close:(id)fp8;
- (void)_document:(id)fp8 shouldClose:(BOOL)fp12 contextInfo:(void *)fp16;
- (void)performClose:(id)fp8;
- (void)performMiniaturize:(id)fp8;
- (void)performZoom:(id)fp8;
- (id)_batchClose;
- (id)_batchZoom;
- (int)gState;
- (void)setOneShot:(BOOL)fp8;
- (id)_setOneShotIsDelayed:(BOOL)fp8;
- (BOOL)isOneShot;
- (void)_setAvoidsActivation:(BOOL)fp8;
- (BOOL)_avoidsActivation;
- (void)_setPreventsActivation:(BOOL)fp8;
- (BOOL)_preventsActivation;
- (void)_changeJustMain;
- (void)_changeKeyAndMainLimitedOK:(BOOL)fp8;
- (void)_win32ChangeKeyAndMain;
- (id)_wsmIconInitFor:(int)fp8;
- (BOOL)_wsmOwnsWindow;
- (id)dataWithEPSInsideRect:(struct _NSRect)fp8;
- (id)dataWithPDFInsideRect:(struct _NSRect)fp8;
- (void)print:(id)fp8;
- (BOOL)_showToolTip;
- (void)setAllowsToolTipsWhenApplicationIsInactive:(BOOL)fp8;
- (BOOL)allowsToolTipsWhenApplicationIsInactive;
- (BOOL)_addCursorRect:(struct _NSRect)fp8 cursor:(id)fp24 forView:(id)fp28;
- (BOOL)_removeCursorRect:(struct _NSRect)fp8 cursor:(id)fp24 forView:(id)fp28;
- (BOOL)_hasCursorRectsForView:(id)fp8;
- (void)GDBDumpCursorRects;
- (BOOL)_inLiveResize;
- (void)_setLiveResizeImageCacheingEnabled:(BOOL)fp8;
- (BOOL)_liveResizeImageCacheingEnabled;
- (void)_startLiveResize;
- (void)_endLiveResize;
- (void)_pauseUIHeartBeatingInView:(id)fp8;
- (void)_resumeUIHeartBeatingInView:(id)fp8;
- (BOOL)_hasCursorRects;
- (void)disableCursorRects;
- (void)enableCursorRects;
- (BOOL)areCursorRectsEnabled;
- (void)discardCursorRects;
- (void)_postInvalidCursorRects;
- (void)_disableCellClipTipCreation;
- (void)_enableCellClipTipCreation;
- (BOOL)_isCellClipTipCreationEnabled;
- (void)_invalidateCellClipTipsForView:(id)fp8;
- (void)_invalidateCursorRectsForView:(id)fp8 force:(BOOL)fp12;
- (void)invalidateCursorRectsForView:(id)fp8;
- (void)resetCursorRects;
- (id)_discardCursorRectsForView:(id)fp8;
- (void)_markCursorRectsForRemovedView:(id)fp8;
- (void)_deallocCursorRects;
- (void)cacheImageInRect:(struct _NSRect)fp8;
- (void)restoreCachedImage;
- (void)discardCachedImage;
- (id)_stringWithSavedFrame;
- (void)_saveFrameUsingName:(id)fp8 domain:(id)fp12;
- (void)saveFrameUsingName:(id)fp8;
- (id)stringWithSavedFrame;
- (struct _NSRect)_adjustedFrameFromDefaults:(struct _NSRect)fp8;
- (struct _NSRect)_adjustedFrameForSaving:(struct _NSRect)fp8;
- (BOOL)_setFrameFromString:(id)fp8 force:(BOOL)fp12;
- (BOOL)_setFrameUsingName:(id)fp8 domain:(id)fp12 force:(BOOL)fp16;
- (BOOL)_setFrameUsingName:(id)fp8 domain:(id)fp12;
- (void)setFrameFromString:(id)fp8;
- (BOOL)setFrameUsingName:(id)fp8;
- (BOOL)setFrameUsingName:(id)fp8 force:(BOOL)fp12;
- (BOOL)_setFrameAutosaveName:(id)fp8 changeFrame:(BOOL)fp12;
- (BOOL)setFrameAutosaveName:(id)fp8;
- (id)frameAutosaveName;
- (id)_toggleFrameAutosaveEnabled:(id)fp8;
- (void)_setFrameSavedUsingTitle:(BOOL)fp8;
- (BOOL)canStoreColor;
- (id)deepestScreen;
- (id)deviceDescription;
- (id)screen;
- (void)setHasShadow:(BOOL)fp8;
- (BOOL)hasShadow;
- (void)invalidateShadow;
- (struct _NSRect)constrainFrameRect:(struct _NSRect)fp8 toScreen:(id)fp24;
- (void)_validSize:(struct _NSSize *)fp8 force:(BOOL)fp12;
- (BOOL)_confirmSize:(struct _NSSize *)fp8 force:(BOOL)fp12;
- (void)setMinSize:(struct _NSSize)fp8;
- (void)setMaxSize:(struct _NSSize)fp8;
- (struct _NSSize)minSize;
- (struct _NSSize)maxSize;
- (void)setContentMinSize:(struct _NSSize)fp8;
- (void)setContentMaxSize:(struct _NSSize)fp8;
- (struct _NSSize)contentMinSize;
- (struct _NSSize)contentMaxSize;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (struct _NSPoint)cascadeTopLeftFromPoint:(struct _NSPoint)fp8;
- (void)_setOwnsRealWindow:(BOOL)fp8;
- (BOOL)_doesOwnRealWindow;
- (void)_termOneShotWindow;
- (void)_termWindowIfOwner;
- (BOOL)_isTerminating;
- (void)_setWin32MouseActivationInProgress:(BOOL)fp8;
- (void)doCommandBySelector:(SEL)fp8;
- (void)setMenu:(id)fp8;
- (id)menu;
- (void)_takeApplicationMenuIfNeeded:(id)fp8;
- (BOOL)validateUserInterfaceItem:(id)fp8;
- (BOOL)validateMenuItem:(id)fp8;
- (void)helpRequested:(id)fp8;
- (BOOL)_makingFirstResponderForMouseDown;
- (id)_realHeartBeatThreadContext;
- (id)_heartBeatBufferWindow;
- (void)_setDrawingToHeartBeatWindow:(BOOL)fp8;
- (BOOL)_isDrawingToHeartBeatWindow;
- (void)_setNeedsToUseHeartBeatWindow:(BOOL)fp8;
- (BOOL)_needsToUseHeartBeatWindow;
- (void)_blockHeartBeat:(BOOL)fp8;
- (id)_threadContext;
- (void *)graphicsPort;
- (void)_windowDeviceRound;
- (void)_setWindowContextForCurrentThread:(id)fp8;
- (void)setAutofill:(BOOL)fp8;
- (BOOL)autofill;
- (void)setAutofillColor:(id)fp8;
- (id)autofillColor;
- (void)setOpaque:(BOOL)fp8;
- (BOOL)isOpaque;
- (void)setAlphaValue:(float)fp8;
- (float)alphaValue;
- (void)setShowsResizeIndicator:(BOOL)fp8;
- (BOOL)showsResizeIndicator;
- (id)attachedSheet;
- (BOOL)isSheet;
- (void)setBottomCornerRounded:(BOOL)fp8;
- (BOOL)bottomCornerRounded;
- (void)_removeFromGroups:(id)fp8;
- (void)_addToGroups:(id)fp8 ordered:(int)fp12;
- (void)_hideChildren;
- (void)_unhideChildren;
- (void)_setRelativeOrdering:(int)fp8;
- (void)addChildWindow:(id)fp8 ordered:(int)fp12;
- (void)removeChildWindow:(id)fp8;
- (id)childWindows;
- (id)parentWindow;
- (void)setParentWindow:(id)fp8;
- (id)_topmostChild;

@end

@interface NSWindow (NSWindow_Scale)
+ (float)_scaleFactorForStyleMask:(unsigned int)fp8;
- (void)_setScaleFactor:(float)fp8;
- (float)_scaleFactor;
- (struct CGAffineTransform)_baseTransform;
- (struct _NSRect)_scaledIntegralRect:(struct _NSRect)fp8;
@end

@interface NSWindow (NSWindow_Carbon)
- (unsigned long)_carbonWindowClass;
- (struct OpaqueWindowPtr *)_windowRef;
- (BOOL)_hasWindowRef;
- (BOOL)_managesWindowRef;
- (struct OpaqueWindowPtr *)_windowRefCreatedForCarbonApp;
- (struct OpaqueWindowPtr *)_windowRefCreatedForCarbonControl;
- (BOOL)_hasWindowRefCreatedForCarbonControl;
- (void)_removeWindowRef;
@end

@interface NSWindow (NSWindow_Theme)
- (void)_setHasShadow:(BOOL)fp8;
- (BOOL)_hasShadow;
- (BOOL)_hasActiveAppearance;
- (BOOL)_hasKeyAppearance;
- (BOOL)_hasMainAppearance;
- (struct _NSRect)_growBoxRect;
- (void)_setShowOpaqueGrowBoxForOwner:(id)fp8;
- (void)_setShowOpaqueGrowBox:(BOOL)fp8;
- (id)_growBoxOwner;
- (BOOL)_showOpaqueGrowBox;
- (void)_setForceActiveControls:(BOOL)fp8;
- (BOOL)_hasActiveControls;
- (float)_transparency;
- (BOOL)_needsToResetDragMargins;
- (void)_setNeedsToResetDragMargins:(BOOL)fp8;
- (BOOL)_needsToRemoveFieldEditor;
- (void)_setNeedsToRemoveFieldEditor:(BOOL)fp8;
- (BOOL)_registerWithDockIfNeeded;
- (void *)_dockItem;
- (BOOL)_prepareToMinimize;
- (void)_minimizeSucceeded:(BOOL)fp8;
- (BOOL)_minimizeToDock;
- (BOOL)_wantsHeartBeat;
- (void)heartBeat:(CDAnonymousStruct10 *)fp8;
- (void)_addHeartBeatClientView:(id)fp8;
- (void)_removeHeartBeartClientView:(id)fp8;
- (void)guessDockTitle:(id)fp8;
- (BOOL)dockTitleIsGuess;
- (void)cacheMiniwindowTitle:(id)fp8 guess:(BOOL)fp12;
- (unsigned int)_autoResizeState;
- (void)stashSize;
- (id)restoreWindowOnDockDeath;
- (id)restoreWindowOnDockReincarnation;
- (id)showDeminiaturizedWindow;
- (id)_updateFrameWidgets;
- (void)updateInDock;
- (void)_selectWindow:(id)fp8;
- (struct __CFDictionary *)_createWindowsMenuEntryWithTitle:(id)fp8 enabled:(BOOL)fp12;
- (void)_setDefaultButtonPaused:(BOOL)fp8;
- (BOOL)_defaultButtonPaused;
@end

@interface NSWindow (NSCarbonExtensions)
- (id)initWithWindowRef:(void *)fp8;
- (void *)windowRef;
- (void)_hiliteWindow:(struct OpaqueWindowPtr *)fp8 fromWindow:(id)fp12;
@end

@interface NSWindow (NSInputManager)
- (void)_notifyIM:(SEL)fp8 withObject:(id)fp12;
@end

@interface NSAccessibilityWindowGrowBox : NSAccessibilityMockUIElement
{
}

+ (id)growBoxWithParent:(id)fp8;
- (id)accessibilityAttributeNames;

@end

@interface NSPanel (NSPanelAccessibility)
- (id)accessibilitySubroleAttribute;
@end

@interface NSWindow (NSWindowAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilityRoleAttribute;
- (BOOL)accessibilityIsRoleAttributeSettable;
- (id)accessibilityRoleDescriptionAttribute;
- (BOOL)accessibilityIsRoleDescriptionAttributeSettable;
- (BOOL)_accessibilityIsModal;
- (id)accessibilitySubroleAttribute;
- (BOOL)accessibilityIsSubroleAttributeSettable;
- (struct _NSRect)_accessibilityTitleRect;
- (id)_accessibilityTitleCell;
- (id)accessibilityTitleAttribute;
- (BOOL)accessibilityIsTitleAttributeSettable;
- (id)accessibilityFocusedAttribute;
- (BOOL)accessibilityIsFocusedAttributeSettable;
- (id)accessibilityWindowAttribute;
- (BOOL)accessibilityIsWindowAttributeSettable;
- (id)accessibilityParentAttribute;
- (BOOL)accessibilityIsParentAttributeSettable;
- (id)accessibilityPositionAttribute;
- (BOOL)accessibilityIsPositionAttributeSettable;
- (void)accessibilitySetPositionAttribute:(id)fp8;
- (id)accessibilitySizeAttribute;
- (BOOL)accessibilityIsSizeAttributeSettable;
- (void)accessibilitySetSizeAttribute:(id)fp8;
- (id)accessibilityMainAttribute;
- (BOOL)accessibilityIsMainAttributeSettable;
- (void)accessibilitySetMainAttribute:(id)fp8;
- (id)accessibilityMinimizedAttribute;
- (BOOL)accessibilityIsMinimizedAttributeSettable;
- (void)accessibilitySetMinimizedAttribute:(id)fp8;
- (id)accessibilityCloseButtonAttribute;
- (BOOL)accessibilityIsCloseButtonAttributeSettable;
- (id)accessibilityZoomButtonAttribute;
- (BOOL)accessibilityIsZoomButtonAttributeSettable;
- (id)accessibilityMinimizeButtonAttribute;
- (BOOL)accessibilityIsMinimizeButtonAttributeSettable;
- (id)accessibilityToolbarButtonAttribute;
- (BOOL)accessibilityIsToolbarButtonAttributeSettable;
- (id)accessibilityProxyAttribute;
- (BOOL)accessibilityIsProxyAttributeSettable;
- (id)accessibilityTitleUIElementAttribute;
- (BOOL)accessibilityIsTitleUIElementAttributeSettable;
- (struct _NSRect)_accessibilityGrowBoxRect;
- (id)accessibilityGrowAreaAttribute;
- (BOOL)accessibilityIsGrowAreaAttributeSettable;
- (id)accessibilityDefaultButtonAttribute;
- (BOOL)accessibilityIsDefaultButtonAttributeSettable;
- (id)accessibilityCancelButtonAttribute;
- (BOOL)accessibilityIsCancelButtonAttributeSettable;
- (id)accessibilityDocumentAttribute;
- (BOOL)accessibilityIsDocumentAttributeSettable;
- (id)accessibilityModalAttribute;
- (BOOL)accessibilityIsModalAttributeSettable;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsChildrenAttributeSettable;
- (id)accessibilityAttributeValue:(id)fp8;
- (BOOL)accessibilityIsAttributeSettable:(id)fp8;
- (void)accessibilitySetValue:(id)fp8 forAttribute:(id)fp12;
- (id)accessibilityActionNames;
- (id)accessibilityActionDescription:(id)fp8;
- (void)accessibilityPerformAction:(id)fp8;
- (BOOL)accessibilityIsIgnored;
- (struct _NSRect)accessibilityFocusRingBounds;
- (id)_accessibilityViewCorrectedForFieldEditor:(id)fp8;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityFocusedUIElement;
- (BOOL)accessibilityShouldUseUniqueId;
- (BOOL)accessibilityIsChildOfApp;
- (void)accessibilityPostNotification:(id)fp8;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface NSWindowController : NSResponder
{
NSWindow *_window;
NSString *_windowNibName;
NSDocument *_document;
NSArray *_topLevelObjects;
id _owner;
struct __wcFlags _wcFlags;
void *_reserved1;
void *_reserved2;
}

+ (void)initialize;
- (id)initWithWindow:(id)fp8;
- (id)init;
- (id)initWithWindowNibName:(id)fp8;
- (id)initWithWindowNibName:(id)fp8 owner:(id)fp12;
- (id)initWithWindowNibPath:(id)fp8 owner:(id)fp12;
- (void)dealloc;
- (id)_compatibility_initWithUnkeyedCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)windowNibName;
- (id)windowNibPath;
- (id)owner;
- (void)setWindowFrameAutosaveName:(id)fp8;
- (id)windowFrameAutosaveName;
- (BOOL)shouldCascadeWindows;
- (void)setShouldCascadeWindows:(BOOL)fp8;
- (id)document;
- (void)setDocument:(id)fp8;
- (void)setDocumentEdited:(BOOL)fp8;
- (BOOL)shouldCloseDocument;
- (void)setShouldCloseDocument:(BOOL)fp8;
- (void)setWindow:(id)fp8;
- (id)window;
- (void)synchronizeWindowTitleWithDocumentName;
- (id)windowTitleForDocumentDisplayName:(id)fp8;
- (void)_windowWillClose:(id)fp8;
- (void)close;
- (void)showWindow:(id)fp8;
- (BOOL)isWindowLoaded;
- (void)windowWillLoad;
- (void)windowDidLoad;
- (void)_windowDidLoad;
- (void)_windowWillLoad;
- (void)loadWindow;

@end

@interface NSWindowGraphicsContext : NSCGSContext
{
void *_cgsWindowID;
unsigned int _displayPostingDisableCount;
unsigned int _flushDisableCount;
NSQuickDrawPort *_qdPort;
}

- (id)_initWithWindowNumber:(int)fp8;
- (id)initWithWindow:(id)fp8;
- (id)attributes;
- (void *)windowID;
- (BOOL)isDrawingToScreen;
- (void *)focusStack;
- (void)setFocusStack:(void *)fp8;
- (void)dealloc;
- (id)qdPort;
- (id)qdCreatePortForWindow:(id)fp8;
- (void)disableDisplayPositing;
- (void)reenableDisplayPosting;
- (BOOL)isDisplayPostingDisabled;
- (void)resetDisplayDisableCount;
- (void)disableFlush;
- (void)reenableFlush;
- (BOOL)isFlushDisabled;
- (void)resetFlushDisableCount;

@end

@interface NSWindow (NSScripting)
- (BOOL)hasCloseBox;
- (BOOL)hasTitleBar;
- (BOOL)isFloatingPanel;
- (BOOL)isMiniaturizable;
- (BOOL)isModalPanel;
- (BOOL)isResizable;
- (BOOL)isZoomable;
- (int)orderedIndex;
- (void)setIsMiniaturized:(BOOL)fp8;
- (void)setIsVisible:(BOOL)fp8;
- (void)setIsZoomed:(BOOL)fp8;
- (void)setOrderedIndex:(int)fp8;
- (id)boundsAsQDRect;
- (id)document;
- (int)uniqueID;
- (void)setBoundsAsQDRect:(id)fp8;
- (id)objectSpecifier;
- (id)handleCloseScriptCommand:(id)fp8;
- (id)handlePrintScriptCommand:(id)fp8;
- (id)handleSaveScriptCommand:(id)fp8;
@end

@interface NSWindowTemplate : NSObject
{
struct _NSRect windowRect;
int windowStyleMask;
int windowBacking;
NSString *windowTitle;
NSString *viewClass;
NSString *windowClass;
id windowView;
NSWindow *realObject;
id extension;
struct _NSSize minSize;
struct __WtFlags _wtFlags;
struct _NSRect screenRect;
NSString *frameAutosaveName;
struct _NSSize maxSize;
}

+ (void)initialize;
- (void)dealloc;
- (id)title;
- (void)setTitle:(id)fp8;
- (unsigned int)styleMask;
- (void)setStyleMask:(unsigned int)fp8;
- (int)backingType;
- (void)setBackingType:(int)fp8;
- (BOOL)isOneShot;
- (void)setOneShot:(BOOL)fp8;
- (BOOL)hasDynamicDepthLimit;
- (void)setDynamicDepthLimit:(BOOL)fp8;
- (BOOL)isDeferred;
- (void)setDeferred:(BOOL)fp8;
- (BOOL)isReleasedWhenClosed;
- (void)setReleasedWhenClosed:(BOOL)fp8;
- (BOOL)hidesOnDeactivate;
- (void)setHidesOnDeactivate:(BOOL)fp8;
- (BOOL)wantsToBeColor;
- (void)setWantsToBeColor:(BOOL)fp8;
- (unsigned int)autoPositionMask;
- (void)setAutoPositionMask:(unsigned int)fp8;
- (int)interfaceStyle;
- (void)setInterfaceStyle:(int)fp8;
- (void)setFrameAutosaveName:(id)fp8;
- (id)frameAutosaveName;
- (struct _NSSize)maxSize;
- (void)setMaxSize:(struct _NSSize)fp8;
- (void)setAllowsToolTipsWhenApplicationIsInactive:(BOOL)fp8;
- (BOOL)allowsToolTipsWhenApplicationIsInactive;
- (void)setHasShadow:(BOOL)fp8;
- (BOOL)hasShadow;
- (id)nibInstantiate;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSWorkspace : NSObject
{
NSNotificationCenter *notificationCenter;
int deviceStatusCount;
int applicationStatusCount;
void *_reservedWorkspace1;
}

+ (id)sharedWorkspace;
- (id)init;
- (id)absolutePathForAppBundleWithIdentifier:(id)fp8;
- (BOOL)openURLs:(id)fp8 withAppBundleIdentifier:(id)fp12 options:(unsigned int)fp16 additionalEventParamDescriptor:(id)fp20 launchIdentifiers:(id *)fp24;
- (BOOL)launchAppWithBundleIdentifier:(id)fp8 options:(unsigned int)fp12 additionalEventParamDescriptor:(id)fp16 launchIdentifier:(id *)fp20;
- (BOOL)openFile:(id)fp8 withApplication:(id)fp12;
- (BOOL)openFile:(id)fp8;
- (id)iconForFiles:(id)fp8;
- (id)notificationCenter;
- (void)center:(id)fp8 didAddObserver:(id)fp12 name:(id)fp16 object:(id)fp20;
- (void)center:(id)fp8 didRemoveObserver:(id)fp12 name:(id)fp16 object:(id)fp20;
- (void)_willUnmountDeviceAtPath:(id)fp8 ok:(int *)fp12;
- (void)_didUnmountDeviceAtPath:(id)fp8;
- (void)_didMountDeviceAtPath:(id)fp8;
- (void)_fileOperationCompleted:(int)fp8;
- (void)_applicationWillLaunch:(id)fp8;
- (void)_applicationDidLaunch:(id)fp8;
- (void)_applicationDidTerminate:(id)fp8;
- (void)_willPowerOff;
- (void)_shouldPowerOff;
- (void)dealloc;
- (BOOL)openURL:(id)fp8;
- (BOOL)_openFile:(id)fp8 withApplication:(id)fp12 asService:(BOOL)fp16 andWait:(BOOL)fp20 andDeactivate:(BOOL)fp24;
- (BOOL)openFile:(id)fp8 withApplication:(id)fp12 andDeactivate:(BOOL)fp16;
- (BOOL)openTempFile:(id)fp8;
- (BOOL)openFile:(id)fp8 fromImage:(id)fp12 at:(struct _NSPoint)fp16 inView:(id)fp24;
- (BOOL)_launchService:(id)fp8 andWait:(BOOL)fp12;
- (BOOL)launchApplication:(id)fp8;
- (BOOL)launchApplication:(id)fp8 showIcon:(BOOL)fp12 autolaunch:(BOOL)fp16;
- (id)_defaultDocIcon;
- (id)iconForFileType:(id)fp8;
- (id)_iconForOSType:(unsigned long)fp8 creator:(unsigned long)fp12;
- (id)_iconForOSType:(unsigned long)fp8;
- (id)iconForFile:(id)fp8;
- (BOOL)getInfoForFile:(id)fp8 application:(id *)fp12 type:(id *)fp16;
- (BOOL)isFilePackageAtPath:(id)fp8;
- (int)extendPowerOffBy:(int)fp8;
- (void)slideImage:(id)fp8 from:(struct _NSPoint)fp12 to:(struct _NSPoint)fp20;
- (BOOL)_sendFinderAppleEvent:(unsigned long)fp8 class:(unsigned long)fp12 file:(id)fp16;
- (BOOL)selectFile:(id)fp8 inFileViewerRootedAtPath:(id)fp12;
- (id)_fullPathForService:(id)fp8;
- (id)_locationsForApplications;
- (id)fullPathForApplication:(id)fp8;
- (BOOL)_fileOperation:(int)fp8 source:(id)fp12 destination:(id)fp16 files:(id)fp20;
- (BOOL)performFileOperation:(id)fp8 source:(id)fp12 destination:(id)fp16 files:(id)fp20 tag:(int *)fp24;
- (void)noteFileSystemChanged;
- (void)noteFileSystemChanged:(id)fp8;
- (BOOL)fileSystemChanged;
- (void)noteUserDefaultsChanged;
- (BOOL)userDefaultsChanged;
- (void)findApplications;
- (void)hideOtherApplications;
- (void)_beginListeningForDeviceStatusChanges;
- (void)_endListeningForDeviceStatusChanges;
- (id)_dictionaryForSerialNumber:(struct CPSProcessSerNum *)fp8 remove:(BOOL)fp12 clear:(BOOL)fp16;
- (void)_applicationStatusChange:(id)fp8;
- (void)_beginListeningForApplicationStatusChanges;
- (void)_endListeningForApplicationStatusChanges;
- (void)_beginListeningForPowerStatusChanges;
- (void)_endListeningForPowerStatusChanges;
- (void)_workspaceDidResignOrBecomeActive:(id)fp8;
- (void)_beginListeningForSessionStatusChanges;
- (void)_endListeningForSessionStatusChanges;
- (void)_postSessionNotificationIfNeeded;
- (id)launchedApplications;
- (id)activeApplication;
- (BOOL)_volumeIsEjectableForRefNum:(short)fp8;
- (BOOL)_volumeIsLocalForRefNum:(short)fp8;
- (BOOL)getFileSystemInfoForPath:(id)fp8 isRemovable:(char *)fp12 isWritable:(char *)fp16 isUnmountable:(char *)fp20 description:(id *)fp24 type:(id *)fp28;
- (id)mountedLocalVolumePaths;
- (id)mountedRemovableMedia;
- (id)mountNewRemovableMedia;
- (void)checkForRemovableMedia;
- (BOOL)unmountAndEjectDeviceAtPath:(id)fp8;
- (BOOL)openFile:(id)fp8 operation:(int)fp12;
- (void)unhideApplication;
- (void)_checkInName:(id)fp8 onHost:(id)fp12 andPid:(int)fp16 forUser:(id)fp20;
- (void)_replySequenceNumber:(int)fp8 ok:(int)fp12;
- (void)_announce;
- (oneway void)powerOffIn:(int)fp8 andSave:(BOOL)fp12;
- (oneway void)applicationLaunched:(id)fp8 handle:(int)fp12;
- (oneway void)applicationQuit:(id)fp8 handle:(int)fp12;
- (BOOL)shouldUnmount:(id)fp8;
- (oneway void)unmounted:(id)fp8;
- (oneway void)mounted:(id)fp8;
- (oneway void)fileOperationCompleted:(int)fp8 ok:(BOOL)fp12;
- (oneway void)startProfiling;
- (oneway void)stopProfiling;
- (oneway void)writeProfilingDataToPath:(id)fp8;
- (oneway void)resetProfiling;

@end

@interface NSWorkspaceCenter : NSNotificationCenter
{
id delegate;
NSMutableArray *NSWorkspaceCenterDeviceObservers;
NSMutableArray *NSWorkspaceCenterApplicationObservers;
NSMutableArray *NSWorkspaceCenterPowerObservers;
NSMutableArray *NSWorkspaceCenterSessionObservers;
}

- (id)init;
- (void)addObserver:(id)fp8 selector:(SEL)fp12 name:(id)fp16 object:(id)fp20;
- (void)removeObserver:(id)fp8 name:(id)fp12 object:(id)fp16;
- (void)setDelegate:(id)fp8;
- (id)delegate;

@end

@interface NSWorkspaceObserver : NSObject
{
id observer;
NSString *name;
id object;
}

- (id)initWithObserver:(id)fp8 name:(id)fp12 object:(id)fp16;
- (void)dealloc;
- (id)observer;
- (id)name;
- (id)object;

@end

@interface NSApplication (NSResponsibleDelegate)
- (id)_responsibleDelegateForSelector:(SEL)fp8;
@end

@interface NSString (NSWorkspaceStatic)
+ (id)_pathForFSRef:(struct FSRef *)fp8;
- (BOOL)_getVRefNumForPath:(short *)fp8;
- (BOOL)_getFSSpecForPath:(struct FSSpec *)fp8;
- (BOOL)_getFSRefForPath:(struct FSRef *)fp8;
- (BOOL)_getFSRefForApplicationName:(struct FSRef *)fp8;
- (BOOL)_getFSRefForServiceName:(struct FSRef *)fp8;
@end

@interface NSPICTParser (_Opcodes)
- (void)handlePicVersion;
- (void)handleHeaderOp;
- (void)handleFontName;
- (void)setClipRgn;
- (void)setGraphicAttributeWithCode:(unsigned short)fp8;
- (void)setTextAttributeWithCode:(unsigned short)fp8;
- (void)setPenAttributeWithCode:(unsigned short)fp8;
- (void)renderLineWithCode:(unsigned short)fp8;
- (void)renderTextWithCode:(unsigned short)fp8;
- (void)renderShapeWithCode:(unsigned short)fp8;
- (void)handleCommentWithCode:(unsigned short)fp8;
- (void)handleQuickTimeWithCode:(unsigned short)fp8;
- (void)skipUnimplementedOpcode:(unsigned short)fp8;
@end

@interface NSPasteboard (NSFileContentsPrivate)
- (id)writeDocument:(id)fp8 pbtype:(id)fp12 filename:(id)fp16;
- (id)readDocumentFromPbtype:(id)fp8 filename:(id *)fp12;
@end

@interface NSPasteboard (NSFileContents)
- (BOOL)writeFileContents:(id)fp8;
- (BOOL)writeFileWrapper:(id)fp8;
- (BOOL)attemptOverwrite:(id)fp8;
- (id)processType:(id)fp8 file:(id)fp12 isDir:(BOOL)fp16;
- (id)readFileContentsType:(id)fp8 toFile:(id)fp12;
- (id)readFileWrapper;
@end

@interface _NSCachedBitmapImageRep : NSBitmapImageRep
{
struct CGImage *_imageRef;
}

- (struct CGImage *)_CGImageRef;
- (void)_setCGImageRef:(struct CGImage *)fp8;
- (Class)classForArchiver;

@end

@interface NSPICTParser (_RenderPixmap)
- (void)_fetchColorTable:(CDAnonymousStruct6 *)fp8;
- (void)renderBitsWithCode:(unsigned short)fp8 withSize:(struct _NSSize)fp12;
@end

@interface NSThemeDocumentButton (NSThemeFramePathExtensions)
- (Class)menuClass;
- (struct _NSPoint)menuLocation;
- (void)showPopup;
- (void)sendOpenEventFor:(id)fp8;
@end

@interface NSExceptionHandlingRecursiveLock : NSRecursiveLock
{
}

- (void)lock;
- (void)unlock;

@end

@interface NSView (NSPrinting)
- (void)writeEPSInsideRect:(struct _NSRect)fp8 toPasteboard:(id)fp24;
- (id)dataWithEPSInsideRect:(struct _NSRect)fp8;
- (void)writePDFInsideRect:(struct _NSRect)fp8 toPasteboard:(id)fp24;
- (id)dataWithPDFInsideRect:(struct _NSRect)fp8;
- (void)beginPrologueBBox:(struct _NSRect)fp8 creationDate:(id)fp24 createdBy:(id)fp28 fonts:(id)fp32 forWhom:(id)fp36 pages:(int)fp40 title:(id)fp44;
- (void)endHeaderComments;
- (void)endPrologue;
- (void)beginSetup;
- (void)endSetup;
- (void)beginPage:(int)fp8 label:(id)fp12 bBox:(struct _NSRect)fp16 fonts:(id)fp32;
- (void)addToPageSetup;
- (void)endPageSetup;
- (void)beginTrailer;
- (void)endTrailer;
- (id)printJobTitle;
- (void)_realCopyPSCodeInside:(const struct _NSRect *)fp8 helpedBy:(id)fp12;
- (void)print:(id)fp8;
- (id)_realPrintPSCode:(id)fp8 helpedBy:(id)fp12;
- (BOOL)_setUpOperation:(id)fp8 helpedBy:(id)fp12;
- (BOOL)_setPageGenerationOrder:(id)fp8;
- (BOOL)_generatePSCodeHelpedBy:(id)fp8 operation:(id)fp12;
- (BOOL)knowsPagesFirst:(int *)fp8 last:(int *)fp12;
- (BOOL)_knowsPagesFirst:(int *)fp8 last:(int *)fp12;
- (BOOL)knowsPageRange:(struct _NSRange *)fp8;
- (void)beginPageSetupRect:(struct _NSRect)fp8 placement:(struct _NSPoint)fp24;
- (void)beginDocument;
- (void)endDocument;
- (void)beginPageInRect:(struct _NSRect)fp8 atPlacement:(struct _NSPoint)fp24;
- (void)endPage;
- (float)_provideTotalScaleFactorForPrintOperation:(id)fp8;
- (id)_printPagesWithOperation:(id)fp8 helpedBy:(id)fp12;
- (id)_printAndPaginateWithOperation:(id)fp8 helpedBy:(id)fp12;
- (void)_calcMarginSize:(struct _NSSize *)fp8 operation:(id)fp12;
- (void)_calcWidths:(float **)fp8 num:(int *)fp12 margin:(const struct _NSSize *)fp16 operation:(id)fp20 helpedBy:(id)fp24;
- (void)_calcHeights:(float **)fp8 num:(int *)fp12 margin:(const struct _NSSize *)fp16 operation:(id)fp20 helpedBy:(id)fp24;
- (float)heightAdjustLimit;
- (float)widthAdjustLimit;
- (void)adjustPageWidthNew:(float *)fp8 left:(float)fp12 right:(float)fp16 limit:(float)fp20;
- (void)adjustPageHeightNew:(float *)fp8 top:(float)fp12 bottom:(float)fp16 limit:(float)fp20;
- (void)_doPageArea:(const struct _NSRect *)fp8 finishPage:(BOOL)fp12 helpedBy:(id)fp16 pageLabel:(int)fp20;
- (struct _NSRect)rectForPage:(int)fp8;
- (struct _NSPoint)locationOfPrintRect:(struct _NSRect)fp8;
- (void)drawSheetBorderWithSize:(struct _NSSize)fp8;
- (void)drawPageBorderWithSize:(struct _NSSize)fp8;
@end

@interface NSTextRulerOptions : NSObject
{
id addFavoritePanel;
id favoriteNameField;
id includeFontOptionsButton;
id includeFontButton;
id confirmAddFavoriteButton;
id replaceFavoritePanel;
id removeFavoritePanel;
id removeFavoritePopUp;
id spacingPanel;
id multipleField;
id minField;
id maxField;
id lineSpacingField;
id multipleStepper;
id minStepper;
id maxStepper;
id lineSpacingStepper;
id minMatrix;
id maxButton;
id spaceBeforeField;
id spaceAfterField;
id spaceBeforeStepper;
id spaceAfterStepper;
NSMutableDictionary *_favoriteRulers;
NSDictionary *_selectedAttributes;
NSWindow *_windowForSheets;
NSWindow *_windowForSpacing;
id _delegateForSpacing;
}

+ (id)sharedTextRulerOptions;
- (void)saveFavoritesToDefaults;
- (void)updateFavoritesFromDefaults;
- (id)init;
- (void)loadUI;
- (void)dealloc;
- (id)favoriteAttributesNames;
- (id)favoriteAttributesForName:(id)fp8;
- (id)selectedAttributes;
- (void)updateFavoritesUI;
- (void)addFavorite;
- (void)addFavorite:(id)fp8 inWindow:(id)fp12;
- (void)removeFavoriteInWindow:(id)fp8;
- (void)updateLineSpacingUI;
- (void)setSpacing:(id)fp8 inWindow:(id)fp12 delegate:(id)fp16;
- (void)controlTextDidChange:(id)fp8;
- (void)modifyOptionsViaPanel:(id)fp8;
- (void)confirmSheet:(id)fp8;
- (void)cancelSheet:(id)fp8;
- (void)sheetDidEnd:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;
- (id)displayStringForLineHeightMultiple:(float)fp8 min:(float)fp12 max:(float)fp16 lineSpacing:(float)fp20 paragraphSpacingBefore:(float)fp24 after:(float)fp28;

@end

@interface NSFontOptions : NSObject
{
id panel;
id fontField;
id fontColorWell;
id backgroundColorWell;
id favoritesPullDown;
id kerningButton;
id kerningSlider;
id expansionButton;
id expansionSlider;
id baselineButton;
id baselineSlider;
id obliquenessButton;
id obliquenessSlider;
id shadowButton;
id shadowHeightSlider;
id shadowWidthSlider;
id shadowBlurRadiusSlider;
id strokeMatrix;
id strokeColorWell;
id strokeSlider;
id underlineMatrix;
id underlineColorWell;
id underlineTypeButton;
id underlineStylePopUp;
id strikethroughMatrix;
id strikethroughColorWell;
id strikethroughTypeButton;
id strikethroughStylePopUp;
id optionsPanel;
id optionsMatrix;
id optionsButtons;
id optionsPopUp;
id optionsPreviewField;
id optionsAttributesField;
id optionsAddRemoveButton;
id colorOptionsPanel;
id colorOptionsFontColorWell;
id colorOptionsBackgroundColorWell;
id colorOptionsStrokeColorWell;
id colorOptionsUnderlineColorWell;
id colorOptionsStrikethroughColorWell;
id colorOptionsStrokeMatrix;
id colorOptionsStrokeSlider;
id addFavoritePanel;
id favoriteNameField;
id includeFontButton;
id includeRulerButton;
id confirmAddFavoriteButton;
id replaceFavoritePanel;
id removeFavoritePanel;
id removeFavoritePopUp;
NSMutableDictionary *_attributesToAdd;
NSMutableArray *_attributesToRemove;
NSMutableDictionary *_favoriteStyles;
NSDictionary *_selectedAttributes;
NSDictionary *_optionsAttributes;
NSDictionary *_attributesForNewFavorite;
NSString *_stringForOptions;
NSString *_optionsAddTitle;
NSString *_optionsRemoveTitle;
struct {
unsigned int isMultiple:1;
unsigned int reserved:31;
} _flags;
NSWindow *_windowForSheets;
NSWindow *_windowForOptions;
NSTextView *_textViewForOptions;
struct _NSRange _rangeForOptions;
NSWindow *_windowForColorOptions;
struct _NSRect _previewRect;
}

+ (id)sharedFontOptions;
- (id)storedAttributes;
- (void)saveFavoritesToDefaults;
- (void)updateFavoritesFromDefaults;
- (id)init;
- (void)loadUI;
- (void)dealloc;
- (void)enableAll:(BOOL)fp8;
- (void)updateUI;
- (id)displayStringsForAttributes:(id)fp8 includeBoldItalic:(BOOL)fp12;
- (id)displayStringsForParagraphStyle:(id)fp8;
- (void)updateOptionsUI;
- (void)updateColorOptionsUI;
- (id)favoriteAttributesNames;
- (id)favoriteAttributesForName:(id)fp8;
- (void)updateFavoritesUI;
- (void)orderFrontColorOptionsPanelInWindow:(id)fp8;
- (void)orderFrontFontOptionsPanel:(id)fp8;
- (void)orderFrontStylesPanel:(id)fp8;
- (void)orderFrontStylesPanelInWindow:(id)fp8 textView:(id)fp12;
- (void)orderFrontFontPanel:(id)fp8;
- (BOOL)textView:(id)fp8 shouldSetColor:(id)fp12;
- (void)setSelectedAttributes:(id)fp8 isMultiple:(BOOL)fp12;
- (id)selectedAttributes;
- (void)setOptionsAttributes:(id)fp8 string:(id)fp12;
- (id)optionsAttributes;
- (id)convertAttributes:(id)fp8;
- (void)modifyOptionsViaPanel:(id)fp8;
- (id)stringForRange:(struct _NSRange)fp8;
- (void)selectDefaultRange;
- (void)selectFarthestRangeForward:(BOOL)fp8;
- (void)selectNextRangeForward:(BOOL)fp8;
- (void)changeOptionsPanelSettings:(id)fp8;
- (void)windowWillClose:(id)fp8;
- (void)controlTextDidChange:(id)fp8;
- (void)confirmSheet:(id)fp8;
- (void)cancelSheet:(id)fp8;
- (void)addFavorite;
- (void)addFavoriteInWindow:(id)fp8;
- (void)removeFavoriteInWindow:(id)fp8;
- (void)sheetDidEnd:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;

@end

@interface NSFontOptionsPreviewBox : NSBox
{
}

- (void)drawRect:(struct _NSRect)fp8;

@end

@interface NSFontOptionsColorWell : NSColorWell
{
}

- (id)_takeColorFrom:(id)fp8 andSendAction:(BOOL)fp12;

@end

@interface NSShadow : NSObject
{
unsigned int _shadowFlags;
struct _NSSize _shadowOffset;
float _shadowBlurRadius;
NSColor *_shadowColor;
float _reservedFloat[3];
void *_reserved;
}

+ (void)initialize;
+ (id)shadow;
+ (id)defaultShadowColor;
- (id)init;
- (id)initWithShadow:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (unsigned int)hash;
- (BOOL)isEqual:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)dealloc;
- (struct _NSSize)shadowOffset;
- (void)setShadowOffset:(struct _NSSize)fp8;
- (float)shadowBlurRadius;
- (void)setShadowBlurRadius:(float)fp8;
- (id)shadowColor;
- (void)setShadowColor:(id)fp8;
- (void)set;

@end

@interface NSApplication (NSAppleEventHandling)
- (void)_handleAEOpen;
- (void)_handleAEReopen;
- (short)_handleAEOpenDocuments:(id)fp8;
- (short)_handleAEPrintDocuments:(id)fp8;
- (short)_handleAEQuitWithActivating:(BOOL)fp8 documentSaving:(int)fp12;
- (void)_handleCoreEvent:(id)fp8 withReplyEvent:(id)fp12;
- (void)_registerRequiredAEHandlers;
@end

@interface NSAccessibilityReparentingCellProxy (NSAccessibilityReparentingCellProxyTextAttributesAccessibility)
- (BOOL)hasEditor;
- (id)accessibilityVisibleCharacterRangeAttribute;
- (id)accessibilityLineForIndexAttributeForParameter:(id)fp8;
- (id)accessibilityRangeForLineAttributeForParameter:(id)fp8;
- (id)accessibilityRangeForPositionAttributeForParameter:(id)fp8;
- (id)accessibilityBoundsForRangeAttributeForParameter:(id)fp8;
@end

@interface NSCell (NSCellTextAttributesAccessibility)
- (id)accessibilityCurrentEditor;
- (id)accessibilityValueAttribute;
- (BOOL)accessibilityIsValueAttributeSettable;
- (void)accessibilitySetValueAttribute:(id)fp8;
- (id)accessibilitySelectedTextAttribute;
- (BOOL)accessibilityIsSelectedTextAttributeSettable;
- (void)accessibilitySetSelectedTextAttribute:(id)fp8;
- (id)accessibilitySelectedTextRangeAttribute;
- (BOOL)accessibilityIsSelectedTextRangeAttributeSettable;
- (void)accessibilitySetSelectedTextRangeAttribute:(id)fp8;
- (id)accessibilityNumberOfCharactersAttribute;
- (BOOL)accessibilityIsNumberOfCharactersAttributeSettable;
- (id)accessibilityVisibleCharacterRangeAttribute;
- (BOOL)accessibilityIsVisibleCharacterRangeAttributeSettable;
- (void)accessibilitySetVisibleCharacterRangeAttribute:(id)fp8;
- (id)accessibilityLineForIndexAttributeForParameter:(id)fp8;
- (id)accessibilityRangeForLineAttributeForParameter:(id)fp8;
- (id)accessibilityStringForRangeAttributeForParameter:(id)fp8;
- (id)accessibilityRangeForPositionAttributeForParameter:(id)fp8;
- (id)accessibilityRangeForIndexAttributeForParameter:(id)fp8;
- (id)accessibilityBoundsForRangeAttributeForParameter:(id)fp8;
- (id)accessibilityRTFForRangeAttributeForParameter:(id)fp8;
- (id)accessibilityStyleRangeForIndexAttributeForParameter:(id)fp8;
@end

@interface NSTextFinder : NSObject
{
NSTextField *findTextField;
NSTextField *replaceTextField;
NSTextField *statusField;
NSButton *ignoreCaseButton;
NSButton *replaceAllButton;
NSButton *replaceButton;
NSButton *findNextButton;
NSButton *findPreviousButton;
NSButton *replaceAndFindButton;
NSButton *wrapAroundButton;
NSPopUpButton *matchPopUp;
NSTextView *fieldEditor;
NSString *findString;
BOOL lastFindWasSuccessful;
BOOL findStringChangedInUI;
}

+ (id)sharedTextFinder;
- (id)init;
- (void)dealloc;
- (id)windowWillReturnFieldEditor:(id)fp8 toObject:(id)fp12;
- (void)appDidActivate:(id)fp8;
- (BOOL)loadFindStringFromPasteboard;
- (void)loadFindStringToPasteboard;
- (void)loadUI;
- (void)controlTextDidChange:(id)fp8;
- (id)findString;
- (void)setFindString:(id)fp8 writeToPasteboard:(BOOL)fp12 updateUI:(BOOL)fp16;
- (id)textObjectToSearchIn;
- (id)findPanel;
- (void)takeFindStringFromView:(id)fp8;
- (unsigned int)optionsFromPanel;
- (BOOL)findInView:(id)fp8 forward:(BOOL)fp12;
- (BOOL)replaceInView:(id)fp8;
- (BOOL)replaceAndFindInView:(id)fp8;
- (int)replaceAllInView:(id)fp8 selectionOnly:(BOOL)fp12;
- (void)orderFrontFindPanel:(id)fp8;
- (void)findNextAndOrderFindPanelOut:(id)fp8;
- (void)performFindPanelAction:(id)fp8;
- (void)performFindPanelAction:(int)fp8 forClient:(id)fp12;
- (BOOL)validateFindPanelAction:(int)fp8 forClient:(id)fp12;
- (void)windowDidUpdate:(id)fp8;

@end

@interface NSFindPanelTextView : NSTextView
{
}

- (void)performFindPanelAction:(id)fp8;
- (BOOL)validateUserInterfaceItem:(id)fp8;

@end

@interface NSTextStorage (NSFindAndReplace)
- (struct _NSRange)findString:(id)fp8 selectedRange:(struct _NSRange)fp12 options:(unsigned int)fp20;
- (int)replaceString:(id)fp8 withString:(id)fp12 range:(struct _NSRange)fp16 options:(unsigned int)fp24 inView:(id)fp28 replacementRange:(struct _NSRange *)fp32;
@end

@interface NSNib : NSObject
{
NSData *_data;
NSArray *_images;
NSArray *_sounds;
NSBundle *_bundle;
struct _NSNibFlags _flags;
id reserved1;
id reserved2;
}

- (id)initWithContentsOfURL:(id)fp8;
- (id)initWithNibNamed:(id)fp8 bundle:(id)fp12;
- (id)_initWithPath:(id)fp8 bundle:(id)fp12;
- (void)dealloc;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (BOOL)instantiateNibWithOwner:(id)fp8 topLevelObjects:(id *)fp12;
- (BOOL)instantiateNibWithExternalNameTable:(id)fp8;
- (void)_loadNibDataFromPath:(id)fp8;

@end

@interface NSSpeechRecognizerVars : NSObject
{
id _delegate;
NSMutableDictionary *_commandDisplay;
NSString *_displayedTitle;
NSArray *_displayedStrings;
NSArray *_simpleCommandsArray;
id _languageModel;
struct OpaqueSRSpeechObject *_srRecognizer;
struct OpaqueSRSpeechObject *_srRecognitionSystem;
id _objectForCurrentRecognition;
}

- (id)init;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (void)setSRRecognitionSystem:(struct OpaqueSRSpeechObject *)fp8;
- (struct OpaqueSRSpeechObject *)srRecognitionSystem;
- (void)setSRRecognizer:(struct OpaqueSRSpeechObject *)fp8;
- (struct OpaqueSRSpeechObject *)srRecognizer;
- (void)setDisplayedStringsArray:(id)fp8;
- (id)displayedStringsArray;
- (void)setDisplayedTitle:(id)fp8;
- (id)displayedTitle;
- (id)commandDisplay;
- (void)setSimpleCommandsArray:(id)fp8;
- (id)simpleCommandsArray;
- (void)setObjectForCurrentRecognition:(id)fp8;
- (void)setLanguageModel:(id)fp8;
- (id)languageModel;

@end

@interface NSSpeechRecognizer : NSObject
{
id _privateNSSpeechRecognizerVars;
}

+ (id)_forSRSpeechObject:(struct OpaqueSRSpeechObject *)fp8 objectForProperty:(unsigned long)fp12 usingDataSize:(long)fp16 withRequestedObjectClass:(Class)fp20;
+ (BOOL)_forSRSpeechObject:(struct OpaqueSRSpeechObject *)fp8 setObject:(id)fp12 forProperty:(unsigned long)fp16 usingDataSize:(long)fp20;
- (id)init;
- (void)dealloc;
- (void)startListening;
- (void)stopListening;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (id)commands;
- (void)setCommands:(id)fp8;
- (id)displayedCommandsTitle;
- (void)setDisplayedCommandsTitle:(id)fp8;
- (BOOL)listensInForegroundOnly;
- (void)setListensInForegroundOnly:(BOOL)fp8;
- (BOOL)blocksOtherRecognizers;
- (void)setBlocksOtherRecognizers:(BOOL)fp8;
- (void)_setDisplayContents:(id)fp8 usingSimpleCommandDefaults:(BOOL)fp12;
- (void)_setDisplayContents:(id)fp8;
- (void)_setDisplayPositionHint:(int)fp8;
- (void)_setDisplayRelativeOrder:(int)fp8;
- (void)_setTargetProcess:(struct ProcessSerialNumber *)fp8;
- (void)_setLanguageModel:(id)fp8;
- (id)_languageModel;
- (void)_updateCommandDisplayWithRecognizer;
- (struct OpaqueSRSpeechObject *)_createSRLanguageModelWithDescription:(id)fp8;
- (struct OpaqueSRSpeechObject *)_createSRLanguagePath;
- (struct OpaqueSRSpeechObject *)_createSRLanguagePhraseWithString:(id)fp8;
- (struct OpaqueSRSpeechObject *)_createSRLanguageWordWithString:(id)fp8;
- (void)_handleRecognitionBeginningWithRecognitionResult:(struct OpaqueSRSpeechObject *)fp8;
- (void)_handleRecognitionDoneWithRecognitionResult:(struct OpaqueSRSpeechObject *)fp8;
- (id)_objectForProperty:(unsigned long)fp8 usingDataSize:(long)fp12 withRequestedObjectClass:(Class)fp16;
- (BOOL)_setObject:(id)fp8 forProperty:(unsigned long)fp12 usingDataSize:(long)fp16;

@end

@interface NSSpeechSynthesizerVars : NSObject
{
id _delegate;
struct SpeechChannelRecord *_speechChannel;
unsigned int _speechFeedbackServicesRef;
NSTimer *_speechFeedbackServicesTimer;
NSString *_speakingString;
NSString *_currentVoice;
float _normalSpeakingRate;
BOOL _usingDefaultVoice;
BOOL _usesFeedbackWindow;
BOOL _speakingSpeechFeedbackServices;
BOOL _needsResyncWithDefaultVoice;
BOOL _speechFinishedSuccessfully;
BOOL _synthesizerIsRetained;
}

+ (BOOL)findVoiceByIdentifier:(id)fp8 returningCreator:(unsigned int *)fp12 returningID:(unsigned int *)fp16;
+ (id)voiceIdentifierForVoiceCreator:(unsigned long)fp8 voiceID:(unsigned long)fp12;
- (void)dealloc;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (short)setSpeechChannelWithVoiceIdentifier:(id)fp8;
- (short)setSpeechChannelWithVoiceCreator:(unsigned long)fp8 voiceID:(unsigned long)fp12;
- (struct SpeechChannelRecord *)speechChannel;
- (unsigned long)speechFeedbackServicesRef;
- (void)setSpeakingString:(id)fp8;
- (id)speakingString;
- (void)setCurrentVoiceIdentifier:(id)fp8;
- (id)currentVoiceIdentifier;
- (float)normalSpeakingRate;
- (void)setUsingDefaultVoice:(BOOL)fp8;
- (BOOL)usingDefaultVoice;
- (void)setUsesFeedbackWindow:(BOOL)fp8;
- (BOOL)usesFeedbackWindow;
- (void)setSpeakingSpeechFeedbackServices:(BOOL)fp8;
- (BOOL)speakingSpeechFeedbackServices;
- (void)setSpeechFeedbackServicesTimer:(id)fp8;
- (id)speechFeedbackServicesTimer;
- (void)setNeedsResyncWithDefaultVoice:(BOOL)fp8;
- (BOOL)needsResyncWithDefaultVoice;
- (void)setSpeechFinishedSuccessfully:(BOOL)fp8;
- (BOOL)speechFinishedSuccessfully;
- (void)setSynthesizerIsRetained:(BOOL)fp8;
- (BOOL)synthesizerIsRetained;

@end

@interface NSSpeechSynthesizer : NSObject
{
id _privateNSSpeechSynthesizerVars;
}

+ (BOOL)isAnyApplicationSpeaking;
+ (id)defaultVoice;
+ (id)availableVoices;
+ (id)attributesForVoice:(id)fp8;
- (id)init;
- (id)initWithVoice:(id)fp8;
- (void)dealloc;
- (BOOL)startSpeakingString:(id)fp8;
- (BOOL)startSpeakingString:(id)fp8 toURL:(id)fp12;
- (void)stopSpeaking;
- (BOOL)isSpeaking;
- (void)setDelegate:(id)fp8;
- (id)delegate;
- (id)voice;
- (BOOL)setVoice:(id)fp8;
- (BOOL)usesFeedbackWindow;
- (void)setUsesFeedbackWindow:(BOOL)fp8;
- (id)_speakingString;
- (BOOL)_feedbackWindowIsVisible;
- (void)_checkIfSpeakingThroughSpeechFeedbackWindowIsFinished:(id)fp8;
- (void)_handleSpeechDoneCallback;
- (void)_handleWordCallbackWithParams:(id)fp8;
- (void)_handlePhonemeCallbackWithOpcode:(id)fp8;
- (BOOL)_beginSpeakingString:(id)fp8 optionallyToURL:(id)fp12;
- (BOOL)_setupCallbacksSavingToFile:(BOOL)fp8;
- (void)_handleDefaultVoiceChange;
- (float)_normalSpeakingRate;
- (id)_objectForProperty:(unsigned long)fp8 usingDataSize:(long)fp12 withRequestedObjectClass:(Class)fp16;
- (BOOL)_setObject:(id)fp8 forProperty:(unsigned long)fp12 usingDataSize:(long)fp16;

@end

@interface NSColorPickerPageableNameList : NSColorPicker
{
NSColorPickerPageableNameListView *listView;
NSView *listPickerView;
NSScrollView *scrollView;
NSPopUpButton *listPopUp;
NSMenuItem *newColor;
NSMenuItem *renameColor;
NSMenuItem *removeColor;
NSMenuItem *find;
NSMenuItem *newList;
NSMenuItem *openList;
NSMenuItem *renameList;
NSMenuItem *removeList;
NSTextField *renamePrompt;
NSTextField *renameString;
NSButton *renameButton;
NSPanel *renamePanel;
NSTextField *filterField;
BOOL _ui_is_built;
NSMutableDictionary *_listDict;
NSMutableDictionary *_attachedListDict;
NSString *currListName;
}

- (void)dealloc;
- (BOOL)supportsMode:(int)fp8;
- (int)currentMode;
- (id)provideNewView:(BOOL)fp8;
- (void)setColor:(id)fp8;
- (id)provideNewButtonImage;
- (float)_insertionOrder;
- (struct _NSSize)minPickerContentSize;
- (id)initWithPickerMask:(int)fp8 colorPanel:(id)fp12;
- (id)_buttonImageToolTip;
- (void)insertPopItemWithTitle:(id)fp8 andObject:(id)fp12;
- (void)refreashUI;
- (void)switchToListNamed:(id)fp8;
- (void)switchList:(id)fp8;
- (void)attachColorList:(id *)fp8 systemList:(BOOL)fp12 makeSelected:(BOOL)fp16;
- (void)attachColorList:(id)fp8 makeSelected:(BOOL)fp12;
- (void)attachColorList:(id)fp8;
- (void)colorListChanged:(id)fp8;
- (void)detachColorList:(id)fp8;
- (void)setCurrListName:(id)fp8;
- (id)listDictionary;
- (id)attachedListDictionary;
- (void)loadColorLists;
- (void)saveDefaults;
- (void)restoreDefaults;
- (int)findColorNamed:(id)fp8 inList:(id)fp12 usingLocalName:(BOOL)fp16;
- (BOOL)validateMenuItem:(id)fp8;
- (BOOL)saveList:(id)fp8;
- (BOOL)isCurrListEditable;
- (void)addNewColor:(id)fp8 andShowInWell:(BOOL)fp12;
- (id)newColorName:(id)fp8;
- (void)newColor:(id)fp8;
- (id)newListName:(id)fp8;
- (void)newList:(id)fp8;
- (void)openListFromFile:(id)fp8;
- (void)openList:(id)fp8;
- (void)renameColorSheetDidEnd:(id)fp8 returnCode:(int)fp12 context:(void *)fp16;
- (void)renameColor:(id)fp8;
- (void)tryNewColorListNameSheetDidEnd:(id)fp8 returnCode:(int)fp12 context:(void *)fp16;
- (void)renameListSheetDidEnd:(id)fp8 returnCode:(int)fp12 context:(void *)fp16;
- (void)renameList:(id)fp8;
- (void)removeColorSheetDidEnd:(id)fp8 returnCode:(int)fp12 context:(void *)fp16;
- (void)removeColor:(id)fp8;
- (void)removeListSheetDidEnd:(id)fp8 returnCode:(int)fp12 context:(void *)fp16;
- (void)removeList:(id)fp8;
- (BOOL)control:(id)fp8 textView:(id)fp12 doCommandBySelector:(SEL)fp16;
- (void)controlTextDidChange:(id)fp8;
- (void)filterChanged:(id)fp8;
- (void)endSheetReturningTag:(id)fp8;

@end

@interface NSColorPickerPageableNameListScrollView : NSScrollView
{
NSColorPickerPageableNameList *picker;
NSImage *_scrollerCaps;
int _partMouseDown;
int _arrowPlacement;
int _tint;
}

- (void)appearanceChanged:(id)fp8;
- (void)_init;
- (id)initWithCoder:(id)fp8;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (unsigned int)draggingEntered:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (int)partHit:(id)fp8;
- (void)mouse:(id)fp8;
- (void)timer:(id)fp8;
- (void)mouseDown:(id)fp8;
- (void)mouseDragged:(id)fp8;
- (void)mouseUp:(id)fp8;
- (BOOL)isPaged;
- (unsigned int)pageCount;
- (id)colorList;
- (BOOL)isFirstAndKey;
- (void)updateWithFocusRing;
- (void)drawScroller:(struct _NSRect)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (void)scrollWheel:(id)fp8;
- (void)pageDown:(id)fp8;
- (void)pageUp:(id)fp8;

@end

@interface NSColorPickerPageableNameListSearchField : NSTextField
{
NSString *_grayText;
}

- (id)initWithCoder:(id)fp8;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (BOOL)becomeFirstResponder;
- (void)addCursorRect:(struct _NSRect)fp8 cursor:(id)fp24;
- (void)mouseDown:(id)fp8;
- (void)drawRect:(struct _NSRect)fp8;

@end

@interface NSColorPickerPageableNameListView : NSView
{
NSColorPickerPageableNameList *picker;
NSColorList *_cList;
NSString *_filter;
unsigned int _filteredCount;
char *_filteredCache;
unsigned int _lastHint;
unsigned int _lastSelected;
float _lastQual;
NSColor *_lastColor;
unsigned int _hint;
unsigned int _page;
unsigned int _pageH;
unsigned int _pageW;
int _itemH;
int _swatchW;
}

- (void)_init;
- (id)initWithCoder:(id)fp8;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (void)viewDidMoveToWindow;
- (void)adjustScrollView;
- (void)clipFrameChanged:(id)fp8;
- (void)colorListChanged:(id)fp8;
- (id)colorList;
- (void)setColorList:(id)fp8;
- (void)setFilter:(id)fp8;
- (void)buildFilterCache;
- (void)clearFilterCache;
- (unsigned int)countFiltered:(BOOL)fp8;
- (BOOL)passesFilterAtIndex:(unsigned int)fp8;
- (unsigned int)actualIndexForIndex:(unsigned int)fp8 filtered:(BOOL)fp12;
- (unsigned int)filteredIndexForActualIndex:(unsigned int)fp8;
- (id)colorAtIndex:(unsigned int)fp8 filtered:(BOOL)fp12;
- (id)nameAtIndex:(unsigned int)fp8 filtered:(BOOL)fp12;
- (struct _NSRect)rectForIndex:(unsigned int)fp8;
- (BOOL)isPaged;
- (unsigned int)pageCount;
- (unsigned int)page;
- (void)setPage:(unsigned int)fp8;
- (BOOL)acceptsFirstMouse:(id)fp8;
- (void)mouse:(id)fp8;
- (void)timer:(id)fp8;
- (void)mouseDown:(id)fp8;
- (void)mouseDragged:(id)fp8;
- (void)mouseUp:(id)fp8;
- (float)matchQualityOfColorAtIndex:(unsigned int)fp8 toColor:(id)fp12 filtered:(BOOL)fp16 ifBetterThan:(float)fp20;
- (unsigned int)selectedIndexAndQuality:(float *)fp8;
- (unsigned int)selectedIndex;
- (BOOL)hasSelectedColor;
- (id)selectedName;
- (void)scrollToSelected;
- (BOOL)isFirstAndKey;
- (void)updateWithFocusRing;
- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)isFlipped;
- (BOOL)isOpaque;
- (BOOL)acceptsFirstResponder;
- (BOOL)becomeFirstResponder;
- (BOOL)resignFirstResponder;
- (BOOL)needsPanelToBecomeKey;
- (void)windowDidBecomeKeyNotification:(id)fp8;
- (void)windowDidResignKeyNotification:(id)fp8;
- (void)keyDown:(id)fp8;
- (void)moveUp:(id)fp8;
- (void)moveDown:(id)fp8;

@end

@interface NSColorList (NSPagedColorListSupport)
- (id)_initWithName:(id)fp8 fromCMProfileRef:(struct OpaqueCMProfileRef *)fp12;
- (unsigned int)_count;
- (id)_colorAtIndex:(unsigned int)fp8;
- (id)_nameAtIndex:(unsigned int)fp8;
- (BOOL)_isPaged;
- (BOOL)_isProfileBased;
- (unsigned int)_pageCount;
- (CDAnonymousStruct13)_infoForPage:(unsigned int)fp8;
- (unsigned int)_pageForIndex:(unsigned int)fp8;
@end

@interface NSRegion : NSObject
{
struct _NSRect _bounds;
void *_cgRegion;
}

- (id)init;
- (id)initWithRect:(struct _NSRect)fp8;
- (id)initWithRects:(const struct _NSRect *)fp8 count:(int)fp12;
- (id)initWithCGSRegionObj:(void *)fp8;
- (void)dealloc;
- (id)copy;
- (id)mutableCopy;
- (id)description;
- (void *)cgsRegionObj;
- (BOOL)isEmpty;
- (struct _NSRect)bounds;
- (BOOL)containsRect:(struct _NSRect)fp8;
- (void)getRects:(struct _NSRect **)fp8 count:(int *)fp12;
- (void)setEmpty;
- (void)addRect:(struct _NSRect)fp8;
- (void)addRegion:(id)fp8;
- (void)subtractRegion:(id)fp8;
- (void)intersectWithRect:(struct _NSRect)fp8;
- (void)addClip;

@end

@interface NSSearchField : NSTextField
{
unsigned int _reserved1;
unsigned int _reserved2;
unsigned int _reserved3;
unsigned int _reserved4;
}

+ (void)initialize;
- (void)setRecentSearches:(id)fp8;
- (id)recentSearches;
- (void)setRecentsAutosaveName:(id)fp8;
- (id)recentsAutosaveName;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)setSearchMenuTemplate:(id)fp8;
- (id)searchMenuTemplate;

@end

@interface NSSearchFieldCell : NSTextFieldCell
{
struct __sfFlags _sfFlags;
NSButtonCell *_searchButtonCell;
NSButtonCell *_cancelButtonCell;
NSMenu *_searchMenuTemplate;
NSString *_recentsAutosaveName;
NSMutableArray *_recentSearches;
NSMenu *_searchMenu;
NSTimer *_partialStringTimer;
unsigned int _reserved1;
unsigned int _reserved2;
unsigned int _reserved3;
unsigned int _reserved4;
}

+ (void)initialize;
- (id)init;
- (id)initTextCell:(id)fp8;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)searchButtonCell;
- (void)setSearchButtonCell:(id)fp8;
- (id)cancelButtonCell;
- (void)setCancelButtonCell:(id)fp8;
- (void)resetSearchButtonCell;
- (void)resetCancelButtonCell;
- (struct _NSRect)searchTextRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)searchButtonRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)cancelButtonRectForBounds:(struct _NSRect)fp8;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (struct _NSRect)drawingRectForBounds:(struct _NSRect)fp8;
- (void)setStringValue:(id)fp8;
- (void)setSearchMenuTemplate:(id)fp8;
- (id)searchMenuTemplate;
- (void)setEnabled:(BOOL)fp8;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)setTextColor:(id)fp8;
- (void)_getTextColor:(id *)fp8 backgroundColor:(id *)fp12;
- (BOOL)_shouldSetHighlightToFlag:(BOOL)fp8;
- (id)_selectOrEdit:(const struct _NSRect *)fp8 inView:(id)fp12 target:(id)fp16 editor:(id)fp20 event:(id)fp24 start:(int)fp28 end:(int)fp32;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;
- (void)resetCursorRect:(struct _NSRect)fp8 inView:(id)fp24;
- (void)textDidChange:(id)fp8;
- (BOOL)_sendActionFrom:(id)fp8;
- (void)endEditing:(id)fp8;
- (void)setSendsWholeSearchString:(BOOL)fp8;
- (BOOL)sendsWholeSearchString;
- (void)setMaximumRecents:(int)fp8;
- (int)maximumRecents;
- (void)setRecentSearches:(id)fp8;
- (id)recentSearches;
- (void)setRecentsAutosaveName:(id)fp8;
- (id)recentsAutosaveName;
- (void)encodeWithCoder:(id)fp8;
- (id)initWithCoder:(id)fp8;

@end

@interface NSSearchFieldCell (NSSearchFieldCell_Local)
+ (double)_keyboardDelayForPartialSearchString:(id)fp8;
- (int)_realMaximumRecents;
- (void)_searchFieldSearch:(id)fp8;
- (void)_searchFieldCancel:(id)fp8;
- (void)_searchFieldDoRecent:(id)fp8;
- (void)_searchFieldClearRecents:(id)fp8;
- (void)_sendPartialString;
- (void)_updateSearchMenu;
- (void)_adjustSearchButtonCellImages:(BOOL)fp8:(BOOL)fp12;
- (void)_adjustCancelButtonCellImages:(BOOL)fp8:(BOOL)fp12;
- (void)_addStringToRecentSearches:(id)fp8;
- (BOOL)_trimRecentSearchList;
- (void)_trackButton:(id)fp8 forEvent:(id)fp12 inRect:(struct _NSRect)fp16 ofView:(id)fp32;
- (void)_textDidEndEditing:(id)fp8;
- (void)_autosaveRecentSearchList;
- (void)_loadRecentSearchList;
@end

@interface NSFontDescriptor : NSObject
{
NSMutableDictionary *_attributes;
id _reserved1;
id _reserved2;
id _reserved3;
id _reserved4;
id _reserved5;
}

+ (id)fontDescriptorWithFontAttributes:(id)fp8;
+ (id)fontDescriptorWithName:(id)fp8 size:(float)fp12;
- (id)initWithFontAttributes:(id)fp8;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)fontAttributes;
- (id)_attributes;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;

@end

@interface NSFontManager (NSFontManagerCollectionAdditions)
- (id)_nameForCollection:(id)fp8;
- (id)_collectionWithName:(id)fp8 index:(int *)fp12;
- (id)_fontFromDescriptor:(id)fp8;
- (id)availableFontNamesMatchingFontDescriptor:(id)fp8;
- (id)_availableFontSetNames;
- (void)_collectionsChanged:(id)fp8;
- (id)_openCollections;
- (void)_sortCollections;
- (id)_createDefaultCollectionRep;
- (id)_fontNameForFamily:(id)fp8 face:(id)fp12;
- (id)_faceForFamily:(id)fp8 fontName:(id)fp12;
- (void)_openRegularCollections;
- (id)_fontSetWithName:(id)fp8;
- (void)saveFontCollection:(id)fp8 withName:(id)fp12;
- (id)_defaultFacesForFamily:(id)fp8;
- (id)_createFontPanelRepFromCollection:(id)fp8 removingHidden:(BOOL)fp12;
- (void)_addDescriptorCheckingForDuplicates:(id)fp8 toCollection:(id)fp12;
- (void)_openOldCollections;
- (void)_openOldFavorites;
- (BOOL)addCollection:(id)fp8 options:(int)fp12;
- (void)_addCollection:(id)fp8 options:(int)fp12 sender:(id)fp16;
- (BOOL)removeCollection:(id)fp8;
- (void)addFontDescriptors:(id)fp8 toCollection:(id)fp12;
- (void)_removeFontDescriptor:(id)fp8 fromCollection:(id)fp12 save:(BOOL)fp16;
- (void)removeFontDescriptor:(id)fp8 fromCollection:(id)fp12;
- (id)collectionNames;
- (id)fontDescriptorsInCollection:(id)fp8;
- (id)_collectionWithName:(id)fp8;
- (id)_collections;
- (void)_collection:(id)fp8 setHidden:(BOOL)fp12 save:(BOOL)fp16;
- (void)_collection:(id)fp8 setHidden:(BOOL)fp12;
- (int)_renameCollection:(id)fp8 to:(id)fp12;
- (int)_renameCollectionWithName:(id)fp8 to:(id)fp12;
@end

@interface NSCGImageRep : NSImageRep
{
struct CGImage *_cgImage;
unsigned int reserved1;
unsigned int reserved2;
unsigned int reserved3;
unsigned int reserved4;
}

+ (void)initialize;
- (id)init;
- (id)initWithCGImage:(struct CGImage *)fp8;
- (id)initWithFocusedViewRect:(struct _NSRect)fp8;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (struct CGImage *)CGImage;
- (BOOL)_isValid;
- (BOOL)draw;
- (BOOL)drawAtPoint:(struct _NSPoint)fp8;
- (BOOL)drawInRect:(struct _NSRect)fp8;
- (BOOL)_drawFromRect:(struct _NSRect)fp8 toRect:(struct _NSRect)fp24 operation:(int)fp40 alpha:(float)fp44 compositing:(BOOL)fp48 flipped:(BOOL)fp52 ignoreContext:(BOOL)fp56;

@end

@interface NSAnimationHelper : NSObject
{
struct __CFRunLoop *_runLoop;
struct __CFRunLoopTimer *_moveTimer;
double _moveTimerFiringInterval;
double _startTime;
double _totalTime;
BOOL _done;
}

- (id)init;
- (void)dealloc;
- (BOOL)_isAnimating;
- (double)_timeRemaining;
- (void)_doAnimationStepWithProgress:(float)fp8;
- (void)_doFinalAnimationStep;
- (void)_runBlockingWithDuration:(double)fp8 firingInterval:(double)fp16;
- (void)_startRunWithDuration:(double)fp8 firingInterval:(double)fp16;
- (void)_continueRunWithStartTime:(double)fp8 duration:(double)fp16;
- (void)_stopRun;
- (float)_progress;
- (void)_resetTimer;

@end

@interface NSAnimationHelper (NSPrivate)
- (void)_doAnimationStep;
- (void)_createTimer;
- (void)_doRunLoop;
- (void)_destroyTimer;
@end

@interface NSSearchFieldCell (NSSearchFieldCellAccessibility)
- (id)accessibilityAttributeNames;
- (id)accessibilitySubroleAttribute;
- (id)accessibilitySearchButtonUIElementAttribute;
- (BOOL)accessibilityIsSearchButtonUIElementAttributeSettable;
- (id)accessibilitySearchButtonAttribute;
- (id)accessibilitySearchMenuAttribute;
- (id)accessibilityClearButtonUIElementAttribute;
- (BOOL)accessibilityIsClearButtonUIElementAttributeSettable;
- (id)accessibilityClearButtonAttribute;
- (id)accessibilityChildrenAttribute;
- (BOOL)accessibilityIsChildrenAttributeSettable;
- (struct _NSRect)_accessibilitySearchFieldCellBounds;
- (id)accessibilityHitTest:(struct _NSPoint)fp8;
- (id)accessibilityHelpStringForChild:(id)fp8;
- (BOOL)accessibilityIsChildFocusable:(id)fp8;
- (id)accessibilityPositionOfChild:(id)fp8;
- (id)accessibilitySizeOfChild:(id)fp8;
@end

@interface NSNavView : NSView
{
NSNavDataSource *_dataSource;
id _delegate;
id _delegatedObject;
NSView *_fileListView;
NSBrowser *_browser;
NSOutlineView *_outline;
NSNavSidebarView *_sidebar;
NSControl *_fileListModeControl;
NSControl *_historyControl;
NSNavNodePopUpButton *_pathComponentPicker;
NSNavSplitViewController *_splitViewController;
BOOL restoredSavedSettings;
}

+ (id)navView;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)clockPreferencesChanged:(id)fp8;
- (id)_historyControlCell;
- (id)_fileListModeControlCell;
- (id)_setupSegmentSwitchForControl:(id)fp8 firstImage:(id)fp12 secondImage:(id)fp16 action:(SEL)fp20;
- (void)_setupHistoryControl;
- (void)_setupFileListModeControl;
- (void)awakeFromNib;
- (void)_selectFirstKeyView;
- (void)_swapFileListKeyViewFrom:(id)fp8 to:(id)fp12;
- (void)_concludeDefaultKeyLoopComputation;
- (id)_topContainerView;
- (id)_bottomContainerView;
- (void)tileVertically;
- (void)resizeSubviewsWithOldSize:(struct _NSSize)fp8;
- (void)dealloc;
- (id)_sidebarView;
- (id)_dataSource;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (id)_delegatedObject;
- (void)_setDelegate:(id)fp8 forPanel:(id)fp12;
- (Class)navNodeClass;
- (void)setNavNodeClass:(Class)fp8;
- (id)rootNode;
- (void)setRootNode:(id)fp8;
- (void)setRootPath:(id)fp8;
- (void)reloadRootNode;
- (id)visualRootNode;
- (id)currentDirectoryNode;
- (void)setCurrentDirectoryNode:(id)fp8;
- (BOOL)setSelectionFromDroppedNode:(id)fp8 selectionHelper:(id)fp12;
- (BOOL)setSelectionFromPasteboard:(id)fp8 selectionHelper:(id)fp12;
- (BOOL)_dropNode:(id)fp8;
- (id)showNodeInCurrentDirectoryWithFilename:(id)fp8 selectIfEnabled:(BOOL)fp12;
- (id)showNodeInCurrentDirectoryWithDisplayNamePrefix:(id)fp8 selectIfEnabled:(BOOL)fp12;
- (id)selectedNodes;
- (void)_configureHistoryControl;
- (void)_configureFileListModeControlForMode:(int)fp8;
- (void)_configureForFileListMode:(int)fp8;
- (void)_configurePathComponentPicker;
- (void)_configureForShowingInPanel;
- (void)_handleAppActivation:(id)fp8;
- (void)_handleRootNodeChanged;
- (void)_handleCurrentDirectoryNodeChanged;
- (void)_handleFileListModeChanged;
- (void)_handleSelectionChanged;
- (void)_handleSelectionConfirmed;
- (void)_handleFauxDisabledNodeClicked:(id)fp8;
- (void)_changeHistory:(id)fp8;
- (void)goForwardInHistoryIfPossible;
- (void)goBackwardInHistoryIfPossible;
- (void)goUpDirectory;
- (void)_changeFileListMode:(id)fp8;
- (void)_directoryPopUpButtonClick:(id)fp8;
- (BOOL)performKeyEquivalent:(id)fp8;
- (id)_recentPlacesNode;
- (void)_addCurrentDirectoryToRecentPlaces;
- (int)fileListMode;
- (void)setFileListMode:(int)fp8;
- (id)enabledFileTypes;
- (void)setEnabledFileTypes:(id)fp8;
- (id)fauxFilePackageTypes;
- (void)setFauxFilePackageTypes:(id)fp8;
- (id)displayedFileProperties;
- (BOOL)isFilePropertyDisplayed:(id)fp8;
- (void)setIsFileProperty:(id)fp8 displayed:(BOOL)fp12;
- (id)fileListOrderedByFileProperty;
- (void)setFileListOrderedByFileProperty:(id)fp8;
- (BOOL)isFileListOrderedAscending;
- (void)setIsFileListOrderedAscending:(BOOL)fp8;
- (BOOL)isFileListOrderedCaseSensitive;
- (void)setIsFileListOrderedCaseSensitive:(BOOL)fp8;
- (BOOL)resolvesAliases;
- (void)setResolvesAliases:(BOOL)fp8;
- (BOOL)showsHiddenFiles;
- (void)setShowsHiddenFiles:(BOOL)fp8;
- (BOOL)showsPreviews;
- (void)setShowsPreviews:(BOOL)fp8;
- (BOOL)canChooseDirectories;
- (void)setCanChooseDirectories:(BOOL)fp8;
- (BOOL)canChooseFiles;
- (void)setCanChooseFiles:(BOOL)fp8;
- (BOOL)canClickDisabledFiles;
- (void)setCanClickDisabledFiles:(BOOL)fp8;
- (BOOL)allowsMultipleSelection;
- (void)setAllowsMultipleSelection:(BOOL)fp8;
- (BOOL)treatsFilePackagesAsDirectories;
- (void)setTreatsFilePackagesAsDirectories:(BOOL)fp8;
- (BOOL)treatsDirectoryAliasesAsDirectories;
- (void)setTreatsDirectoryAliasesAsDirectories:(BOOL)fp8;
- (BOOL)calculatesAllSizes;
- (void)setCalculatesAllSizes:(BOOL)fp8;
- (BOOL)allowsExpandingMultipleDirectories;
- (void)setAllowsExpandingMultipleDirectories:(BOOL)fp8;

@end

@interface NSSavePanel : NSPanel
{
NSNavView *_navView;
NSView *_accessoryView;
NSArray *_allowedFileTypes;
NSString *_validatedPosixName;
NSString *_hiddenExtension;
NSTextField *_messageTextField;
NSView *_savePane;
NSBox *_saveNavSeparatorBox;
NSView *_nameFieldContainer;
NSTextField *_nameField;
NSTextField *_nameFieldLabel;
NSButton *_expansionButton;
NSView *_directoryPopUpContainer;
NSNavNodePopUpButton *_directoryPopUp;
NSTextField *_directoryPopUpLabel;
NSBox *_navViewContainer;
NSBox *_accessoryViewContainer;
NSView *_bottomControlsContainer;
NSButton *_hideExtensionButton;
NSButton *_newFolderButton;
NSButton *_cancelButton;
NSButton *_okButton;
NSNavFilepathInputController *_filepathInputController;
NSNavNewFolderController *_newFolderController;
struct __SPFlags _spFlags;
struct NSSavePanelAuxiliary *_spAuxiliaryStorage;
char _reserved[5];
void *_private;
}

+ (id)_crunchyRawUnbonedPanel;
+ (id)savePanel;
- (void)_initSaveMode;
- (id)initWithContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 backing:(int)fp28 defer:(BOOL)fp32;
- (void)_selectFirstKeyView;
- (void)_bonafiedDealloc;
- (void)dealloc;
- (void)orderOut:(id)fp8;
- (id)_navView;
- (void)_restoreDefaultSettingsCommon;
- (void)_restoreDefaultSettingsForSaveMode;
- (void)_restoreDefaultSettingsForOpenMode;
- (void)_initSidebarAndPopups;
- (void)_initPanelCommon;
- (void)_updateOkButtonEnabledState;
- (void)_updateNewFolderButtonEnabledState;
- (void)_updateHideExtensionButtonStateFromNameFieldContents;
- (void)_updateNameFieldContentsFromHideExtensionButtonState;
- (void)_handleNameFieldContentsChanged;
- (id)URL;
- (id)URLs;
- (id)_validatedPosixName;
- (void)_setValidatedPosixName:(id)fp8;
- (id)_hiddenExtension;
- (void)_setHiddenExtension:(id)fp8;
- (id)_nameFieldContentsAsPosixName;
- (void)_setNameFieldContentsFromPosixName:(id)fp8;
- (void)_setInitialNameFieldContentsFromPosixName:(id)fp8;
- (void)_selectNameFieldContentsExcludingExtension;
- (id)filenames;
- (id)filename;
- (BOOL)_isSaveFilenameLengthLegal;
- (id)directory;
- (void)setDirectory:(id)fp8;
- (BOOL)_saveMode;
- (id)requiredFileType;
- (void)setRequiredFileType:(id)fp8;
- (id)allowedFileTypes;
- (void)setAllowedFileTypes:(id)fp8;
- (BOOL)_filenameHasNonEmptyAllowedFileType:(id)fp8;
- (BOOL)_filenameHasAllowedFileType:(id)fp8;
- (BOOL)allowsOtherFileTypes;
- (void)setAllowsOtherFileTypes:(BOOL)fp8;
- (id)_enabledFileTypes;
- (void)_setEnabledFileTypes:(id)fp8;
- (id)accessoryView;
- (void)setAccessoryView:(id)fp8;
- (id)delegate;
- (void)setDelegate:(id)fp8;
- (void)validateVisibleColumns;
- (BOOL)isExpanded;
- (void)_setIsExpanded:(BOOL)fp8;
- (void)toggleIsExpanded:(id)fp8;
- (BOOL)resolvesAliases;
- (void)setResolvesAliases:(BOOL)fp8;
- (BOOL)canCreateDirectories;
- (void)setCanCreateDirectories:(BOOL)fp8;
- (BOOL)canSelectHiddenExtension;
- (void)setCanSelectHiddenExtension:(BOOL)fp8;
- (BOOL)isExtensionHidden;
- (void)setExtensionHidden:(BOOL)fp8;
- (BOOL)canChooseDirectories;
- (void)setCanChooseDirectories:(BOOL)fp8;
- (BOOL)canChooseFiles;
- (void)setCanChooseFiles:(BOOL)fp8;
- (BOOL)allowsMultipleSelection;
- (void)setAllowsMultipleSelection:(BOOL)fp8;
- (BOOL)treatsFilePackagesAsDirectories;
- (void)setTreatsFilePackagesAsDirectories:(BOOL)fp8;
- (id)prompt;
- (void)setPrompt:(id)fp8;
- (id)title;
- (void)setTitle:(id)fp8;
- (id)nameFieldLabel;
- (void)setNameFieldLabel:(id)fp8;
- (id)message;
- (id)_defaultMessageAttributes;
- (void)setMessage:(id)fp8;
- (int)_fetchFileListMode;
- (void)_storeFileListMode;
- (BOOL)_fetchExpandedState;
- (void)_storeExpandedState;
- (struct _NSSize)_fetchExpandedFrameSize;
- (void)_storeExpandedFrameSize;
- (id)_fetchRootDirectory;
- (void)_storeRootDirectory;
- (id)_fetchCurrentDirectory;
- (void)_storeCurrentDirectory;
- (BOOL)_fetchUserSetHideExtensionButtonState;
- (void)_storeUserSetHideExtensionButtonState;
- (BOOL)_canShowGoto;
- (void)_handleGotoFinishedWithResult:(int)fp8;
- (void)gotoSheetDidEnd:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;
- (void)showGotoWithInitialFilename:(id)fp8;
- (BOOL)performKeyEquivalent:(id)fp8;
- (BOOL)_shouldHandleAsGotoForTypedString:(id)fp8;
- (void)keyDown:(id)fp8;
- (BOOL)_handleNameFieldContentsChangedAsGoto;
- (void)newFolder:(id)fp8;
- (void)selectText:(id)fp8;
- (void)hideExtensionButtonClick:(id)fp8;
- (void)directorySelectionPopUpButtonClick:(id)fp8;
- (void)controlTextDidChange:(id)fp8;
- (id)control:(id)fp8 textView:(id)fp12 completions:(id)fp16 forPartialWordRange:(struct _NSRange)fp20 indexOfSelectedItem:(int *)fp28;
- (BOOL)control:(id)fp8 textView:(id)fp12 doCommandBySelector:(SEL)fp16;
- (void)_sendDirectoryDidChange;
- (void)_sendSelectionDidChange;
- (void)_handleRootNodeChanged:(id)fp8;
- (void)_handleCurrentDirectoryChanged:(id)fp8;
- (void)_handleFileListModeChanged:(id)fp8;
- (void)_handleFileListSelectionChanged:(id)fp8;
- (void)_handleFileListConfirmedSelection:(id)fp8;
- (void)_handleDisabledNodeClicked:(id)fp8;
- (void)_registerForDragTypes;
- (unsigned int)draggingEntered:(id)fp8;
- (BOOL)prepareForDragOperation:(id)fp8;
- (BOOL)selectDraggedFileNode:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;

@end

@interface NSSavePanel (NSSavePanelObsoleteMethods)
- (void)_setIncludeNewFolderButton:(BOOL)fp8;
- (int)runModalForDirectory:(id)fp8 file:(id)fp12 types:(id)fp16 relativeToWindow:(id)fp20;
- (int)runModalForDirectory:(id)fp8 file:(id)fp12 relativeToWindow:(id)fp16;
@end

@interface NSNavExpansionButtonCell : NSButtonCell
{
}

- (id)initWithCell:(id)fp8;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (BOOL)_needRedrawOnWindowChangedKeyState;
- (BOOL)acceptsFirstResponder;

@end

@interface NSDisclosureButtonCell : NSNavExpansionButtonCell
{
}

@end

@interface NSNavNameFieldFormatter : NSFormatter
{
NSSavePanel *_panel;
BOOL _autoAddExtensionToNextInput;
}

- (id)initWithPanel:(id)fp8;
- (void)setAutoAddExtensionToNextInput:(BOOL)fp8;
- (id)stringForObjectValue:(id)fp8;
- (BOOL)getObjectValue:(id *)fp8 forString:(id)fp12 errorDescription:(id *)fp16;
- (BOOL)isPartialStringValid:(id *)fp8 proposedSelectedRange:(struct _NSRange *)fp12 originalString:(id)fp16 originalSelectedRange:(struct _NSRange)fp20 errorDescription:(id *)fp28;

@end

@interface NSNavMatrix : NSMatrix
{
unsigned int _lastFoundCellIndex;
}

- (void)_commonInitNavMatrix;
- (id)initWithFrame:(struct _NSRect)fp8 mode:(int)fp24 prototype:(id)fp28 numberOfRows:(int)fp32 numberOfColumns:(int)fp36;
- (id)initWithFrame:(struct _NSRect)fp8 mode:(int)fp24 cellClass:(Class)fp28 numberOfRows:(int)fp32 numberOfColumns:(int)fp36;
- (id)initWithCoder:(id)fp8;
- (BOOL)refusesFirstResponder;
- (BOOL)acceptsFirstResponder;
- (BOOL)becomeFirstResponder;
- (void)setIntercellSpacing:(struct _NSSize)fp8;
- (id)_enclosingBrowser;
- (void)sendMouseUpActionForDisabledCell:(id)fp8 atRow:(int)fp12 column:(int)fp16;
- (id)cellAtPoint:(struct _NSPoint)fp8 row:(int *)fp16 column:(int *)fp20;
- (BOOL)isOpaque;
- (BOOL)getRow:(int *)fp8 column:(int *)fp12 ofCell:(id)fp16;
- (void)updateCell:(id)fp8;
- (void)sizeToCells;
- (void)keyDown:(id)fp8;
- (void)_forceSendDoubleActionForPreviewCell;
- (void)mouseDown:(id)fp8;

@end

@interface NSNavOutlineView : NSOutlineView
{
int _fauxHighlightedCellRow;
int _fauxHighlightedCellCol;
NSCell *_fauxHighlightedCell;
BOOL _isTryingToHideScrollers;
}

+ (int)defaultFocusRingType;
- (void)sendMouseUpActionForDisabledCell:(id)fp8 atRow:(int)fp12 column:(int)fp16;
- (BOOL)shouldHighlightWithoutSelectingCell:(id)fp8 atRow:(int)fp12 column:(int)fp16;
- (void)tile;
- (void)_delegateWillDisplayCellIfNecessary:(id)fp8 forColumn:(id)fp12 row:(int)fp16;
- (id)cellAtRow:(int)fp8 column:(int)fp12 loaded:(BOOL)fp16;
- (id)cellAtPoint:(struct _NSPoint)fp8 row:(int *)fp16 column:(int *)fp20 loaded:(BOOL)fp24;
- (struct _NSRect)_adjustFrameOfOutlineCellIfNecessary:(id)fp8 frame:(struct _NSRect)fp12;
- (void)_drawOutlineCell:(id)fp8 withFrame:(struct _NSRect)fp12 inView:(id)fp28;
- (void)_highlightOutlineCell:(id)fp8 highlight:(BOOL)fp12 withFrame:(struct _NSRect)fp16 inView:(id)fp32;
- (struct _NSRect)_frameOfOutlineCellAtRow:(int)fp8;
- (struct _NSRect)labelRectOfRow:(int)fp8;
- (BOOL)needsPanelToBecomeKey;
- (BOOL)displaysEnabledAtRow:(int)fp8;
- (void)drawRow:(int)fp8 clipRect:(struct _NSRect)fp12;
- (BOOL)_shouldContinueExpandAtLevel:(int)fp8 beganAtLevel:(int)fp12;
- (void)selectRowIndexes:(id)fp8 byExtendingSelection:(BOOL)fp12;
- (BOOL)_sendDelegateCanSelectRow:(int)fp8 byExtendingSelection:(BOOL)fp12;
- (void)keyDown:(id)fp8;
- (BOOL)performKeyEquivalent:(id)fp8;
- (BOOL)showsOutlineCell;
- (struct _NSRect)frameOfCellAtColumn:(int)fp8 row:(int)fp12;
- (void)mouseDown:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (id)initWithFrame:(struct _NSRect)fp8;

@end

@interface NSNavBrowserCell : NSBrowserCell
{
NSNavNode *_node;
BOOL _isPreview;
BOOL _isDirectory;
BOOL _isFauxDisabled;
BOOL _isTrackingMouse;
BOOL _allowsPreview;
BOOL _enableSelectionHighlightIfNecessary;
BOOL _enableTextHighlightIfNecessary;
struct _NSRect _currentCellFrame;
}

+ (void)resetDateFormats;
+ (BOOL)preprefersTrackingUntilMouseUp;
+ (struct _NSSize)iconSize;
+ (void)delayedProcessLogonButtonClick:(id)fp8;
- (id)init;
- (int)_typesetterBehavior;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)node;
- (id)_textAttributes;
- (void)setNode:(id)fp8 isDirectory:(BOOL)fp12 displayState:(int)fp16;
- (void)setPreviewNode:(id)fp8;
- (id)logonButton;
- (void)setShowsLogonButton:(BOOL)fp8;
- (BOOL)showsLogonButton;
- (BOOL)isPreview;
- (BOOL)isDirectory;
- (BOOL)isFauxDisabled;
- (BOOL)hasNodeLabel;
- (id)_currentBranchImage;
- (struct _NSSize)cellSizeForBounds:(struct _NSRect)fp8;
- (struct _NSRect)titleRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)clickableContentRectForBounds:(struct _NSRect)fp8;
- (struct _NSRect)_branchImageRectForBounds:(struct _NSRect)fp8;
- (void)_drawLabelHighlightIfNecessaryWithFrame:(struct _NSRect)fp8 inView:(id)fp24 fullHighlight:(BOOL)fp28;
- (void)_drawHighlightWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)_drawBackgroundWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)setEnableTextHighlightDrawing:(BOOL)fp8;
- (void)setEnableSelectionHighlightDrawing:(BOOL)fp8;
- (BOOL)_usingAlternateHighlightColorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawNormalInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (struct _NSRect)buttonRectForBounds:(struct _NSRect)fp8;
- (void)drawPreviewInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)logonButtonClicked:(id)fp8;
- (BOOL)trackMouse:(id)fp8 inRect:(struct _NSRect)fp12 ofView:(id)fp28 untilMouseUp:(BOOL)fp32;

@end

@interface NSBrowserCell (NSNavPrivate)
- (struct _NSSize)labelSizeForBounds:(struct _NSRect)fp8;
@end

@interface NSNavOutlineCell : NSNavBrowserCell
{
}

- (void)setNode:(id)fp8 displayState:(int)fp12;
- (void)setLeaf:(BOOL)fp8;

@end

@interface NSNavOutlineDateCell : NSTextFieldCell
{
NSFont *_lastFont;
NSFont *_smallerFont;
double _timeIntervalSince1970;
NSMutableAttributedString *_lastDateString;
double _lastDateInterval;
NSMutableDictionary *_normalAttributes;
NSMutableParagraphStyle *_paragraphStyle;
NSMutableAttributedString *_drawingString;
BOOL _use24HourFormat;
BOOL _okToUseYesterdayAndToday;
BOOL _drawnInSelectedRow;
float _lastWidth;
int _dateDetailLevel;
}

+ (void)initialize;
+ (void)resetDateFormats;
- (id)shortTimeFormat;
- (id)fontName;
- (float)fontSize;
- (int)_typesetterBehavior;
- (id)init;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (float)_widthOfLongestDateStringWithLevel:(int)fp8 format:(id)fp12;
- (BOOL)_persistsWidthCacheToUserDefaults;
- (void)_saveWidthsToDefaults;
- (BOOL)_readWidthsFromDefaults;
- (void)_updateDateColumnDetailLevelWidths;
- (BOOL)_updateDateColumnDetailLevels;
- (float)minimumWidth;
- (struct _NSRect)drawingRectForBounds:(struct _NSRect)fp8;
- (id)copyOfCalendarDate;
- (BOOL)shouldUseEnabledTextColor;
- (id)textColor;
- (void)setDrawnInSelectedRow:(BOOL)fp8;
- (BOOL)drawnInSelectedRow;
- (void)drawWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (void)setTimeIntervalSince1970:(double)fp8;
- (void)setObjectValue:(id)fp8;
- (void)setFont:(id)fp8;

@end

@interface NSNavOutlineHeaderCell : NSTableHeaderCell
{
NSTableColumn *_tableColumn;
}

- (void)setTableColumn:(id)fp8;
- (id)tableColumn;
- (id)_outlineView;
- (int)_typesetterBehavior;
- (void)drawInteriorWithFrame:(struct _NSRect)fp8 inView:(id)fp24;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)dealloc;

@end

@interface NSNavBrowserDelegate : NSNavFileListDelegate
{
NSBrowser *_browser;
}

- (void)dealloc;
- (id)browser;
- (void)setBrowser:(id)fp8;
- (void)configureForActiveState;
- (void)configureForInactiveState;
- (void)loadRootAndRestoreCurrentDirectoryNode:(id)fp8 selectedNodes:(id)fp12;
- (BOOL)lightweightHandleChildChanged:(id)fp8 parent:(id)fp12 property:(id)fp16;
- (void)reloadChildrenForNode:(id)fp8;
- (id)visualRootNode;
- (id)currentDirectoryNode;
- (id)currentTypeSelectDirectoryNode;
- (void)setCurrentDirectoryNode:(id)fp8;
- (BOOL)canHighlightNode:(id)fp8;
- (id)showNode:(id)fp8 inDirectory:(id)fp12 selectIfEnabled:(BOOL)fp16;
- (void)handleUserGoUpDirectory;
- (id)selectedNodes;
- (void)configureForCanChooseDirectories:(BOOL)fp8;
- (void)configureForCanChooseFiles:(BOOL)fp8;
- (void)configureForAllowsMultipleSelection:(BOOL)fp8;
- (void)_browserAction:(id)fp8;
- (void)browser:(id)fp8 didClickOnDisabledCell:(id)fp12 atRow:(int)fp16 column:(int)fp20;
- (BOOL)_browser:(id)fp8 keyEvent:(id)fp12 inColumn:(int)fp16;
- (BOOL)_browser:(id)fp8 performKeyEquivalent:(id)fp12 inColumn:(int)fp16;
- (void)_browserDoubleAction:(id)fp8;
- (int)browser:(id)fp8 numberOfRowsInColumn:(int)fp12;
- (void)browser:(id)fp8 willDisplayCell:(id)fp12 atRow:(int)fp16 column:(int)fp20;
- (void)browserColumnConfigurationDidChange:(id)fp8;
- (void)_debug;

@end

@interface _NSNavBrowserColumnSelectionInfo : NSObject
{
NSArray *selectedNodes;
NSNavNode *firstNode;
float firstNodeTopInset;
struct _NSRect visibleRect;
BOOL isPreviewColumn;
}

- (id)description;

@end

@interface NSNavOutlineDelegate : NSNavFileListDelegate
{
NSOutlineView *_outline;
NSNavNode *_currentDirectoryNode;
float _normalIndentationPerLevel;
NSArray *_highlightedNodesToRestore;
}

- (void)dealloc;
- (id)outline;
- (BOOL)supportsSortingByFileProperties;
- (void)prepareForReloadChildrenForNode:(id)fp8;
- (void)setOutline:(id)fp8;
- (void)loadRootAndRestoreCurrentDirectoryNode:(id)fp8 selectedNodes:(id)fp12;
- (void)_synchronizeExpandedNodesWithOutlineExpandedItems;
- (BOOL)lightweightHandleChildChanged:(id)fp8 parent:(id)fp12 property:(id)fp16;
- (void)reloadChildrenForNode:(id)fp8;
- (void)configureForActiveState;
- (void)configureForInactiveState;
- (void)configureForCanChooseDirectories:(BOOL)fp8;
- (void)configureForCanChooseFiles:(BOOL)fp8;
- (void)configureForAllowsMultipleSelection:(BOOL)fp8;
- (void)configureForAllowsExpandingMultipleDirectories:(BOOL)fp8;
- (void)configureForSortedByFileProperty:(id)fp8 ascending:(BOOL)fp12 caseSensitive:(BOOL)fp16;
- (void)configureForDisplayedFileProperties:(id)fp8;
- (id)visualRootNode;
- (id)currentDirectoryNode;
- (void)_setCurrentDirectoryNode:(id)fp8;
- (void)setCurrentDirectoryNode:(id)fp8;
- (id)showNode:(id)fp8 inDirectory:(id)fp12 selectIfEnabled:(BOOL)fp16;
- (id)_doFindIndexesOfNodes:(id)fp8 inDirectory:(id)fp12 visitedNodes:(id)fp16 expandedNodes:(id)fp20;
- (void)_setHighlightedRowsFromNodes:(id)fp8 maintainFirstVisibleRow:(BOOL)fp12;
- (id)_highlightedNodes;
- (id)selectedNodes;
- (void)sendSelectionChangedNotification;
- (void)_outlineAction:(id)fp8;
- (BOOL)_tryUserDrillIntoHighlightedNode;
- (BOOL)outlineView:(id)fp8 keyDownEvent:(id)fp12;
- (BOOL)outlineView:(id)fp8 performKeyEquivalent:(id)fp12;
- (void)outlineView:(id)fp8 didClickOnDisabledCell:(id)fp12 forTableColumn:(id)fp16 byItem:(id)fp20;
- (BOOL)outlineView:(id)fp8 shouldHighlightWithoutSelectingCell:(id)fp12 forTableColumn:(id)fp16 byItem:(id)fp20;
- (BOOL)outlineView:(id)fp8 labelShouldDisplayEnabledAtRow:(int)fp12;
- (void)outlineViewSelectionDidChange:(id)fp8;
- (void)_outlineDoubleAction:(id)fp8;
- (id)outlineView:(id)fp8 child:(int)fp12 ofItem:(id)fp16;
- (void)outlineView:(id)fp8 willDisplayCell:(id)fp12 forTableColumn:(id)fp16 item:(id)fp20;
- (BOOL)outlineView:(id)fp8 isItemExpandable:(id)fp12;
- (int)outlineView:(id)fp8 numberOfChildrenOfItem:(id)fp12;
- (id)outlineView:(id)fp8 objectValueForTableColumn:(id)fp12 byItem:(id)fp16;
- (BOOL)canChooseNode:(id)fp8;
- (BOOL)canHighlightNode:(id)fp8;
- (BOOL)_outlineView:(id)fp8 shouldSelectItem:(id)fp12;
- (id)_chooseableIndexesFromIndexes:(id)fp8;
- (id)outlineView:(id)fp8 shouldSelectRowIndexes:(id)fp12 byExtendingSelection:(BOOL)fp16;
- (BOOL)outlineView:(id)fp8 shouldSelectItem:(id)fp12 byExtendingSelection:(BOOL)fp16;
- (BOOL)outlineView:(id)fp8 shouldEditTableColumn:(id)fp12 item:(id)fp16;
- (void)outlineViewItemDidExpand:(id)fp8;
- (void)outlineViewItemDidCollapse:(id)fp8;
- (void)outlineViewColumnDidMove:(id)fp8;
- (void)outlineView:(id)fp8 sortDescriptorsDidChange:(id)fp12;
- (void)_debug;

@end

@interface NSNavFileListDelegate : NSObject
{
NSNavDataSource *_dataSource;
}

- (id)initWithDataSource:(id)fp8;
- (id)dataSource;
- (id)currentTypeSelectDirectoryNode;
- (id)showNodeInCurrentDirectoryWithFilename:(id)fp8 selectIfEnabled:(BOOL)fp12;
- (id)showNodeInDirectory:(id)fp8 withDisplayNamePrefix:(id)fp12 selectIfEnabled:(BOOL)fp16 caseSensitiveCompare:(BOOL)fp20;
- (id)showNodeInCurrentDirectoryWithDisplayNamePrefix:(id)fp8 selectIfEnabled:(BOOL)fp12;
- (void)handleUserGoUpDirectory;
- (id)_doTypeSelectNodeInDirectory:(id)fp8 withSearchString:(id)fp12 visitedNodes:(id)fp16 expandedNodes:(id)fp20 recursively:(BOOL)fp24;
- (id)typeSelectNodeInTypeSelectDirectoryWithKeyDownEvent:(id)fp8 recursively:(BOOL)fp12;
- (BOOL)_tryUserDrillIntoHighlightedNode;
- (BOOL)_tryUserMoveToParentNode;
- (BOOL)handleKeyboardShortcutWithEvent:(id)fp8;
- (void)getSnapToWidthList:(const float **)fp8 snapRadiusList:(const float **)fp12 count:(int *)fp16;
- (float)minimumWidth;
- (void)setRememberedSnapToIndex:(int)fp8;
- (int)rememberedSnapToIndex;

@end

@interface NSNavFileListDelegate (NSNavFileListDelegateOptionalOverrides)
- (BOOL)lightweightHandleChildChanged:(id)fp8 parent:(id)fp12 property:(id)fp16;
- (BOOL)supportsSortingByFileProperties;
- (void)prepareForReloadChildrenForNode:(id)fp8;
- (void)configureForActiveState;
- (void)configureForInactiveState;
- (void)configureForDisplayedFileProperties:(id)fp8;
- (void)configureForSortedByFileProperty:(id)fp8 ascending:(BOOL)fp12 caseSensitive:(BOOL)fp16;
- (void)configureForShowsPreviews:(BOOL)fp8;
- (void)configureForCanChooseDirectories:(BOOL)fp8;
- (void)configureForCanChooseFiles:(BOOL)fp8;
- (void)configureForCanClickDisabledFiles:(BOOL)fp8;
- (void)configureForAllowsMultipleSelection:(BOOL)fp8;
- (void)configureForTreatsFilePackagesAsDirectories:(BOOL)fp8;
- (void)configureForTreatsDirectoryAliasesAsDirectories:(BOOL)fp8;
- (void)configureForCalculatesAllSizes:(BOOL)fp8;
- (void)configureForAllowsExpandingMultipleDirectories:(BOOL)fp8;
@end

@interface NSNavSidebarItemView : NSBox
{
NSNavNode *_node;
NSNavSidebarItemViewTextField *_textLabel;
NSNavSidebarItemActionButton *_actionButton;
BOOL _alreadyDidSetNeedsDisplayLaterHack;
NSNavSidebarItemRollover *_rollover;
int _rolloverTrackingTag;
BOOL _rolloverTrackingActive;
}

+ (struct _NSSize)iconSize;
+ (float)minimumHeight;
+ (float)maximumHeight;
- (void)_commonInitSidebarItemView;
- (id)initWithFrame:(struct _NSRect)fp8;
- (id)initWithCoder:(id)fp8;
- (struct _NSRect)iconRect;
- (float)_widthToStartRolloverTracking;
- (struct _NSRect)rectForRolloverTracking;
- (id)description;
- (float)sizeToFitWidth;
- (struct _NSSize)iconSize;
- (float)rolloverXLocation;
- (void)tile;
- (void)_installLabel;
- (void)_installActionButtonIfNecessary;
- (void)_uninstallActionButtonIfNecessary;
- (id)label;
- (void)ejectButtonPressedAction:(id)fp8;
- (void)handleNodePropertyChanged;
- (BOOL)hasDirectoryNode;
- (id)initWithFrame:(struct _NSRect)fp8 node:(id)fp24;
- (void)dealloc;
- (id)sidebar;
- (id)_navView;
- (BOOL)isSelected;
- (id)_enclosingSidebarView;
- (BOOL)showPrimarySelection;
- (void)setNeedsDisplayForResponderChange;
- (void)_windowChangedKeyState;
- (id)node;
- (void)_drawIcon;
- (void)drawRect:(struct _NSRect)fp8;
- (void)showRolloverWindow;
- (void)cancelPreviouslScheduleRolloverWindow;
- (void)scheduleShowRolloverWindow;
- (void)hideRolloverWindow;
- (BOOL)configureForRolloverTrackingIfNecessary;
- (void)configureForRolloverTrackingIfNecessaryForClipViewFrameChange;
- (void)clearRolloverTrackingRect;
- (void)repositionRolloverTrackingRectIfNecessary;
- (void)setFrameOrigin:(struct _NSPoint)fp8;
- (void)setFrameSize:(struct _NSSize)fp8;
- (void)unregisterForWindowNotifications;
- (void)registerForWindowNotifications;
- (void)unregisterForEnclosingClipViewNotifications;
- (void)registerForEnclosingClipViewNotifications;
- (void)windowWillCloseNotification:(id)fp8;
- (void)enclosingClipViewBoundsOrFrameDidChangeNotification:(id)fp8;
- (void)viewWillMoveToWindow:(id)fp8;
- (void)viewDidMoveToWindow;
- (void)viewWillMoveToSuperview;
- (void)viewDidMoveToSuperview;
- (void)viewDidEndLiveResize;
- (void)mouseEntered:(id)fp8;
- (void)mouseExited:(id)fp8;

@end

@interface NSNavSidebarItemViewTextField : NSTextField
{
}

- (void)_commonInitSidebarItemViewTextField;
- (id)_enclosingSidebarItem;
- (id)textAttributes;
- (void)setStringValue:(id)fp8;
- (void)drawRect:(struct _NSRect)fp8;

@end

@interface NSNavSidebarView : NSControl
{
int _rememberedSnapToIndex;
float _lastTiledItemViewHeight;
float _lastTiledContentHeight;
float _lastIconHeight;
float _itemViewAreaHeight;
NSNavView *_navView;
BOOL _alreadyHandlingSetFrameSize;
BOOL _registeredForNavChildNotifications;
NSNavNode *_sidebarVolumesNode;
NSNavNode *_sidebarFavoritesNode;
NSMutableArray *_itemViewGroups;
NSMutableArray *_itemViewSeparators;
NSView *_lastLayedView;
}

+ (struct _NSSize)defaultIconSize;
- (BOOL)isFlipped;
- (BOOL)isOpaque;
- (id)initWithFrame:(struct _NSRect)fp8;
- (void)dealloc;
- (id)navView;
- (id)sidebarVolumesNode;
- (id)sidebarFavoritesNode;
- (void)_setSidebarVolumesNode:(id)fp8 favoritesNode:(id)fp12;
- (id)_recursiveSetDefaultKeyViewLoop;
- (void)setDisplayedContainerNodes:(id)fp8;
- (void)_handleChildrenChanged:(id)fp8;
- (void)_handleChildAddedOrRemoved:(id)fp8;
- (void)_handleChildChanged:(id)fp8;
- (struct _NSSize)iconSize;
- (float)spaceForScrollbarAndScrollViewBorder;
- (float)sizeToFitWidth;
- (void)getSnapToWidthList:(const float **)fp8 snapRadiusList:(const float **)fp12 count:(int *)fp16;
- (float)minimumWidth;
- (void)setRememberedSnapToIndex:(int)fp8;
- (int)rememberedSnapToIndex;
- (BOOL)_shouldShowNode:(id)fp8;
- (void)_loadItemViewsForChildrenOfContainerNodes:(id)fp8 existingViewsToKeepTable:(id)fp12;
- (id)_updatedItemViewsForChildrenOfContainerNodes:(id)fp8;
- (void)_reloadSidebarNodes;
- (id)_itemAtPosition:(struct _NSPoint)fp8;
- (id)selectedItem;
- (void)selectItem:(id)fp8;
- (void)mouseDown:(id)fp8;
- (BOOL)_shouldDrawFocusIfInKeyWindow;
- (BOOL)_shouldDrawFocus;
- (BOOL)_showingFocusRingAroundEnclosingScrollView:(id)fp8;
- (void)_drawScrollViewFocusRing:(id)fp8 clipRect:(struct _NSRect)fp12 needsFullDisplay:(BOOL)fp28;
- (void)_setFocusRingNeedsDisplay;
- (void)setKeyboardFocusRingNeedsDisplayInRect:(struct _NSRect)fp8;
- (void)_windowChangedKeyState;
- (BOOL)needsPanelToBecomeKey;
- (void)_moveSelectionBy:(int)fp8;
- (void)moveUp:(id)fp8;
- (void)moveDown:(id)fp8;
- (void)drawRect:(struct _NSRect)fp8;
- (void)handleRootNodeChanged;
- (void)handleCurrentDirectoryNodeChanged;
- (void)handleFileListModeChanged;
- (int)numberOfGroups;
- (id)_orderedSidebarItemViews;
- (id)_allSidebarItemViews;
- (int)totalNumberOfItemViewersAndSeparators;
- (void)_layoutItemViewForWithItemHeight:(float)fp8 allSidebarItemViews:(id)fp12;
- (void)tileIfNecessary;
- (void)tile;
- (void)_setNeedsTiling;
- (void)clipviewBoundsChangedNotification:(id)fp8;
- (void)viewWillMoveToSuperview:(id)fp8;
- (void)_adjustWidthsToFit;
- (void)setFrameSize:(struct _NSSize)fp8;
- (BOOL)acceptsFirstResponder;
- (BOOL)becomeFirstResponder;
- (BOOL)resignFirstResponder;

@end

@interface NSNavSidebarGroupSeparator : NSView
{
}

- (void)drawRect:(struct _NSRect)fp8;
- (BOOL)isOpaque;

@end

@interface NSNavSidebarView (NSNavSidebarViewDragging)
- (unsigned int)draggingEntered:(id)fp8;
- (unsigned int)draggingUpdated:(id)fp8;
- (BOOL)performDragOperation:(id)fp8;
- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)fp8;
- (void)draggedImage:(id)fp8 endedAt:(struct _NSPoint)fp12 operation:(unsigned int)fp20;
@end

@interface NSNavSidebarView (_NSNavProKitExports)
+ (void)_setAppearance:(struct __NSNavSidebarAppearance)fp8;
+ (struct __NSNavSidebarAppearance)_appearance;
@end

@interface NSNavSplitViewController : NSObject
{
NSNavView *_navView;
NSNavSplitView *_splitView;
int _lastUncollapsedSidebarWidth;
int _lastUncollapsedSidebarSplitIndex;
float _sidebarInset;
}

- (id)leftSplitItem;
- (id)rightSplitItem;
- (id)leftView;
- (id)rightView;
- (void)_restoreSplitPositionFromDefaults;
- (void)restoreSavedSettings;
- (void)_saveSplitPositionToDefaults;
- (void)_adjustNibControlSizes;
- (void)awakeFromNib;
- (void)_commonInitSplitViewController;
- (id)init;
- (id)initWithCoder:(id)fp8;
- (void)dealloc;
- (id)sidebarView;
- (id)filelistDelegate;
- (float)_snapSplitPosition:(float)fp8 forItem:(id)fp12 snapIndex:(int *)fp16;
- (float)splitView:(id)fp8 constrainSplitPosition:(float)fp12 ofSubviewAt:(int)fp16;
- (BOOL)_snapPositionConstrainedResizeSplitView:(id)fp8;
- (void)_setSidebarWidth:(float)fp8 maintainSnap:(BOOL)fp12 constrain:(BOOL)fp16;
- (void)splitView:(id)fp8 resizeSubviewsWithOldSize:(struct _NSSize)fp12;
- (BOOL)_isSidebarCollapsed;
- (void)_updateLastUncollapsedSidebarWidth;
- (void)splitViewWillTrackOrResize:(id)fp8;
- (void)splitViewDidTrackOrResize:(id)fp8;
- (void)_toggleCollapsedSplitView;
- (void)splitViewDoubleClick:(id)fp8;

@end

@interface NSNavDisplayNameFilePropertySortDescriptor : NSNavFilePropertySortDescriptor
{
id _delegate;
NSSavePanel *_panel;
NSNavView *_navView;
BOOL _caseSensitive;
}

- (id)initWithDataSource:(id)fp8 ascending:(BOOL)fp12;
- (int)compareObject:(id)fp8 toObject:(id)fp12;

@end

@interface NSNavFilePropertySortDescriptor : NSSortDescriptor
{
NSString *_fileProperty;
NSNavDataSource *_dataSource;
}

+ (id)sortDescriptorForFileProperty:(id)fp8 dataSource:(id)fp12 ascending:(BOOL)fp16;
- (id)initWithFileProperty:(id)fp8 dataSource:(id)fp12 ascending:(BOOL)fp16;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (id)fileProperty;

@end

@interface NSString (NSNavFilePropertyComparisonAdditions)
- (int)_NSNavFilePropertyCompare:(id)fp8;
- (int)_NSNavFilePropertyCompareCaseInsenstive:(id)fp8;
- (int)_NSNavDisplayNameCompare:(id)fp8 caseSensitive:(BOOL)fp12;
- (int)_NSNavShortVersionCompare:(id)fp8;
@end

@interface NSNavNode (NSNavPhysicalSizeComparisonAdditions)
- (int)_physicalSizeCompare:(id)fp8;
@end

@interface NSNavDataSource : NSObject
{
NSNavView *_navView;
NSNavNode *_rootNode;
Class _navNodeClass;
int _fileListMode;
NSArray *_enabledFileTypes;
NSArray *_fauxFilePackageTypes;
NSMutableArray *_allFileProperties;
NSMutableArray *_displayedFileProperties;
NSString *_fileListOrderedByFileProperty;
BOOL _resolvesAliases;
BOOL _showsHiddenFiles;
BOOL _showsPreviews;
BOOL _canChooseFiles;
BOOL _canChooseDirectories;
BOOL _canClickDisabledFiles;
BOOL _allowsMultipleSelection;
BOOL _treatsFilePackagesAsDirectories;
BOOL _treatsDirectoryAliasesAsDirectories;
BOOL _calculatesAllSizes;
BOOL _isFileListOrderedDescending;
BOOL _isFileListOrderedCaseSensitive;
BOOL _allowsExpandingMultipleDirectories;
BOOL _isReloading;
struct _NSMapTable *_childrenCache;
NSMutableArray *_expandedNodes;
NSMutableArray *_history;
int _currentHistoryPosition;
NSNavFileListDelegate *_browserDelegate;
NSNavFileListDelegate *_outlineDelegate;
NSNavFileListDelegate *_naughtDelegate;
void *_private;
}

- (void)_fetchOrderedByFileProperty:(id *)fp8 orderedAscending:(char *)fp12;
- (void)_storeOrderedByFileProperty:(id)fp8 orderedAscending:(BOOL)fp12;
- (id)initWithNavView:(id)fp8;
- (void)dealloc;
- (id)navView;
- (id)browser;
- (void)setBrowser:(id)fp8;
- (id)outline;
- (void)setOutline:(id)fp8;
- (Class)navNodeClass;
- (void)setNavNodeClass:(Class)fp8;
- (id)rootNode;
- (void)_setRootNode:(id)fp8 makeHistory:(BOOL)fp12 notify:(BOOL)fp16;
- (void)setRootNode:(id)fp8;
- (void)setRootPath:(id)fp8;
- (void)reloadRootNode;
- (id)visualRootNode;
- (void)_loadRootAndRestoreCurrentDirectoryNode:(id)fp8 selectedNodes:(id)fp12;
- (id)currentDirectoryNode;
- (void)_setCurrentDirectoryNode:(id)fp8 makeHistory:(BOOL)fp12 notify:(BOOL)fp16;
- (void)setCurrentDirectoryNode:(id)fp8;
- (id)showNodeInCurrentDirectoryWithFilename:(id)fp8 selectIfEnabled:(BOOL)fp12;
- (id)showNodeInCurrentDirectoryWithDisplayNamePrefix:(id)fp8 selectIfEnabled:(BOOL)fp12;
- (id)selectedNodes;
- (void)sync;
- (int)fileListMode;
- (void)setFileListMode:(int)fp8;
- (id)enabledFileTypes;
- (void)setEnabledFileTypes:(id)fp8;
- (BOOL)_isNodeFileTypeEnabled:(id)fp8;
- (id)fauxFilePackageTypes;
- (void)setFauxFilePackageTypes:(id)fp8;
- (BOOL)_isFauxFilePackageNode:(id)fp8;
- (id)displayedFileProperties;
- (BOOL)isFilePropertyDisplayed:(id)fp8;
- (void)setIsFileProperty:(id)fp8 displayed:(BOOL)fp12;
- (id)fileListOrderedByFileProperty;
- (void)setFileListOrderedByFileProperty:(id)fp8;
- (BOOL)isFileListOrderedAscending;
- (void)setIsFileListOrderedAscending:(BOOL)fp8;
- (BOOL)isFileListOrderedCaseSensitive;
- (void)setIsFileListOrderedCaseSensitive:(BOOL)fp8;
- (void)setFileListOrderedByFileProperty:(id)fp8 ascending:(BOOL)fp12;
- (void)setFileListOrderedByFileProperty:(id)fp8 ascending:(BOOL)fp12 caseSensitive:(BOOL)fp16;
- (BOOL)resolvesAliases;
- (void)setResolvesAliases:(BOOL)fp8;
- (BOOL)showsHiddenFiles;
- (void)setShowsHiddenFiles:(BOOL)fp8;
- (BOOL)showsPreviews;
- (void)setShowsPreviews:(BOOL)fp8;
- (BOOL)canChooseDirectories;
- (void)setCanChooseDirectories:(BOOL)fp8;
- (BOOL)canChooseFiles;
- (void)setCanChooseFiles:(BOOL)fp8;
- (BOOL)canClickDisabledFiles;
- (void)setCanClickDisabledFiles:(BOOL)fp8;
- (BOOL)allowsMultipleSelection;
- (void)setAllowsMultipleSelection:(BOOL)fp8;
- (BOOL)treatsFilePackagesAsDirectories;
- (void)setTreatsFilePackagesAsDirectories:(BOOL)fp8;
- (BOOL)treatsDirectoryAliasesAsDirectories;
- (void)setTreatsDirectoryAliasesAsDirectories:(BOOL)fp8;
- (BOOL)calculatesAllSizes;
- (void)setCalculatesAllSizes:(BOOL)fp8;
- (BOOL)allowsExpandingMultipleDirectories;
- (void)setAllowsExpandingMultipleDirectories:(BOOL)fp8;
- (void)_reloadChildrenForNode:(id)fp8;
- (void)_prepareForReloadChildrenForNode:(id)fp8;
- (void)_concludeReloadChildrenForNode:(id)fp8;
- (BOOL)isReloading;
- (BOOL)shouldShowPreviewColumn:(id)fp8;
- (BOOL)isDirectoryNode:(id)fp8;
- (int)displayStateForNode:(id)fp8;
- (BOOL)isFauxDisabledNode:(id)fp8;
- (BOOL)isSizeDisplayedForNode:(id)fp8;
- (id)_browserDelegate;
- (id)_outlineDelegate;
- (id)_naughtDelegate;
- (id)activeFileListDelegate;
- (void)handleDelegateChangedSelection;
- (void)handleDelegateConfirmedSelection;
- (void)handleDelegateChangedCurrentDirectory;
- (void)handleDelegateClickedFauxDisabledNode:(id)fp8;
- (void)handleDelegateMovedDiplayedProperty:(id)fp8 toIndex:(unsigned int)fp12;
- (void)_flushCachedChildrenForNode:(id)fp8;
- (void)_flushAllCachedChildren;
- (id)_cachedChildrenForNode:(id)fp8 createIfNeeded:(BOOL)fp12;
- (id)cachedChildrenForNode:(id)fp8;
- (id)expandedNodes;
- (void)setExpandedNodes:(id)fp8;
- (BOOL)isExpandedNode:(id)fp8;
- (void)addExpandedNode:(id)fp8;
- (void)removeExpandedNode:(id)fp8;
- (void)removeExpandedNodesStartingWithIndex:(unsigned int)fp8;
- (void)removeAllExpandedNodes;
- (void)_syncAllExpandedNodes;
- (void)_makeHistory;
- (BOOL)canGoBack;
- (BOOL)canGoForward;
- (void)_goToHistoryState:(id)fp8;
- (void)goBack;
- (void)goForward;
- (void)goUpDirectory;
- (id)_actualOrderingFilePropertyAscending:(char *)fp8;
- (id)_sortDescriptors;
- (unsigned int)_leftmostInsertionIndexForNode:(id)fp8 inOrderedNodes:(id)fp12 withSortDescriptors:(id)fp16;
- (unsigned int)_leftmostInsertionIndexForNode:(id)fp8 inOrderedNodes:(id)fp12;
- (unsigned int)_indexOfNode:(id)fp8 inOrderedNodes:(id)fp12;
- (unsigned int)indexOfNode:(id)fp8 inCachedChildrenForNode:(id)fp12;
- (id)entryForNode:(id)fp8 inCachedChildrenForNode:(id)fp12;
- (unsigned int)indexOfBestMatchForDisplayNamePrefix:(id)fp8 inCachedChildrenForNode:(id)fp12;
- (void)_sortNodes:(id)fp8;
- (BOOL)_showsNode:(id)fp8;
- (void)_filterNodeList:(id)fp8;
- (void)_filterAndSortNodeList:(id)fp8;
- (BOOL)_updateNodeList:(id)fp8 byAddingNode:(id)fp12;
- (BOOL)_updateNodeList:(id)fp8 byRemovingNode:(id)fp12 sendPrepareMessageWithParentNode:(id)fp16;
- (BOOL)_updateNodeList:(id)fp8 forChangedProperty:(id)fp12 ofNode:(id)fp16;
- (id)_affectedExpandedNodes:(id)fp8;
- (void)_handleChildrenChanged:(id)fp8;
- (void)_handleChildAdded:(id)fp8;
- (void)_handleChildRemoved:(id)fp8;
- (BOOL)_lightweightHandleChildChanged:(id)fp8 parent:(id)fp12 property:(id)fp16;
- (void)_handleChildChanged:(id)fp8;

@end

@interface NSNavHistoryState : NSObject
{
NSNavNode *_rootNode;
NSNavNode *_currentDirectoryNode;
}

- (id)initWithRootNode:(id)fp8 currentDirectoryNode:(id)fp12;
- (void)dealloc;
- (BOOL)isEqual:(id)fp8;
- (id)rootNode;
- (id)currentDirectoryNode;

@end

@interface NSNavDataSource (NSNavDataSourceDebugging)
- (void)_debug;
@end

@interface NSNavFBENetworkNode : NSNavFBEContainerNode
{
}

+ (id)networkNode;
- (BOOL)isVisible;
- (id)parent;

@end

@interface NSNavFBETopLevelNode : NSNavFBEContainerNode
{
}

+ (id)topLevelNode;
- (id)children;

@end

@interface NSNavFBEContainerNode : NSNavFBENode
{
BOOL _registeredForChildNotifications;
}

+ (struct OpaqueEventQueue *)eventQueue;
+ (void)_postNotification:(id)fp8 parent:(id)fp12 child:(id)fp16 fbeProperty:(int)fp20;
+ (void)_postNotification:(id)fp8 parent:(id)fp12 child:(id)fp16;
+ (void)_postNotification:(id)fp8 parent:(id)fp12;
+ (void)_processNotifications:(id)fp8;
- (void)sync;
- (BOOL)_registeredForChildNotifications;
- (void)_setRegisteredForChildNotifications:(BOOL)fp8;
- (void)_registerForChildChangedNotifications;
- (void)_unregisterForChildChangedNotifications;
- (void)dealloc;
- (id)children;
- (BOOL)isVolumeLocal;
- (BOOL)canVolumeBeUnmounted;
- (BOOL)isVolumeEjectable;
- (BOOL)ejectVolume;

@end

@interface NSNavFBENode : NSNavNode
{
struct OpaqueNodeRef *_fbeNode;
}

+ (void)initialize;
+ (id)nodeWithFBENode:(struct OpaqueNodeRef *)fp8;
+ (id)topLevelNode;
+ (id)sidebarContainerNodes;
+ (id)iDiskNode;
+ (id)findSidebarNodeForNode:(id)fp8;
+ (id)nodeWithPath:(id)fp8;
- (id)initWithFBENode:(struct OpaqueNodeRef *)fp8;
- (id)initWithPath:(id)fp8 logonOK:(BOOL)fp12;
- (id)initWithPath:(id)fp8;
- (void)dealloc;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (BOOL)isEqual:(id)fp8;
- (unsigned int)hash;
- (struct OpaqueNodeRef *)fbeNode;
- (id)description;
- (id)parent;
- (id)originalNode:(BOOL)fp8;
- (void)sync;
- (BOOL)isContainer;
- (id)displayName;
- (id)path;
- (id)name;
- (BOOL)isVisible;
- (BOOL)isPackage;
- (BOOL)isAlias;
- (BOOL)isVolume;
- (BOOL)isExtensionHidden;
- (BOOL)isDisconnectedMountPoint;
- (BOOL)eject;
- (BOOL)isEjectable;
- (struct OpaqueIconRef *)copyIcon;
- (struct OpaqueIconRef *)copyPreviewIcon;
- (id)modDate;
- (id)creationDate;
- (long long)physicalSize;
- (long long)logicalSize;
- (long long)capacity;
- (long long)freeSpace;
- (long long)usedSize;
- (id)kind;
- (id)fileType;
- (id)shortVersion;
- (id)comment;
- (short)_labelColorIndex;
- (id)_labelPatternColorForLabelIndex:(short)fp8;
- (id)labelColor;
- (id)finderPath;

@end

@interface NSNavNode : NSObject
{
}

- (id)originalNode;
- (id)description;
- (BOOL)isDescendantOf:(id)fp8;
- (id)ancestorsStartingWith:(id)fp8;
- (id)children;

@end

@interface NSOpenPanel : NSSavePanel
{
char _reservedOpenPanel[4];
void *_privateOpenPanel;
}

+ (id)openPanel;
- (void)_initSaveMode;
- (id)URLs;
- (id)filenames;
- (BOOL)resolvesAliases;
- (void)setResolvesAliases:(BOOL)fp8;
- (BOOL)canChooseDirectories;
- (void)setCanChooseDirectories:(BOOL)fp8;
- (BOOL)allowsMultipleSelection;
- (void)setAllowsMultipleSelection:(BOOL)fp8;
- (BOOL)canChooseFiles;
- (void)setCanChooseFiles:(BOOL)fp8;
- (BOOL)_blocksActionWhenModal:(SEL)fp8;

@end

@interface NSNavVirtualNode : NSNavNode
{
NSNavNode *_parent;
NSString *_name;
NSString *_displayName;
NSString *_path;
NSNavNode *_originalNode;
struct OpaqueIconRef *_iconRef;
BOOL _isContainer;
BOOL _isVisible;
BOOL _isPackage;
BOOL _isAlias;
BOOL _isVolume;
BOOL _isExtensionHidden;
BOOL _isDisconnectedMountPoint;
NSDate *_modDate;
NSDate *_creationDate;
long long _physicalSize;
long long _logicalSize;
long long _usedSize;
NSString *_kind;
NSString *_fileType;
NSString *_shortVersion;
NSString *_comment;
NSMutableArray *_children;
}

+ (id)node;
+ (id)containerNode;
+ (id)containerNodeWithChildren:(id)fp8;
- (id)init;
- (id)initWithPath:(id)fp8 logonOK:(BOOL)fp12;
- (id)initWithPath:(id)fp8;
- (void)dealloc;
- (id)addChildWithPath:(id)fp8;
- (void)addChild:(id)fp8;
- (void)addChildren:(id)fp8;
- (id)parent;
- (void)setParent:(id)fp8;
- (id)name;
- (void)setName:(id)fp8;
- (id)displayName;
- (void)setDisplayName:(id)fp8;
- (id)path;
- (void)setPath:(id)fp8;
- (id)originalNode:(BOOL)fp8;
- (void)setOriginalNode:(id)fp8;
- (struct OpaqueIconRef *)copyIcon;
- (struct OpaqueIconRef *)copyPreviewIcon;
- (void)setIconRef:(struct OpaqueIconRef *)fp8;
- (void)sync;
- (BOOL)isContainer;
- (void)setIsContainer:(BOOL)fp8;
- (BOOL)isVisible;
- (void)setIsVisible:(BOOL)fp8;
- (BOOL)isPackage;
- (void)setIsPackage:(BOOL)fp8;
- (BOOL)isAlias;
- (void)setIsAlias:(BOOL)fp8;
- (BOOL)isVolume;
- (void)setIsVolume:(BOOL)fp8;
- (BOOL)isExtensionHidden;
- (void)setIsExtensionHidden:(BOOL)fp8;
- (BOOL)isDisconnectedMountPoint;
- (void)setIsDisconnectedMountPoint:(BOOL)fp8;
- (BOOL)eject;
- (BOOL)isEjectable;
- (id)modDate;
- (void)setModDate:(id)fp8;
- (id)creationDate;
- (void)setCreationDate:(id)fp8;
- (long long)physicalSize;
- (void)setPhysicalSize:(long long)fp8;
- (long long)logicalSize;
- (void)setLogicalSize:(long long)fp8;
- (long long)usedSize;
- (void)setUsedSize:(long long)fp8;
- (id)kind;
- (void)setKind:(id)fp8;
- (id)fileType;
- (void)setFileType:(id)fp8;
- (id)shortVersion;
- (void)setShortVersion:(id)fp8;
- (id)comment;
- (void)setComment:(id)fp8;
- (id)labelColor;
- (id)children;
- (void)setChildren:(id)fp8;

@end

@interface NSSavePanelNameFieldCell : NSTextFieldCell
{
}

- (BOOL)wantsNotificationForMarkedText;

@end

@interface NSMoveHelper (NSSavePanel)
- (void)_moveParent:(id)fp8 andExpandPanel:(id)fp12 toFrame:(struct _NSRect)fp16;
- (void)_collapsePanel:(id)fp8 andMoveParent:(id)fp12 toFrame:(struct _NSRect)fp16;
- (void)_animatePanel;
@end

@interface NSSavePanel (NSSavePanelLayout)
+ (struct _NSSize)_minExpandedFrameSize;
+ (struct _NSSize)_minContentRectSize;
- (void)_adjustMinContentSizeForMinFrameSize:(struct _NSSize)fp8;
- (float)_computeMinWidthForSimpleSavePanel:(BOOL)fp8;
- (float)_computeMinHeightForSimpleSavePanel:(BOOL)fp8;
- (struct _NSSize)_minExpandedFrameSize;
- (struct _NSSize)_minNonExpandedFrameSize;
- (void)saveFrameUsingName:(id)fp8;
- (void)setContentView:(id)fp8;
- (void)_initContentView;
- (void)_configureMessageView;
- (void)_configureSavePane;
- (void)_configureAccessoryView;
- (void)_configureDirectoryPopup;
- (void)_configureBottomControls;
- (void)_fixupKeyboardLoop;
- (void)_adjustPanelForMinWidth;
- (void)accessoryViewContainerContentFrameDidChange:(id)fp8;
- (void)_layoutViewsVerticallyAndResize;
- (void)_centerOnScreen;
- (void)_resizeKeepingPanelOnScreen:(struct _NSRect)fp8 expand:(BOOL)fp24;
@end

@interface NSSavePanel (NSSavePanelRuntime)
- (void)_saveCurrentPanelState:(int)fp8;
- (void)_configureForDirectory:(id)fp8 name:(id)fp12;
- (int)runModalForDirectory:(id)fp8 file:(id)fp12 types:(id)fp16;
- (void)beginSheetForDirectory:(id)fp8 file:(id)fp12 types:(id)fp16 modalForWindow:(id)fp20 modalDelegate:(id)fp24 didEndSelector:(SEL)fp28 contextInfo:(void *)fp32;
- (void)beginForDirectory:(id)fp8 file:(id)fp12 types:(id)fp16 modelessDelegate:(id)fp20 didEndSelector:(SEL)fp24 contextInfo:(void *)fp28;
- (void)_didEndSheet:(id)fp8 returnCode:(int)fp12 contextInfo:(void *)fp16;
- (void)_dismissModeless:(int)fp8;
- (int)runModalForDirectory:(id)fp8 file:(id)fp12;
- (int)runModal;
- (void)beginSheetForDirectory:(id)fp8 file:(id)fp12 modalForWindow:(id)fp16 modalDelegate:(id)fp20 didEndSelector:(SEL)fp24 contextInfo:(void *)fp28;
- (int)runModalForTypes:(id)fp8;
- (id)_nameWithLooseRequiredExtensionCheck:(id)fp8;
- (id)_nameWithStrictRequiredExtensionCheck:(id)fp8;
- (id)_nameWithRequiredExtensionCheck:(id)fp8;
- (BOOL)_legalNameCheck:(id)fp8;
- (BOOL)_overwriteExistingFileCheck:(id)fp8;
- (BOOL)_okForSaveMode;
- (BOOL)_okForOpenMode;
- (BOOL)_isModal;
- (void)ok:(id)fp8;
- (void)cancel:(id)fp8;
@end

@interface NSNavNodePopUpButton : NSPopUpButton
{
NSMutableDictionary *_nodeInfoTable;
NSMutableArray *_groupIdentifiers;
BOOL _inMenuTrackingMode;
BOOL _otherMenuContentsDirty;
BOOL _otherMenuIconsDirty;
BOOL _firstItemDirty;
}

- (Class)cellClass;
- (void)_commonInitNavNodePopUpButton;
- (id)initWithFrame:(struct _NSRect)fp8;
- (id)initWithCoder:(id)fp8;
- (void)dealloc;
- (void)appendDisplayedNode:(id)fp8 identifier:(id)fp12 title:(id)fp16 displaysChildren:(BOOL)fp20;
- (void)replaceNodeWithIdentifier:(id)fp8 withNode:(id)fp12;
- (void)_handleChildChanged:(id)fp8;
- (id)selectedNavNode;
- (BOOL)_lastItemIsNonSeparator;
- (void)_updateMenuItemIcon:(id)fp8;
- (id)_keyEquivalentForNode:(id)fp8;
- (id)_newIconlessMenuItemForNavNode:(id)fp8;
- (void)_popUpItemAction:(id)fp8;
- (id)_blockAndGetChildrenOfNavNode:(id)fp8;
- (id)_nodesToDisplayForNodeInfo:(id)fp8;
- (void)_appendItemsForNodeInfo:(id)fp8;
- (void)_loadIconlessMenuContentsIfNecessary;
- (void)_loadMenuItemIconsIfNecessary;
- (void)menuNeedsUpdate:(id)fp8;
- (void)willPopUpNotification:(id)fp8;
- (void)doneTrackingMenu:(id)fp8;
- (void)_setContentsDirty:(BOOL)fp8;
- (void)_updateFirstItemIfNecessary;
- (void)drawRect:(struct _NSRect)fp8;

@end

@interface NSNavNodePopUpButtonCell : NSPopUpButtonCell
{
}

- (int)_lineBreakMode;

@end

@interface NSArray (_NSBinderKeyValueCodingAdditions)
- (void)_invokeSelector:(SEL)fp8 withArguments:(id)fp12 onKeyPath:(id)fp16 ofObjectAtIndex:(unsigned int)fp20;
@end

@interface NSObject (_NSBinderKeyValueCodingAdditions)
- (void)_invokeSelector:(SEL)fp8 withArguments:(id)fp12 onKeyPath:(id)fp16;
@end

@interface _NSBindingAdaptor : NSObject
{
NSMutableArray *_binders;
id _editableBinder;
id _referenceBinder;
id _contentBinder;
}

+ (void)copyBindingsFromObject:(id)fp8 toObject:(id)fp12;
+ (id)returnDisconnectedBindingsOfObject:(id)fp8;
+ (void)reconnectBindings:(id)fp8;
- (id)init;
- (void)dealloc;
- (void)addBinder:(id)fp8;
- (void)removeBinder:(id)fp8;
- (id)binders;
- (id)editableBinder;
- (id)referenceBinder;
- (id)contentBinder;
- (void)_discardEditingForAllBinders;
- (void)_objectDidTriggerAction:(id)fp8 bindingAdaptor:(id)fp12;
- (void)objectDidTriggerAction:(id)fp8;
- (void)_editor:(id)fp8 didChangeEditingState:(BOOL)fp12 bindingAdaptor:(id)fp16;
- (void)editorDidBeginEditing:(id)fp8;
- (void)editorDidEndEditing:(id)fp8;
- (BOOL)_handleValidationError:(id)fp8 description:(id)fp12 inEditor:(id)fp16 errorUserInterfaceHandled:(char *)fp20 bindingAdaptor:(id)fp24;
- (BOOL)handleValidationError:(id)fp8 description:(id)fp12 inEditor:(id)fp16 errorUserInterfaceHandled:(char *)fp20;
- (BOOL)_validateAndCommitValueInEditor:(id)fp8 editingIsEnding:(BOOL)fp12 errorUserInterfaceHandled:(char *)fp16 bindingAdaptor:(id)fp20;
- (BOOL)validateAndCommitValueInEditor:(id)fp8 editingIsEnding:(BOOL)fp12 errorUserInterfaceHandled:(char *)fp16;
- (void)tabView:(id)fp8 didSelectTabViewItem:(id)fp12;
- (void)window:(id)fp8 didChangeToVisibleState:(BOOL)fp12;
- (void)windowDidResize:(id)fp8;
- (void)drawer:(id)fp8 didChangeToState:(BOOL)fp12;
- (void)updateFromSegmentedControl:(id)fp8;
- (int)numberOfRowsInTableView:(id)fp8;
- (BOOL)tableView:(id)fp8 shouldEditTableColumn:(id)fp12 row:(int)fp16;
- (void)tableView:(id)fp8 willDisplayCell:(id)fp12 forTableColumn:(id)fp16 row:(int)fp20;
- (void)tableView:(id)fp8 didChangeToSortDescriptors:(id)fp12;
- (void)tableView:(id)fp8 didChangeToSelectedRowIndexes:(id)fp12;
- (void)tableView:(id)fp8 updateVisibleRowInformation:(struct _NSRange)fp12;
- (void)tableColumn:(id)fp8 willDisplayCell:(id)fp12 row:(int)fp16;
- (void)tableColumn:(id)fp8 didChangeToWidth:(float)fp12;
- (id)defaultSortDescriptorPrototypeForTableColumn:(id)fp8;
- (void)searchFieldCellOrControlDidClearRecents:(id)fp8;
- (id)updateInvalidatedObjectValue:(id)fp8 forObject:(id)fp12;
- (id)updateInvalidatedFont:(id)fp8 forObject:(id)fp12;
- (id)updateInvalidatedTextColor:(id)fp8 forObject:(id)fp12;

@end

@interface NSObject (_NSBindingAdaptorAccess)
- (void)_setBindingAdaptor:(id)fp8;
- (id)_bindingAdaptor;
- (void)_releaseBindingAdaptor;
@end

@interface _NSModelObservingTracker : NSObject
{
id _modelObserver;
NSArray *_availableModelAndProxyKeys;
NSArray *_indexReferenceModelObjectArray;
NSMutableIndexSet *_observedModelIndexData;
void *_observedModelObjectsData;
struct __modelObservingTrackerFlags _modelObservingTrackerFlags;
NSMutableDictionary *_observedModelKeyPathInfoTable;
NSMutableArray *_modelAndProxyKeysObserved;
}

- (id)initWithModelObserver:(id)fp8 availableModelAndProxyKeys:(id)fp12;
- (void)dealloc;
- (void)setIndexReferenceModelObjectArray:(id)fp8 clearAllModelObjectObserving:(BOOL)fp12;
- (id)indexReferenceModelObjectArray;
- (void)updateReferenceIndexesToReflectInsertionAtIndex:(unsigned int)fp8;
- (void)updateReferenceIndexesToReflectInsertionAtIndexes:(id)fp8;
- (void)updateReferenceIndexesToReflectRemovalAtIndex:(unsigned int)fp8;
- (void)updateReferenceIndexesToReflectRemovalAtIndexes:(id)fp8;
- (void)_registerOrUnregister:(BOOL)fp8 observerNotificationsForKeyPath:(id)fp12 ofModelObject:(id)fp16;
- (void)_registerOrUnregister:(BOOL)fp8 observerNotificationsForModelObject:(id)fp12;
- (void)_registerOrUnregister:(BOOL)fp8 observerNotificationsForKeyPath:(id)fp12;
- (void)_startObservingModelObject:(id)fp8;
- (void)_stopObservingModelObject:(id)fp8;
- (void)startObservingModelObjectAtReferenceIndex:(unsigned int)fp8;
- (void)stopObservingModelObjectAtReferenceIndex:(unsigned int)fp8;
- (void)startObservingModelObjectsAtReferenceIndexes:(id)fp8;
- (void)stopObservingModelObjectsAtReferenceIndexes:(id)fp8;
- (void)setObservingToModelObjectsRange:(struct _NSRange)fp8;
- (void)startObservingModelObject:(id)fp8;
- (void)stopObservingModelObject:(id)fp8;
- (void)clearAllModelObjectObserving;
- (void)_registerObservedModelKeyPath:(id)fp8;
- (void)_unregisterObservedModelKeyPath:(id)fp8;
- (void)analyzeKeyPath:(id)fp8 registerOrUnregister:(BOOL)fp12;
- (id)modelAndProxyKeysObserved;
- (void)_logObservingInfo;

@end

@interface _NSExpectedObservingInfo : NSObject
{
unsigned int _suppressAllNotificationCounter;
id _allSuppressedObject;
id _specificSuppressedObject;
NSString *_specificSuppressedKeyPath;
}

- (id)init;
- (void)dealloc;
- (void)suppressAllNotifications;
- (void)unsuppressAllNotifications;
- (void)suppressAllNotificationsFromObject:(id)fp8;
- (void)unsuppressAllNotificationsFromObject:(id)fp8;
- (void)suppressSpecificNotificationFromObject:(id)fp8 keyPath:(id)fp12;
- (void)unsuppressSpecificNotificationFromObject:(id)fp8 keyPath:(id)fp12;
- (BOOL)shouldSuppressNotificationFromObject:(id)fp8 keyPath:(id)fp12;
- (id)description;

@end

@interface _NSStringAndClassInfo : NSObject
{
NSString *_registryString;
Class _objectClass;
unsigned int _registryStringHash;
unsigned int _objectClassHash;
unsigned int _hash;
}

- (id)initWithRegistryString:(id)fp8 andObjectClass:(Class)fp12;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)dealloc;
- (unsigned int)hash;
- (BOOL)isEqual:(id)fp8;
- (id)description;
- (void)setRegistryString:(id)fp8;
- (void)setObjectClass:(Class)fp8;

@end

@interface _NSClassAndClassInfo : NSObject
{
Class _registryClass;
Class _objectClass;
unsigned int _registryClassHash;
unsigned int _objectClassHash;
unsigned int _hash;
}

- (id)initWithRegistryClass:(Class)fp8 andObjectClass:(Class)fp12;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (unsigned int)hash;
- (BOOL)isEqual:(id)fp8;
- (id)description;
- (void)setRegistryClass:(Class)fp8;
- (void)setObjectClass:(Class)fp8;

@end

@interface NSObject (NSPlaceholders)
+ (void)_registerObjectClass:(Class)fp8 placeholder:(id)fp12 binding:(id)fp16;
+ (void)_registerDefaultPlaceholders;
+ (id)_stateMarkerForValue:(id)fp8;
+ (void)setDefaultPlaceholder:(id)fp8 forMarker:(id)fp12 withBinding:(id)fp16;
+ (id)defaultPlaceholderForMarker:(id)fp8 withBinding:(id)fp12;
@end

@interface NSObject (_NSBindingCreationSupport)
- (void)_cleanupBindingsWithExistingNibConnectors:(id)fp8 exception:(id)fp12;
- (void)_addOptionValue:(id)fp8 toArray:(id)fp12 withKey:(id)fp16 typeString:(id)fp20;
- (void)_addPlaceholderOptionValue:(id)fp8 isDefault:(BOOL)fp12 toArray:(id)fp16 withKey:(id)fp20 binder:(id)fp24 binding:(id)fp28;
- (id)_suggestedControllerKeyForController:(id)fp8 binding:(id)fp12;
- (void)_placeSuggestionsInDictionary:(id)fp8 acceptableControllers:(id)fp12 boundBinders:(id)fp16 binder:(id)fp20 binding:(id)fp24;
- (id)_bindingInformationWithExistingNibConnectors:(id)fp8 availableControllerChoices:(id)fp12;
- (void)_bind:(id)fp8 toController:(id)fp12 withKeyPath:(id)fp16 valueTransformerName:(id)fp20 options:(id)fp24 existingNibConnectors:(id)fp28 connectorsToRemove:(id)fp32 connectorsToAdd:(id)fp36;
- (void)_unbind:(id)fp8 existingNibConnectors:(id)fp12 connectorsToRemove:(id)fp16 connectorsToAdd:(id)fp20;
@end

@interface NSObject (NSKeyValueBindingCreation)
+ (id)_guaranteeStorageInDictionary:(id)fp8 addBinding:(id)fp12;
+ (void)_concealBinding:(id)fp8;
+ (void)_exposeBinding:(id)fp8 valueClass:(Class)fp12;
+ (void)exposeBinding:(id)fp8;
+ (id)_exposedBindings;
- (id)exposedBindings;
- (id)_binderForBinding:(id)fp8 withBinders:(id)fp12 createAutoreleasedInstanceIfNotFound:(BOOL)fp16;
- (Class)_binderClassForBinding:(id)fp8 withBinders:(id)fp12;
- (id)_binderWithClass:(Class)fp8 withBinders:(id)fp12 createAutoreleasedInstanceIfNotFound:(BOOL)fp16;
- (Class)valueClassForBinding:(id)fp8;
- (void)bind:(id)fp8 toObject:(id)fp12 withKeyPath:(id)fp16 options:(id)fp20;
- (void)unbind:(id)fp8;
@end

@interface NSObject (_NSBindingCreationDelegateRegistration)
+ (void)_setBindingCreationDelegate:(id)fp8;
+ (id)_bindingCreationDelegate;
@end

@interface NSNibBindingConnector : NSNibConnector
{
NSString *_binding;
NSString *_keyPath;
NSDictionary *_options;
struct __nibBindingConnectorFlags _nibBindingConnectorFlags;
NSNibBindingConnector *_previousConnector;
}

+ (void)initialize;
- (id)init;
- (void)dealloc;
- (void)_updateForVersion:(int)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (void)_updateLabel;
- (void)setBinding:(id)fp8;
- (id)binding;
- (void)setKeyPath:(id)fp8;
- (id)keyPath;
- (void)setOptions:(id)fp8;
- (id)options;
- (void)_setPreviousNibBindingConnector:(id)fp8;
- (id)_previousNibBindingConnector;
- (void)replaceObject:(id)fp8 withObject:(id)fp12;
- (void)establishConnection;
- (void)instantiateWithObjectInstantiator:(id)fp8;
- (id)description;

@end

@interface NSBinder : NSObject
{
void *_reserved;
void *_reserved2;
id _object;
NSMutableArray *_bindingInfos;
struct __binderFlags _binderFlags;
unsigned long long _bindingsBoundMask;
id _plugin;
id _expectedObservingInfo;
}

+ (void)load;
+ (void)initialize;
+ (struct __CFArray *)_allBinderClasses;
+ (id)binderClassesForObject:(id)fp8;
+ (id)_pluginProtocol;
+ (Class)_pluginClassWithObject:(id)fp8;
+ (BOOL)isUsableWithObject:(id)fp8;
+ (id)_enumeratedBindings:(id)fp8 storage:(id *)fp12 number:(unsigned int)fp16 numberFirstBinding:(BOOL)fp20 maxNumber:(unsigned int)fp24;
+ (id)bindingsForObject:(id)fp8;
+ (id)objectMechanismsRequiredForObject:(id)fp8;
+ (id)bindingCategory;
+ (id)binderClassesSuperseded;
- (void)_init;
- (id)_initWithObjectNoExceptions:(id)fp8;
- (id)initWithObject:(id)fp8;
- (void)_copyDetailsFromBinder:(id)fp8;
- (id)copyToObject:(id)fp8;
- (void)_updatePlaceholdersForBindingInfo:(id)fp8;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (void)_dealloc;
- (void)dealloc;
- (void)_setObject:(id)fp8;
- (id)object;
- (unsigned int)_bindingAdaptorMethodsNeededMask;
- (id)_plugin;
- (id)availableBindings;
- (BOOL)_testBinderConfiguration:(id)fp8 repairBindings:(BOOL)fp12;
- (void)_setParameter:(id)fp8 forOption:(id)fp12 withBindingInfo:(id)fp16;
- (void)_setOptions:(id)fp8 withBindingInfo:(id)fp12;
- (void)_setOptions:(id)fp8 forBinding:(id)fp12;
- (id)_optionsForBinding:(id)fp8 specifyOnlyIfDifferentFromDefault:(BOOL)fp12;
- (BOOL)canAddBinding:(id)fp8 toController:(id)fp12;
- (BOOL)isBindingReadOnly:(id)fp8;
- (BOOL)isBindingKeyless:(id)fp8;
- (BOOL)isBindingKeyOptional:(id)fp8;
- (Class)valueClassForBinding:(id)fp8;
- (BOOL)_isBooleanBinding:(id)fp8;
- (BOOL)canApplyValueTransformer:(id)fp8 toBinding:(id)fp12;
- (void)_addBinding:(id)fp8 toController:(id)fp12 withKeyPath:(id)fp16 valueTransformerName:(id)fp20 options:(id)fp24;
- (void)addBinding:(id)fp8 toController:(id)fp12 withKeyPath:(id)fp16 valueTransformer:(id)fp20 options:(id)fp24;
- (unsigned int)_bindingInfoIndexForBinding:(id)fp8;
- (id)_bindingInfoForBinding:(id)fp8;
- (void)_removeBinding:(id)fp8;
- (void)_removeBinding:(id)fp8 byReplacingWithRemainingBindingsInArray:(id)fp12;
- (void)removeBinding:(id)fp8;
- (id)_bindingInfos;
- (id)controllerForBinding:(id)fp8;
- (id)keyPathForBinding:(id)fp8;
- (id)valueTransformerForBinding:(id)fp8;
- (id)_valueTransformerNameForBinding:(id)fp8;
- (void)_setController:(id)fp8 forBinding:(id)fp12;
- (void)setPlaceholder:(id)fp8 forMarker:(id)fp12 withBinding:(id)fp16;
- (id)placeholderForMarker:(id)fp8 withBinding:(id)fp12;
- (void)setRaisesForNotApplicableKeys:(BOOL)fp8 withBinding:(id)fp12;
- (BOOL)raisesForNotApplicableKeysWithBinding:(id)fp8;
- (void)setValidatesImmediately:(BOOL)fp8 withBinding:(id)fp12;
- (BOOL)validatesImmediatelyWithBinding:(id)fp8;
- (BOOL)_isBindingEstablished:(id)fp8;
- (BOOL)_isAnyBindingInMaskBound:(unsigned long long)fp8;
- (BOOL)_isKeyPathBound:(id)fp8;
- (BOOL)_observeKeyPathForRelatedBinder:(id)fp8 registerOrUnregister:(BOOL)fp12;
- (BOOL)_observeKeyPathForBindingInfo:(id)fp8 registerOrUnregister:(BOOL)fp12;
- (void)_updateObservingRegistration:(BOOL)fp8;
- (id)_referenceBinding;
- (id)_referenceBinderController;
- (void)_clearDependenciesWithPeerBindersInArray:(id)fp8;
- (void)_synchronizeWithPeerBindersInArray:(id)fp8;
- (void)_updateDependenciesWithPeerBinders:(id)fp8;
- (void)_performConnectionEstablishedRefresh;
- (void)_connectionWasEstablished;
- (BOOL)_handleObservingRefresh;
- (void)establishConnection;
- (void)_connectionWasBroken;
- (void)_cleanUpConnection;
- (void)breakConnection;
- (void)releaseConnection;
- (BOOL)isConnected;
- (void)_prepareIndirectKeyValueCodingCallWithPartialControllerKey:(id)fp8 controller:(id)fp12;
- (id)_applyValueTransformerToValue:(id)fp8 forBindingInfo:(id)fp12 reverse:(BOOL)fp16;
- (id)_resolveMarkerToPlaceholder:(id)fp8 forBindingInfo:(id)fp12 allowPluginOverride:(BOOL)fp16;
- (id)_valueForKeyPath:(id)fp8 ofObject:(id)fp12 atIndex:(unsigned int)fp16 raisesForNotApplicableKeys:(BOOL)fp20;
- (id)_mutableArrayValueForKeyPath:(id)fp8 ofObject:(id)fp12 atIndex:(unsigned int)fp16 raisesForNotApplicableKeys:(BOOL)fp20;
- (BOOL)_setValue:(id)fp8 forKeyPath:(id)fp12 ofObject:(id)fp16 atIndex:(unsigned int)fp20 validateImmediately:(BOOL)fp24 raisesForNotApplicableKeys:(BOOL)fp28 error:(id *)fp32;
- (void)_invokeSelector:(SEL)fp8 withArguments:(id)fp12 onKeyPath:(id)fp16 ofObject:(id)fp20 atIndex:(unsigned int)fp24 raisesForNotApplicableKeys:(BOOL)fp28;
- (id)applyValueTransformerToValue:(id)fp8 forBinding:(id)fp12 reverse:(BOOL)fp16;
- (id)resolveMarkerToPlaceholder:(id)fp8 binding:(id)fp12;
- (id)valueForBinding:(id)fp8 resolveMarkersToPlaceholders:(BOOL)fp12;
- (id)mutableArrayValueForBinding:(id)fp8 resolveMarkersToPlaceholders:(BOOL)fp12;
- (BOOL)setValue:(id)fp8 forBinding:(id)fp12 error:(id *)fp16;
- (BOOL)invokeSelector:(SEL)fp8 withArguments:(id)fp12 forBinding:(id)fp16 error:(id *)fp20;
- (id)valueForBinding:(id)fp8 atIndex:(unsigned int)fp12 resolveMarkersToPlaceholders:(BOOL)fp16;
- (id)mutableArrayValueForBinding:(id)fp8 atIndex:(unsigned int)fp12 resolveMarkersToPlaceholders:(BOOL)fp16;
- (BOOL)setValue:(id)fp8 forBinding:(id)fp12 atIndex:(unsigned int)fp16 error:(id *)fp20;
- (BOOL)invokeSelector:(SEL)fp8 withArguments:(id)fp12 forBinding:(id)fp16 atIndex:(unsigned int)fp20 error:(id *)fp24;
- (void)discardEditing;
- (BOOL)commitEditing;
- (BOOL)isEditing;
- (void)_observeValueForKeyPath:(id)fp8 ofObject:(id)fp12 context:(void *)fp16;
- (void)observeValueForKeyPath:(id)fp8 ofObject:(id)fp12 change:(id)fp16 context:(void *)fp20;
- (BOOL)_presentAlertWithError:(id)fp8 fallbackMessage:(id)fp12 allowDiscardEditing:(BOOL)fp16 relatedToBinding:(id)fp20;
- (void)_logAlertWithError:(id)fp8 fallbackMessage:(id)fp12 relatedToBinding:(id)fp16;
- (id)description;

@end

@interface _NSBindingInfo : NSObject
{
NSString *_binding;
NSString *_key;
NSString *_partialControllerKey;
NSString *_partialObjectKey;
NSValueTransformer *_valueTransformer;
NSString *_valueTransformerName;
id _controller;
struct __bindingFlags _bindingFlags;
id _nullPlaceholder;
id _noSelectionPlaceholder;
id _multipleValuesSelectionPlaceholder;
id _notApplicablePlaceholder;
id _observingBinder;
}

- (id)initWithController:(id)fp8 key:(id)fp12 valueTransformer:(id)fp16 binding:(id)fp20;
- (id)initWithController:(id)fp8 key:(id)fp12 valueTransformerName:(id)fp16 binding:(id)fp20;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (id)copyWithZone:(struct _NSZone *)fp8;
- (void)dealloc;
- (id)binding;
- (id)key;
- (void)setValueTransformer:(id)fp8;
- (id)valueTransformer;
- (void)setController:(id)fp8;
- (id)controller;
- (void)setValueTransformerName:(id)fp8;
- (id)valueTransformerName;
- (void)setRaisesForNotApplicableKeys:(BOOL)fp8;
- (BOOL)raisesForNotApplicableKeys;
- (void)setValidatesImmediately:(BOOL)fp8;
- (BOOL)validatesImmediately;
- (void)setBinderSpecificFlag:(BOOL)fp8 atIndex:(unsigned int)fp12;
- (BOOL)binderSpecificFlagAtIndex:(unsigned int)fp8;
- (void)setPlaceholder:(id)fp8 forMarker:(id)fp12 isDefault:(BOOL)fp16;
- (id)placeholderForMarker:(id)fp8;
- (BOOL)isPlaceholderForMarkerExplicitlySet:(id)fp8;
- (BOOL)setParameter:(id)fp8 forOption:(id)fp12;
- (void)setRequiresDirectKeyValueCodingCall:(BOOL)fp8 partialControllerKey:(id)fp12 partialObjectKey:(id)fp16;
- (BOOL)requiresDirectKeyValueCodingCall;
- (id)partialControllerKey;
- (id)partialObjectKey;
- (void)setObservingBinder:(id)fp8;
- (id)observingBinder;
- (id)description;

@end

@interface NSDisplayFontBinder : NSBinder
{
NSFont *_originalFont;
}

+ (id)_pluginProtocol;
+ (id)bindingCategory;
+ (id)objectMechanismsRequiredForObject:(id)fp8;
+ (id)bindingsForObject:(id)fp8;
- (void)_init;
- (void)_dealloc;
- (unsigned int)_bindingAdaptorMethodsNeededMask;
- (id)_availableBindingsWithFontBindingsFiltered:(id)fp8;
- (BOOL)_isAnyFontBindingBoundToController:(id)fp8;
- (id)_fontFromBindingsAtIndex:(unsigned int)fp8 referenceFont:(id)fp12 fallbackFont:(id)fp16;
- (id)availableBindings;
- (Class)valueClassForBinding:(id)fp8;
- (BOOL)isBindingReadOnly:(id)fp8;
- (BOOL)_isBooleanBinding:(id)fp8;
- (void)_connectionWasEstablished;
- (id)_adjustFontOfObject:(id)fp8 index:(unsigned int)fp12 triggerRedisplay:(BOOL)fp16 compareDirectly:(BOOL)fp20 toFont:(id)fp24;
- (id)updateInvalidatedFont:(id)fp8 forObject:(id)fp12;
- (void)_observeValueForKeyPath:(id)fp8 ofObject:(id)fp12 context:(void *)fp16;
- (void)updateTableColumnDataCell:(id)fp8 forDisplayAtIndex:(unsigned int)fp12;

@end

@interface NSDisplayPatternBinder : NSBinder
{
NSString *_displayPattern;
}

+ (id)bindingCategory;
+ (id)objectMechanismsRequiredForObject:(id)fp8;
+ (id)_enumeratedDisplayPatternBindings:(unsigned int)fp8;
+ (id)bindingsForObject:(id)fp8;
+ (id)_cellOrControlForObject:(id)fp8;
+ (BOOL)isUsableWithObject:(id)fp8;
- (void)_init;
- (void)_dealloc;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (BOOL)isBindingReadOnly:(id)fp8;
- (Class)valueClassForBinding:(id)fp8;
- (id)availableBindings;
- (void)removeBinding:(id)fp8;
- (void)_setParameter:(id)fp8 forOption:(id)fp12 withBindingInfo:(id)fp16;
- (id)_optionsForBinding:(id)fp8 specifyOnlyIfDifferentFromDefault:(BOOL)fp12;
- (BOOL)_handleObservingRefresh;
- (void)_connectionWasEstablished;
- (void)_connectionWasBroken;
- (void)setDisplayPattern:(id)fp8;
- (id)displayPattern;
- (id)_patternForBinding:(id)fp8;
- (void)_adjustObject:(id)fp8 index:(unsigned int)fp12 triggerRedisplay:(BOOL)fp16;
- (void)_observeValueForKeyPath:(id)fp8 ofObject:(id)fp12 context:(void *)fp16;
- (void)updateTableColumnDataCell:(id)fp8 forDisplayAtIndex:(unsigned int)fp12;

@end

@interface NSObjectParameterBinder : NSBinder
{
struct __objectParameterBinderFlags _objectParameterBinderFlags;
NSMutableDictionary *_originalValues;
}

+ (id)bindingCategory;
+ (id)objectMechanismsRequiredForObject:(id)fp8;
+ (id)bindingsForObject:(id)fp8;
+ (BOOL)isUsableWithObject:(id)fp8;
- (void)_init;
- (void)_dealloc;
- (void)_connectionWasEstablished;
- (id)availableBindings;
- (BOOL)canAddBinding:(id)fp8 toController:(id)fp12;
- (Class)valueClassForBinding:(id)fp8;
- (BOOL)isBindingReadOnly:(id)fp8;
- (void)_updateObject:(id)fp8 atIndex:(unsigned int)fp12 observedController:(id)fp16 observedKeyPath:(id)fp20 context:(void *)fp24;
- (void)_observeValueForKeyPath:(id)fp8 ofObject:(id)fp12 context:(void *)fp16;

@end

@interface NSTableBinder : NSBinder
{
struct __tableBinderFlags _tableBinderFlags;
unsigned int _numberOfDisplayedObjects;
id _modelObservingTracker;
}

+ (id)_autoCreateBinderForObject:(id)fp8 withController:(id)fp12;
+ (BOOL)isUsableWithObject:(id)fp8;
+ (id)bindingCategory;
+ (id)objectMechanismsRequiredForObject:(id)fp8;
+ (id)bindingsForObject:(id)fp8;
+ (id)_editableBinderForTableColumn:(id)fp8;
+ (id)_editableBinderAtIndex:(unsigned int)fp8 forTableView:(id)fp12;
- (void)_init;
- (void)dealloc;
- (void)_copyDetailsFromBinder:(id)fp8;
- (unsigned int)_bindingAdaptorMethodsNeededMask;
- (void)_connectionWasEstablished;
- (void)_connectionWasBroken;
- (BOOL)isBindingReadOnly:(id)fp8;
- (void)_scrollSelectionToVisible;
- (BOOL)_isTableColumn:(id)fp8 boundWithKeyPath:(id)fp12;
- (void)_updateSortDescriptors;
- (void)_updateSelectionIndexes:(id)fp8;
- (void)_updateContent;
- (void)_observeValueForKeyPath:(id)fp8 ofObject:(id)fp12 context:(void *)fp16;
- (void)_markAutoCreated:(BOOL)fp8;
- (BOOL)_isAutoCreated;
- (int)numberOfRowsInTableView:(id)fp8;
- (BOOL)tableView:(id)fp8 shouldEditTableColumn:(id)fp12 row:(int)fp16;
- (void)tableView:(id)fp8 willDisplayCell:(id)fp12 forTableColumn:(id)fp16 row:(int)fp20;
- (void)tableView:(id)fp8 didChangeToSortDescriptors:(id)fp12;
- (void)tableView:(id)fp8 didChangeToSelectedRowIndexes:(id)fp12;
- (void)tableView:(id)fp8 updateVisibleRowInformation:(struct _NSRange)fp12;
- (BOOL)_observeKeyPathForRelatedBinder:(id)fp8 registerOrUnregister:(BOOL)fp12;
- (void)_redisplayTableContentWithRowIndexes:(id)fp8 columnIndexes:(id)fp12;
- (id)_visibleRowIndexesForObject:(id)fp8;
- (id)_visibleColumnIndexesForKeyPath:(id)fp8;
- (void)observeValueForKeyPath:(id)fp8 ofObject:(id)fp12 change:(id)fp16 context:(void *)fp20;

@end

@interface _NSTableUtilities : NSObject
{
}

+ (id)_tableBinderForTableView:(id)fp8;
+ (BOOL)_tableBinderForTableViewSupportsSorting:(id)fp8;
+ (void)_breakConnectionOfTableBinderIfAutoCreated:(id)fp8;
+ (void)_setPartialKeysWithTableBinder:(id)fp8 forTableColumnBinder:(id)fp12;
+ (void)_setPartialKeysWithTableBinder:(id)fp8 forAllTableColumnBindersOfTableView:(id)fp12;
+ (void)_registerTableColumnBinder:(id)fp8 toTableColumn:(id)fp12;
+ (void)_unregisterTableColumnBinder:(id)fp8 fromTableColumn:(id)fp12;
+ (id)_referenceBinderForTableColumn:(id)fp8;
+ (id)_referenceBinderAtIndex:(unsigned int)fp8 forTableView:(id)fp12;

@end

@interface NSBinder (_NSBinderAutoCreatedMethods)
+ (id)_autoCreateBinderForObject:(id)fp8 withController:(id)fp12;
- (BOOL)_isAutoCreated;
- (void)_markAutoCreated:(BOOL)fp8;
@end

@interface NSBinder (NSTableColumnBinder)
- (void)updateTableColumnDataCell:(id)fp8 forDisplayAtIndex:(unsigned int)fp12;
- (BOOL)supportsTableEditing;
@end

@interface NSTableColumnBinder : NSViewStateBinder
{
}

+ (id)objectMechanismsRequiredForObject:(id)fp8;
+ (id)bindingsForObject:(id)fp8;
+ (BOOL)isUsableWithObject:(id)fp8;
- (unsigned int)_bindingAdaptorMethodsNeededMask;
- (BOOL)isBindingReadOnly:(id)fp8;
- (Class)valueClassForBinding:(id)fp8;
- (void)_updateObject:(id)fp8 observedController:(id)fp12 observedKeyPath:(id)fp16 context:(void *)fp20;
- (void)tableColumn:(id)fp8 didChangeToWidth:(float)fp12;

@end

@interface NSTabViewBinder : NSViewStateBinder
{
}

+ (id)bindingCategory;
+ (id)objectMechanismsRequiredForObject:(id)fp8;
+ (id)bindingsForObject:(id)fp8;
+ (BOOL)isUsableWithObject:(id)fp8;
- (unsigned int)_bindingAdaptorMethodsNeededMask;
- (id)availableBindings;
- (Class)valueClassForBinding:(id)fp8;
- (void)_updateObject:(id)fp8 observedController:(id)fp12 observedKeyPath:(id)fp16 context:(void *)fp20;
- (void)tabView:(id)fp8 didSelectTabViewItem:(id)fp12;

@end

@interface NSValueBinder : NSEditorBinder
{
struct __valueBinderFlags _valueBinderFlags;
id _cachedObjectValue;
id _cachedDisplayValue;
id _sortDescriptorPrototype;
NSString *_referenceBinding;
}

+ (id)_pluginProtocol;
+ (id)bindingsForObject:(id)fp8;
+ (id)bindingCategory;
- (void)_init;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (void)_copyDetailsFromBinder:(id)fp8;
- (void)_dealloc;
- (unsigned int)_bindingAdaptorMethodsNeededMask;
- (BOOL)_supportsMinAndMax;
- (BOOL)_isBooleanBinding:(id)fp8;
- (BOOL)isBindingReadOnly:(id)fp8;
- (id)availableBindings;
- (void)_setParameter:(id)fp8 forOption:(id)fp12 withBindingInfo:(id)fp16;
- (BOOL)_isReferenceBinding:(id)fp8;
- (id)_optionsForBinding:(id)fp8 specifyOnlyIfDifferentFromDefault:(BOOL)fp12;
- (Class)_valueClass;
- (Class)valueClassForBinding:(id)fp8;
- (BOOL)canApplyValueTransformer:(id)fp8 toBinding:(id)fp12;
- (BOOL)_cachedValuesAreValid;
- (void)_cacheObjectValue:(id)fp8;
- (id)_cachedObjectValue;
- (void)_cacheDisplayValue:(id)fp8;
- (id)_cachedDisplayValue;
- (void)showValue:(id)fp8 inObject:(id)fp12;
- (id)shownValueInObject:(id)fp8;
- (id)updateInvalidatedObjectValue:(id)fp8 forObject:(id)fp12;
- (id)_formatter;
- (id)displayValueForObjectValue:(id)fp8;
- (id)objectValueForDisplayValue:(id)fp8;
- (id)_referenceBindingValue;
- (id)_referenceBindingValueAtIndex:(unsigned int)fp8;
- (id)validateObjectValue:(id)fp8;
- (id)_validateDisplayValue;
- (BOOL)_shouldAlwaysUpdateDisplayValue;
- (void)setAllowsEditingMultipleValuesSelection:(BOOL)fp8;
- (BOOL)allowsEditingMultipleValuesSelection;
- (void)setContinuouslyUpdatesValue:(BOOL)fp8;
- (BOOL)continuouslyUpdatesValue;
- (id)_referenceBinding;
- (void)_connectionWasEstablished;
- (void)_connectionWasBroken;
- (void)releaseConnection;
- (BOOL)_isExplicitlyNonEditable;
- (void)_adjustObject:(id)fp8 atIndex:(unsigned int)fp12 observedController:(id)fp16 observedKeyPath:(id)fp20 context:(void *)fp24 editableState:(char *)fp28 adjustState:(char *)fp32;
- (void)_observeValueForKeyPath:(id)fp8 ofObject:(id)fp12 context:(void *)fp16;
- (void)updateTableColumnDataCell:(id)fp8 forDisplayAtIndex:(unsigned int)fp12;
- (BOOL)supportsTableEditing;
- (int)_applyObjectValue:(id)fp8 forBinding:(id)fp12 handleErrors:(BOOL)fp16;
- (BOOL)applyDisplayedValueWithHandleErrors:(BOOL)fp8;
- (BOOL)_applyDisplayedValueIfHasUncommittedChangesWithHandleErrors:(BOOL)fp8;
- (BOOL)_discardUncommittedChanges;
- (void)discardEditing;
- (BOOL)commitEditing;
- (BOOL)isEditing;
- (void)_startChanging;
- (void)_endChanging;
- (void)editorDidBeginEditing:(id)fp8;
- (void)editorDidEndEditing:(id)fp8;
- (BOOL)handleValidationError:(id)fp8 description:(id)fp12 inEditor:(id)fp16 errorUserInterfaceHandled:(char *)fp20;
- (BOOL)validateAndCommitValueInEditor:(id)fp8 editingIsEnding:(BOOL)fp12 errorUserInterfaceHandled:(char *)fp16;
- (void)performAction:(id)fp8;
- (id)defaultSortDescriptorPrototypeForTableColumn:(id)fp8;

@end

@interface NSViewStateBinder : NSBinder
{
struct __viewStateBinderFlags _viewStateBinderFlags;
}

+ (id)bindingCategory;
+ (BOOL)isUsableWithObject:(id)fp8;
- (void)_init;
- (void)_connectionWasEstablished;
- (void)_connectionWasBroken;
- (void)_updateObject:(id)fp8 observedController:(id)fp12 observedKeyPath:(id)fp16 context:(void *)fp20;
- (void)_setValue:(id)fp8 forBinding:(id)fp12 errorFallbackMessage:(id)fp16;
- (void)_observeValueForKeyPath:(id)fp8 ofObject:(id)fp12 context:(void *)fp16;

@end

@interface NSWindowBinder : NSViewStateBinder
{
}

+ (void)initialize;
+ (void)_applicationWillTerminate:(id)fp8;
+ (id)objectMechanismsRequiredForObject:(id)fp8;
+ (id)bindingsForObject:(id)fp8;
+ (BOOL)isUsableWithObject:(id)fp8;
- (Class)valueClassForBinding:(id)fp8;
- (BOOL)isBindingReadOnly:(id)fp8;
- (BOOL)_isBooleanBinding:(id)fp8;
- (unsigned int)_bindingAdaptorMethodsNeededMask;
- (void)_updateObject:(id)fp8 observedController:(id)fp12 observedKeyPath:(id)fp16 context:(void *)fp20;
- (void)window:(id)fp8 didChangeToVisibleState:(BOOL)fp12;
- (void)windowDidResize:(id)fp8;

@end

@interface NSEditorBinder : NSBinder
{
struct __editorBinderFlags _editorBinderFlags;
id _editableBinder;
}

+ (id)_pluginProtocol;
- (void)_init;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (void)_copyDetailsFromBinder:(id)fp8;
- (void)_setObject:(id)fp8;
- (void)_clearDependenciesWithPeerBindersInArray:(id)fp8;
- (void)_noticeEditablePeerBinder:(id)fp8;
- (void)_setParameter:(id)fp8 forOption:(id)fp12 withBindingInfo:(id)fp16;
- (BOOL)_isReferenceBinding:(id)fp8;
- (id)_optionsForBinding:(id)fp8 specifyOnlyIfDifferentFromDefault:(BOOL)fp12;
- (void)setConditionallySetsEditable:(BOOL)fp8;
- (BOOL)conditionallySetsEditable;
- (void)setConditionallySetsEnabled:(BOOL)fp8;
- (BOOL)conditionallySetsEnabled;
- (void)setConditionallySetsHidden:(BOOL)fp8;
- (BOOL)conditionallySetsHidden;
- (BOOL)_conditionallySetsStates;
- (BOOL)_isExplicitlyNonEditable;
- (void)_adjustStatesOfObject:(id)fp8 index:(unsigned int)fp12 state:(BOOL)fp16 triggerRedisplay:(BOOL)fp20;

@end

@interface NSEditableBinder : NSBinder
{
struct __editableBinderFlags _editableBinderFlags;
}

+ (id)_pluginProtocol;
+ (id)bindingCategory;
+ (id)objectMechanismsRequiredForObject:(id)fp8;
+ (id)_enumeratedEditableBindings:(unsigned int)fp8;
+ (id)_enumeratedEnabledBindings:(unsigned int)fp8;
+ (id)_enumeratedHiddenBindings:(unsigned int)fp8;
+ (id)bindingsForObject:(id)fp8;
- (void)_init;
- (void)_copyDetailsFromBinder:(id)fp8;
- (void)_setObject:(id)fp8;
- (Class)valueClassForBinding:(id)fp8;
- (BOOL)isBindingReadOnly:(id)fp8;
- (BOOL)_isBooleanBinding:(id)fp8;
- (id)availableBindings;
- (void)_countBindings;
- (void)addBinding:(id)fp8 toController:(id)fp12 withKeyPath:(id)fp16 valueTransformer:(id)fp20 options:(id)fp24;
- (void)removeBinding:(id)fp8;
- (void)_clearDependenciesWithPeerBindersInArray:(id)fp8;
- (void)_synchronizeWithPeerBindersInArray:(id)fp8;
- (void)_requestEditableState:(BOOL)fp8;
- (void)_requestAnyEditableState;
- (void)_requestEnabledState:(BOOL)fp8;
- (void)_requestAnyEnabledState;
- (void)_requestHiddenState:(BOOL)fp8;
- (void)_requestAnyHiddenState;
- (BOOL)editableState;
- (BOOL)editableStateAtIndex:(unsigned int)fp8;
- (BOOL)enabledState;
- (BOOL)enabledStateAtIndex:(unsigned int)fp8;
- (BOOL)hiddenState;
- (BOOL)hiddenStateAtIndex:(unsigned int)fp8;
- (void)_setStatesImmediatelyInObject:(id)fp8 index:(unsigned int)fp12 triggerRedisplay:(BOOL)fp16;
- (void)_observeValueForKeyPath:(id)fp8 ofObject:(id)fp12 context:(void *)fp16;
- (void)updateTableColumnDataCell:(id)fp8 forDisplayAtIndex:(unsigned int)fp12;

@end

@interface NSBinder (_NSEditableBinderHandshaking)
- (void)_noticeEditablePeerBinder:(id)fp8;
@end

@interface NSDrawerBinder : NSViewStateBinder
{
struct __drawerBinderFlags _drawerBinderFlags;
}

+ (id)objectMechanismsRequiredForObject:(id)fp8;
+ (id)bindingsForObject:(id)fp8;
+ (BOOL)isUsableWithObject:(id)fp8;
- (void)_init;
- (unsigned int)_bindingAdaptorMethodsNeededMask;
- (Class)valueClassForBinding:(id)fp8;
- (BOOL)_isBooleanBinding:(id)fp8;
- (void)_connectionWasEstablished;
- (void)_updateObject:(id)fp8 observedController:(id)fp12 observedKeyPath:(id)fp16 context:(void *)fp20;
- (void)drawer:(id)fp8 didChangeToState:(BOOL)fp12;

@end

@interface NSTextValueBinder : NSValueBinder
{
struct __textBinderFlags _textBinderFlags;
NSColor *_originalColor;
NSColor *_nullColor;
NSColor *_noSelectionColor;
NSColor *_multipleValuesSelectionColor;
NSColor *_notApplicableColor;
id _textColorBinder;
}

+ (id)binderClassesSuperseded;
+ (void)setDefaultTextColor:(id)fp8 whenObjectValueIsUsed:(id)fp12;
+ (id)defaultTextColorWhenObjectValueIsUsed:(id)fp8;
- (void)_init;
- (void)_copyDetailsFromBinder:(id)fp8;
- (void)_dealloc;
- (id)initWithCoder:(id)fp8;
- (void)encodeWithCoder:(id)fp8;
- (void)_setObject:(id)fp8;
- (void)_clearDependenciesWithPeerBindersInArray:(id)fp8;
- (void)_noticeTextColorPeerBinder:(id)fp8;
- (void)_connectionWasEstablished;
- (void)setTextColor:(id)fp8 whenObjectValueIsUsed:(id)fp12;
- (id)textColorWhenObjectValueIsUsed:(id)fp8;
- (void)_adjustTextColorOfObject:(id)fp8 index:(unsigned int)fp12;
- (void)_startChanging;
- (void)_endChanging;
- (void)_observeValueForKeyPath:(id)fp8 ofObject:(id)fp12 context:(void *)fp16;
- (void)updateTableColumnDataCell:(id)fp8 forDisplayAtIndex:(unsigned int)fp12;

@end

@interface NSTextColorBinder : NSBinder
{
NSColor *_originalColor;
NSColor *_referenceBinderRequestedColor;
struct __textColorBinderFlags _textColorBinderFlags;
}

+ (id)_pluginProtocol;
+ (id)bindingCategory;
+ (id)objectMechanismsRequiredForObject:(id)fp8;
+ (id)bindingsForObject:(id)fp8;
- (void)_init;
- (void)_dealloc;
- (unsigned int)_bindingAdaptorMethodsNeededMask;
- (Class)valueClassForBinding:(id)fp8;
- (BOOL)isBindingReadOnly:(id)fp8;
- (void)_connectionWasEstablished;
- (void)_clearDependenciesWithPeerBindersInArray:(id)fp8;
- (void)_synchronizeWithPeerBindersInArray:(id)fp8;
- (void)_requestTextColor:(id)fp8;
- (id)textColor;
- (id)textColorAtIndex:(unsigned int)fp8;
- (id)_setTextColorInObject:(id)fp8 index:(unsigned int)fp12 compareDirectly:(BOOL)fp16 toTextColor:(id)fp20;
- (void)_showTextColorImmediatelyInObject:(id)fp8 index:(unsigned int)fp12;
- (id)updateInvalidatedTextColor:(id)fp8 forObject:(id)fp12;
- (void)_observeValueForKeyPath:(id)fp8 ofObject:(id)fp12 context:(void *)fp16;
- (void)updateTableColumnDataCell:(id)fp8 forDisplayAtIndex:(unsigned int)fp12;

@end

@interface NSBinder (_NSTextColorBinderHandshaking)
- (void)_noticeTextColorPeerBinder:(id)fp8;
@end

@interface _NSBinderPluginRegistry : NSObject
{
struct _NSMapTable *_registry;
struct _NSMapTable *_cachedRegistry;
}

+ (id)sharedRegistry;
- (id)init;
- (void)dealloc;
- (void)registerPluginClass:(Class)fp8 forObjectClass:(Class)fp12 andBinderClass:(Class)fp16;
- (Class)pluginClassForObject:(id)fp8 andBinderClass:(Class)fp12 requiredPluginProtocol:(id)fp16;

@end

@interface _NSActionBinderPlugin : _NSBinderPlugin <_NSActionBinderPlugin>
{
}

+ (BOOL)isUsableWithObject:(id)fp8;
- (BOOL)needsAction;
- (BOOL)prefersEnabledOverEditable:(id)fp8;
- (BOOL)conditionalBehaviorOffByDefault:(id)fp8;
- (BOOL)targetAndArgumentsAcceptableForPerformAction;
- (BOOL)invokeSelector:(SEL)fp8 withArguments:(id)fp12 forBinding:(id)fp16 object:(id)fp20;

@end

@interface _NSDisplayFontBinderPlugin : _NSBinderPlugin <_NSDisplayFontBinderPlugin>
{
struct __displayFontBinderPluginFlags _displayFontBinderPluginFlags;
}

+ (BOOL)isUsableWithObject:(id)fp8;
- (id)initWithBinder:(id)fp8 object:(id)fp12;
- (id)fontInvalidationCapableObjectForObject:(id)fp8;

@end

@interface _NSTextColorBinderPlugin : _NSBinderPlugin <_NSTextColorBinderPlugin>
{
struct __textColorBinderPluginFlags _textColorBinderPluginFlags;
}

+ (BOOL)isUsableWithObject:(id)fp8;
- (id)initWithBinder:(id)fp8 object:(id)fp12;
- (id)textColorInvalidationCapableObjectForObject:(id)fp8;

@end

@interface _NSEditableBinderPlugin : _NSBinderPlugin
{
}

+ (BOOL)isUsableWithObject:(id)fp8;

@end

@interface _NSBinderPlugin : NSObject <_NSBinderPlugin>
{
id _binder;
struct __binderPluginFlags _binderPluginFlags;
}

+ (BOOL)isUsableWithObject:(id)fp8;
+ (id)objectMechanismsRequiredForObject:(id)fp8;
- (id)initWithBinder:(id)fp8 object:(id)fp12;
- (Class)defaultPlaceholderLookupClassForBinding:(id)fp8 object:(id)fp12;
- (id)cellOrControlForObject:(id)fp8;
- (id)viewForObject:(id)fp8;
- (BOOL)shouldUseInvalidationForObject:(id)fp8;
- (BOOL)isInvalidationCapableObject:(id)fp8 withSelector:(SEL)fp12;
- (id)editorWithObject:(id)fp8;
- (BOOL)isEditingWithObject:(id)fp8;
- (BOOL)isEditingAtIndex:(unsigned int)fp8 withObject:(id)fp12;
- (BOOL)needsAction;
- (id)objectMechanismsRequired;
- (BOOL)acceptsMarker:(id)fp8 binding:(id)fp12 overrideWithPlaceholderIfDefined:(char *)fp16;
- (void)connectionWasEstablished:(id)fp8;
- (void)connectionWasBroken:(id)fp8;
- (BOOL)handleObservingRefresh:(id)fp8;
- (BOOL)observeKeyPathForBindingInfo:(id)fp8 registerOrUnregister:(BOOL)fp12 object:(id)fp16;

@end

@interface _NSMultipleSelectionMatrixPlugin : _NSMatrixPlugin <_NSMultipleSelectionBinderPlugin>
{
struct __multipleSelectionMatrixPluginFlags _multipleSelectionMatrixPluginFlags;
int _mode;
}

+ (BOOL)isUsableWithObject:(id)fp8;
- (id)initWithBinder:(id)fp8 object:(id)fp12;
- (void)connectionWasEstablished:(id)fp8;
- (unsigned long long)allowedValueBindingMask;
- (void)showValue:(id)fp8 inObject:(id)fp12;
- (id)shownValueInObject:(id)fp8;

@end

@interface _NSSegmentedControlPlugin : _NSSelectionBinderPlugin
{
}

- (unsigned long long)allowedValueBindingMask;
- (Class)valueClass:(id)fp8 forBinding:(id)fp12;
- (void)removeAllContentObjectsInCellOrControl:(id)fp8;
- (void)addContentObject:(id)fp8 isPlaceholder:(BOOL)fp12 value:(id)fp16 tag:(int)fp20 cellOrControl:(id)fp24;
- (void)showValue:(id)fp8 inObject:(id)fp12;
- (id)shownValueInObject:(id)fp8;

@end

@interface _NSMatrixPlugin : _NSSelectionBinderPlugin
{
struct __matrixPluginFlags _matrixPluginFlags;
}

+ (BOOL)isUsableWithObject:(id)fp8;
- (id)initWithBinder:(id)fp8 object:(id)fp12;
- (void)connectionWasEstablished:(id)fp8;
- (id)objectMechanismsRequired;
- (Class)_valueClass:(id)fp8;
- (Class)valueClass:(id)fp8 forBinding:(id)fp12;
- (unsigned long long)allowedValueBindingMask;
- (void)populateObject:(id)fp8 withContent:(id)fp12 valueKey:(id)fp16 insertsNullPlaceholder:(BOOL)fp20;
- (void)showValue:(id)fp8 inObject:(id)fp12;
- (id)shownValueInObject:(id)fp8;

@end

@interface _NSComboBoxPlugin : _NSSelectionBinderPlugin
{
NSDecimalNumber *_originalMinValue;
NSDecimalNumber *_originalMaxValue;
}

- (id)initWithBinder:(id)fp8 object:(id)fp12;
- (void)dealloc;
- (BOOL)prefersEnabledOverEditable:(id)fp8;
- (Class)_valueClass:(id)fp8;
- (id)objectMechanismsRequired;
- (unsigned long long)allowedValueBindingMask;
- (BOOL)canSupportMinAndMaxForObject:(id)fp8;
- (void)storeMin:(BOOL)fp8 andMax:(BOOL)fp12 ofObject:(id)fp16;
- (BOOL)updateCellOrControl:(id)fp8 forMinValue:(id)fp12;
- (BOOL)updateCellOrControl:(id)fp8 forMaxValue:(id)fp12;
- (BOOL)needsAction;
- (BOOL)needsDelegate;
- (BOOL)canPopulateWithPlaceholders;
- (BOOL)canIgnorePopulatingObject:(id)fp8;
- (void)removeAllContentObjectsInCellOrControl:(id)fp8;
- (void)addContentObject:(id)fp8 isPlaceholder:(BOOL)fp12 value:(id)fp16 tag:(int)fp20 cellOrControl:(id)fp24;
- (void)showValue:(id)fp8 inObject:(id)fp12;

@end

@interface _NSPopUpButtonPlugin : _NSSelectionBinderPlugin
{
}

- (id)objectMechanismsRequired;
- (Class)_valueClass:(id)fp8;
- (Class)valueClass:(id)fp8 forBinding:(id)fp12;
- (unsigned long long)allowedValueBindingMask;
- (void)removeAllContentObjectsInCellOrControl:(id)fp8;
- (void)addContentObject:(id)fp8 isPlaceholder:(BOOL)fp12 value:(id)fp16 tag:(int)fp20 cellOrControl:(id)fp24;
- (BOOL)canIgnorePopulatingObject:(id)fp8;
- (int)_supposedNumberOfItemsAtIndex:(unsigned int)fp8;
- (void)_clearUnneccessaryItems:(id)fp8;
- (void)showValue:(id)fp8 inObject:(id)fp12;
- (id)shownValueInObject:(id)fp8;
- (BOOL)shouldIgnoreAction:(id)fp8;
- (void)actionHasEnded:(id)fp8 sender:(id)fp12;

@end

@interface _NSSelectionBinderPlugin : _NSValueBinderPlugin <_NSSelectionBinderPlugin>
{
}

- (Class)_valueClass:(id)fp8;
- (Class)valueClass:(id)fp8 forBinding:(id)fp12;
- (BOOL)acceptsMarker:(id)fp8 binding:(id)fp12 overrideWithPlaceholderIfDefined:(char *)fp16;
- (void)removeAllContentObjectsInCellOrControl:(id)fp8;
- (void)addContentObject:(id)fp8 isPlaceholder:(BOOL)fp12 value:(id)fp16 tag:(int)fp20 cellOrControl:(id)fp24;
- (BOOL)canPopulateWithPlaceholders;
- (BOOL)shouldAlwaysUpdateDisplayValue;
- (BOOL)can