Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / platform / DARWIN / AFSPreference / SystemUIPlugin.h
1 /*
2 * Generated by class-dump 3.1.1.
3 *
4 * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2006 by Steve Nygard.
5 */
6 #import <AppKit/AppKit.h>
7
8 @interface NSMenuExtra : NSStatusItem
9 {
10 NSBundle *_bundle;
11 NSMenu *_menu;
12 NSView *_view;
13 float _length;
14 struct {
15 unsigned int customView:1;
16 unsigned int menuDown:1;
17 unsigned int reserved:30;
18 } _flags;
19 id _controller;
20 }
21
22 - (id)initWithBundle:(id)fp8;
23 - (id)initWithBundle:(id)fp8 data:(id)fp12;
24 - (void)willUnload;
25 - (void)dealloc;
26 - (id)bundle;
27 - (float)length;
28 - (void)setLength:(float)fp8;
29 - (id)image;
30 - (void)setImage:(id)fp8;
31 - (id)alternateImage;
32 - (void)setAlternateImage:(id)fp8;
33 - (id)menu;
34 - (void)setMenu:(id)fp8;
35 - (id)toolTip;
36 - (void)setToolTip:(id)fp8;
37 - (id)view;
38 - (void)setView:(id)fp8;
39 - (BOOL)isMenuDown;
40 - (void)drawMenuBackground:(BOOL)fp8;
41 - (void)popUpMenu:(id)fp8;
42 - (void)unload;
43 - (id)statusBar;
44 - (SEL)action;
45 - (void)setAction:(SEL)fp8;
46 - (id)target;
47 - (void)setTarget:(id)fp8;
48 - (id)title;
49 - (void)setTitle:(id)fp8;
50 - (id)attributedTitle;
51 - (void)setAttributedTitle:(id)fp8;
52 - (BOOL)isEnabled;
53 - (void)setEnabled:(BOOL)fp8;
54 - (void)setHighlightMode:(BOOL)fp8;
55 - (BOOL)highlightMode;
56 - (void)sendActionOn:(int)fp8;
57 - (id)_initInStatusBar:(id)fp8 withLength:(float)fp12 withPriority:(int)fp16;
58 - (id)_window;
59 - (id)_button;
60 - (void)_adjustLength;
61
62 @end
63
64 @interface NSMenuExtra (NSMenuExtraPrivate)
65 + (unsigned int)defaultLength;
66 - (void)setController:(id)fp8;
67 - (id)controller;
68 - (void)setMenuDown:(BOOL)fp8;
69 - (float)defaultLength;
70 - (id)accessibilityAttributeNames;
71 - (id)accessibilityAttributeValue:(id)fp8;
72 - (BOOL)accessibilityIsAttributeSettable:(id)fp8;
73 - (void)accessibilitySetValue:(id)fp8 forAttribute:(id)fp12;
74 - (id)accessibilityActionNames;
75 - (id)accessibilityActionDescription:(id)fp8;
76 - (void)accessibilityPerformAction:(id)fp8;
77 - (BOOL)accessibilityIsIgnored;
78 - (id)accessibilityHitTest:(struct _NSPoint)fp8;
79 - (id)accessibilityFocusedUIElement;
80 - (id)AXRole;
81 - (id)AXRoleDescription;
82 - (id)AXSubrole;
83 - (id)AXDescription;
84 - (id)AXChildren;
85 - (id)AXParent;
86 - (id)AXTitle;
87 - (id)AXValue;
88 - (id)AXEnabled;
89 - (id)AXSelected;
90 - (BOOL)isAXSelectedSettable;
91 - (void)setAXSelected:(id)fp8;
92 - (id)AXPosition;
93 - (id)AXSize;
94 - (void)performAXPress;
95 - (void)performAXCancel;
96 @end
97
98 @interface NSDockExtra : NSObject
99 {
100 NSBundle *_bundle;
101 unsigned int _id;
102 void *_nativeWindow;
103 id _controller;
104 struct {
105 unsigned int nativeWindow:1;
106 unsigned int reserved:31;
107 } _flags;
108 long _fReserved1;
109 long _fReserved2;
110 long _fReserved3;
111 long _fReserved4;
112 }
113
114 - (id)initWithBundle:(id)fp8;
115 - (id)initWithBundle:(id)fp8 data:(id)fp12;
116 - (void)dealloc;
117 - (void)willUnload;
118 - (id)bundle;
119 - (id)menu;
120 - (void)toggle;
121 - (void)handleMenuCommand:(unsigned int)fp8 tag:(unsigned int)fp12;
122 - (void)setDockLabel:(id)fp8;
123 - (id)cocoaWindow;
124 - (void *)carbonCGrafPtr;
125
126 @end
127
128 @interface NSDockExtra (NSDockExtraReallyPrivate)
129 - (void)_releaseWindow;
130 @end
131
132 @interface NSDockExtra (NSDockExtraPrivate)
133 - (id)initWithBundle:(id)fp8 identifier:(unsigned int)fp12 controller:(id)fp16;
134 - (id)initWithBundle:(id)fp8 identifier:(unsigned int)fp12 data:(id)fp16 controller:(id)fp20;
135 - (void *)cgWindow;
136 @end
137
138 @interface NSMutableArray (NSDockExtraMenu)
139 - (void)insertItem:(id)fp8 atIndex:(int)fp12;
140 - (void)addItem:(id)fp8;
141 - (id)insertItemWithTitle:(id)fp8 action:(SEL)fp12 atIndex:(int)fp16;
142 - (id)addItemWithTitle:(id)fp8 action:(SEL)fp12;
143 - (void)removeItemAtIndex:(int)fp8;
144 - (void)setSubmenu:(id)fp8 forItem:(id)fp12;
145 - (int)indexOfItemWithTitle:(id)fp8;
146 - (int)indexOfItemWithAction:(SEL)fp8;
147 - (id)itemWithTitle:(id)fp8;
148 - (id)itemWithAction:(SEL)fp8;
149 @end
150
151 @interface NSMutableDictionary (NSDockExtraMenuItem)
152 + (id)separatorItem;
153 + (id)itemWithTitle:(id)fp8 action:(SEL)fp12;
154 - (BOOL)hasSubmenu;
155 - (void)setSubmenu:(id)fp8;
156 - (id)submenu;
157 - (void)setSubmenuSelectable:(BOOL)fp8;
158 - (BOOL)isSubmenuSelectable;
159 - (void)setTitle:(id)fp8;
160 - (id)title;
161 - (BOOL)isSeparatorItem;
162 - (void)setEnabled:(BOOL)fp8;
163 - (BOOL)isEnabled;
164 - (void)setAction:(SEL)fp8;
165 - (SEL)action;
166 - (void)setTag:(int)fp8;
167 - (int)tag;
168 - (void)setMark:(int)fp8;
169 - (int)mark;
170 - (void)setMarkChar:(id)fp8;
171 - (id)markChar;
172 - (void)setHeader:(BOOL)fp8;
173 - (BOOL)isHeader;
174 - (void)setStyle:(int)fp8;
175 - (int)style;
176 - (void)setIndent:(unsigned short)fp8;
177 - (unsigned short)indent;
178 - (void)setDynamicMask:(int)fp8;
179 - (int)dynamicMask;
180 - (void)removeDynamicMask;
181 - (void)setDynamicBreak:(BOOL)fp8;
182 - (BOOL)dynamicBreak;
183 - (void)setSystemIcon:(unsigned int)fp8;
184 - (unsigned int)systemIcon;
185 - (void)setResourceIcon:(id)fp8;
186 - (id)resourceIcon;
187 - (void)setIconEnabled:(BOOL)fp8;
188 - (BOOL)isIconEnabled;
189 @end
190
191 @interface NSApplicationDockExtra : NSDockExtra
192 {
193 }
194
195 - (void)applicationLaunched;
196 - (void)applicationDied;
197 - (void)setDockLabel:(id)fp8;
198
199 @end
200
201 @interface NSMenuExtraView : NSView
202 {
203 NSMenu *_menu;
204 NSMenuExtra *_menuExtra;
205 NSImage *_image;
206 NSImage *_alternateImage;
207 }
208
209 - (id)initWithFrame:(NSRect)fp8 menuExtra:(id)fp24;
210 - (void)dealloc;
211 - (void)setMenu:(id)fp8;
212 - (id)image;
213 - (void)setImage:(id)fp8;
214 - (id)alternateImage;
215 - (void)setAlternateImage:(id)fp8;
216 - (void)drawRect:(NSRect)fp8;
217 - (void)mouseDown:(id)fp8;
218
219 @end
220