1 #ifndef CYDIA_UIKITPRIVATE_H
2 #define CYDIA_UIKITPRIVATE_H
5 #include <JavaScriptCore/JavaScriptCore.h>
6 #include <UIKit/UIKit.h>
9 typedef struct __GSEvent
*GSEventRef
;
14 UIGestureAttributeMinDegrees
, /*float*/
15 UIGestureAttributeMaxDegrees
, /*float*/
16 UIGestureAttributeMinScale
, /*float*/
17 UIGestureAttributeMaxScale
, /*float*/
18 UIGestureAttributeIsZoomRubberBandEnabled
, /*BOOL*/
19 UIGestureAttributeZoomsFromCurrentToMinOrMax
, /*BOOL*/
20 UIGestureAttributeVisibleSize
, /*CGSize*/
21 UIGestureAttributeUpdatesScroller
, /*BOOL*/
25 UINavigationButtonStyleNormal
,
26 UINavigationButtonStyleBack
,
27 UINavigationButtonStyleHighlighted
,
28 UINavigationButtonStyleDestructive
29 } UINavigationButtonStyle
;
31 static const UIActivityIndicatorViewStyle
UIActivityIndicatorViewStyleWhiteSmall(static_cast<UIActivityIndicatorViewStyle
>(3));
32 static const UIActivityIndicatorViewStyle
UIActivityIndicatorViewStyleGraySmall(static_cast<UIActivityIndicatorViewStyle
>(4));
33 static const UIActivityIndicatorViewStyle
UIActivityIndicatorViewStyleWhiteTiny(static_cast<UIActivityIndicatorViewStyle
>(5));
36 #define UIDataDetectorTypeAutomatic 0x80000000
43 @
class WebScriptObject
;
51 DOM_CSS_PERCENTAGE
= 2,
67 DOM_CSS_DIMENSION
= 18,
74 DOM_CSS_RGBCOLOR
= 25,
82 typedef NS_ENUM(NSUInteger
, WebCacheModel
) {
83 WebCacheModelDocumentViewer
= 0,
84 WebCacheModelDocumentBrowser
= 1,
85 WebCacheModelPrimaryWebBrowser
= 2
102 WebKitErrorCannotShowMIMEType
= 100,
103 WebKitErrorCannotShowURL
= 101,
104 WebKitErrorFrameLoadInterruptedByPolicyChange
= 102,
107 // @protocol Web*; {{{
108 @protocol WebPolicyDecisionListener
<NSObject
>
115 // @interface * : UIView {{{
116 @interface UIFormAssistant
: UIView
117 + (UIFormAssistant
*) sharedFormAssistant
;
118 - (CGRect
) peripheralFrame
;
121 @interface UIKeyboard
: UIView
122 + (void) initImplementationNow
;
125 @interface UIProgressBar
: UIView
126 + (CGSize
) defaultSize
;
127 - (void) setProgress
:(float)progress
;
128 - (void) setStyle
:(NSInteger
)style
;
131 @interface UIProgressHUD
: UIView
133 - (void) setText
:(NSString
*)text
;
134 - (void) showInView
:(UIView
*)view
;
137 @interface UIScroller
: UIView
138 - (CGSize
) contentSize
;
139 - (void) setDirectionalScrolling
:(BOOL
)directional
;
140 - (void) setEventMode
:(NSInteger
)mode
;
141 - (void) setOffset
:(CGPoint
)offset
;
142 - (void) setScrollDecelerationFactor
:(CGFloat
)factor
;
143 - (void) setScrollHysteresis
:(CGFloat
)hysteresis
;
144 - (void) setScrollerIndicatorStyle
:(UIScrollViewIndicatorStyle
)style
;
145 - (void) setThumbDetectionEnabled
:(BOOL
)enabled
;
148 @interface UITextLabel
: UIView
149 - (void) setCentersHorizontally
:(BOOL
)centers
;
150 - (void) setColor
:(UIColor
*)color
;
151 - (void) setFont
:(UIFont
*)font
;
152 - (void) setText
:(NSString
*)text
;
155 @interface UITransitionView
: UIView
158 @interface UIWebDocumentView
: UIView
159 - (CGRect
) documentBounds
;
160 - (void) enableReachability
;
161 - (void) loadRequest
:(NSURLRequest
*)request
;
162 - (void) redrawScaledDocument
;
163 - (void) setAllowsImageSheet
:(BOOL
)allows
;
164 - (void) setAllowsMessaging
:(BOOL
)allows
;
165 - (void) setAutoresizes
:(BOOL
)autoresizes
;
166 - (void) setContentsPosition
:(NSInteger
)position
;
167 - (void) setDrawsBackground
:(BOOL
)draws
;
168 - (void) _setDocumentType
:(NSInteger
)type
;
169 - (void) setDrawsGrid
:(BOOL
)draws
;
170 - (void) setInitialScale
:(float)scale forDocumentTypes
:(NSInteger
)types
;
171 - (void) setLogsTilingChanges
:(BOOL
)logs
;
172 - (void) setMinimumScale
:(float)scale forDocumentTypes
:(NSInteger
)types
;
173 - (void) setMinimumSize
:(CGSize
)size
;
174 - (void) setMaximumScale
:(float)scale forDocumentTypes
:(NSInteger
)tpyes
;
175 - (void) setSmoothsFonts
:(BOOL
)smooths
;
176 - (void) setTileMinificationFilter
:(NSString
*)filter
;
177 - (void) setTileSize
:(CGSize
)size
;
178 - (void) setTilingEnabled
:(BOOL
)enabled
;
179 - (void) setViewportSize
:(CGSize
)size forDocumentTypes
:(NSInteger
)types
;
180 - (void) setZoomsFocusedFormControl
:(BOOL
)zooms
;
181 - (void) useSelectionAssistantWithMode
:(NSInteger
)mode
;
182 - (WebView
*) webView
;
185 @interface UIWebViewWebViewDelegate
: NSObject
{
186 @
public UIWebView
*uiWebView
;
189 - (void) _clearUIWebView
;
193 // @interface *Button : * {{{
194 @interface UINavigationButton
: UIButton
195 - (id
) initWithTitle
:(NSString
*)title style
:(UINavigationButtonStyle
)style
;
196 - (void) setBarStyle
:(UIBarStyle
)style
;
199 @interface UIPushButton
: UIControl
200 - (id
) backgroundForState
:(NSUInteger
)state
;
201 - (void) setAutosizesToFit
:(BOOL
)autosizes
;
202 - (void) setBackground
:(id
)background forState
:(NSUInteger
)state
;
203 - (void) setDrawsShadow
:(BOOL
)draws
;
204 - (void) setStretchBackground
:(BOOL
)stretch
;
205 - (void) setTitle
:(NSString
*)title
;
206 - (void) setTitleFont
:(UIFont
*)font
;
209 @interface UIThreePartButton
: UIPushButton
212 // @interface * : NS* {{{
213 @interface WebDefaultUIKitDelegate
: NSObject
214 + (WebDefaultUIKitDelegate
*) sharedUIKitDelegate
;
217 // @interface DOM* {{{
221 @interface DOMCSSValue
: DOMObject
224 @interface DOMCSSPrimitiveValue
: DOMCSSValue
225 @
property (readonly
) unsigned short primitiveType
;
226 - (DOMRGBColor
*) getRGBColorValue
;
227 - (float) getFloatValue
:(unsigned short)unit
;
230 @interface DOMRGBColor
: DOMObject
231 @
property (readonly
, strong
) DOMCSSPrimitiveValue
*red
;
232 @
property (readonly
, strong
) DOMCSSPrimitiveValue
*green
;
233 @
property (readonly
, strong
) DOMCSSPrimitiveValue
*blue
;
234 @
property (readonly
, strong
) DOMCSSPrimitiveValue
*alpha
;
237 @interface DOMCSSStyleDeclaration
: DOMObject
238 - (DOMCSSValue
*) getPropertyCSSValue
:(NSString
*)name
;
239 - (void) setProperty
:(NSString
*)name value
:(NSString
*)value priority
:(NSString
*)priority
;
242 @interface DOMNode
: DOMObject
245 @interface DOMNodeList
: DOMObject
246 @
property (readonly
) unsigned length
;
247 - (DOMNode
*) item
:(unsigned)index
;
250 @interface DOMElement
: DOMNode
251 @
property (readonly
) int scrollHeight
;
254 @interface DOMHTMLElement
: DOMElement
255 @
property (readonly
, strong
) DOMCSSStyleDeclaration
*style
;
258 @interface DOMHTMLBodyElement
: DOMHTMLElement
261 @interface DOMHTMLIFrameElement
: DOMHTMLElement
264 @interface DOMDocument
: DOMNode
265 @
property (strong
) DOMHTMLElement
*body
;
266 - (DOMCSSStyleDeclaration
*) getComputedStyle
:(DOMElement
*)element pseudoElement
:(NSString
*)pseudo
;
267 - (DOMNodeList
*) getElementsByTagName
:(NSString
*)name
;
270 // @interface WAK* : * {{{
271 @interface WAKResponder
: NSObject
274 @interface WAKView
: NSObject
275 + (BOOL
) hasLandscapeOrientation
;
278 @interface WAKWindow
: NSObject
279 + (BOOL
) hasLandscapeOrientation
;
282 // @interface Web* {{{
283 @interface WebPreferences
: NSObject
284 - (void) setCacheModel
:(WebCacheModel
)value
;
285 - (void) setJavaScriptCanOpenWindowsAutomatically
:(BOOL
)value
;
288 @interface WebDataSource
: NSObject
289 - (NSURLRequest
*) request
;
290 - (NSURLResponse
*) response
;
293 @interface WebFrame
: NSObject
294 @
property (nonatomic
, readonly
, copy
) NSArray
*childFrames
;
295 @
property (nonatomic
, readonly
, strong
) WebDataSource
*dataSource
;
296 @
property (nonatomic
, readonly
, strong
) DOMDocument
*DOMDocument
;
297 @
property (nonatomic
, readonly
, strong
) DOMHTMLElement
*frameElement
;
298 @
property (nonatomic
, readonly
) JSGlobalContextRef globalContext
;
299 @
property (nonatomic
, readonly
, strong
) WebFrame
*parentFrame
;
300 @
property (nonatomic
, readonly
, strong
) WebDataSource
*provisionalDataSource
;
301 @
property (nonatomic
, readonly
, strong
) WebScriptObject
*windowObject
;
304 @interface WebView
: WAKView
305 @
property (nonatomic
, readonly
, strong
) WebFrame
*mainFrame
;
306 @
property (nonatomic
, strong
) WebPreferences
*preferences
;
307 - (IBAction
) reloadFromOrigin
:(id
)sender
;
308 - (void) setApplicationNameForUserAgent
:(NSString
*)value
;
309 - (void) setShouldUpdateWhileOffscreen
:(BOOL
)value
;
312 @interface WebScriptObject
: NSObject
313 - (id
) evaluateWebScript
:(NSString
*)script
;
314 + (BOOL
) isKeyExcludedFromWebScript
:(const char *)name
;
315 - (JSObjectRef
) JSObject
;
316 - (void) setWebScriptValueAtIndex
:(unsigned)index value
:(id
)value
;
317 - (id
) webScriptValueAtIndex
:(unsigned)index
;
320 @interface WebUndefined
: NSObject
321 + (WebUndefined
*) undefined
;
324 // @interface UIWeb* : * {{{
325 @interface UIWebBrowserView
: UIWebDocumentView
328 @interface UIWebTouchEventsGestureRecognizer
: UIGestureRecognizer
330 - (NSString
*) _typeDescription
;
334 // @interface NS* (*) {{{
335 @interface
NSMutableURLRequest (Apple
)
336 - (void) setHTTPShouldUsePipelining
:(BOOL
)pipelining
;
339 @interface
NSObject (Apple
)
340 + (BOOL
) isKeyExcludedFromWebScript
:(const char *)name
;
341 - (NSArray
*) attributeKeys
;
344 @interface
NSString (Apple
)
345 - (NSString
*) stringByAddingPercentEscapes
;
346 - (NSString
*) stringByReplacingCharacter
:(UniChar
)from withCharacter
:(UniChar
)to
;
349 @interface
NSURL (Apple
)
350 - (BOOL
) isGoogleMapsURL
;
351 - (BOOL
) isSpringboardHandledURL
;
352 // XXX: make this an enum
353 - (NSURL
*) itmsURL
:(NSInteger
*)store
;
355 - (NSURL
*) phobosURL
;
356 - (NSURL
*) youTubeURL
;
359 @interface
NSURLRequest (Apple
)
360 + (BOOL
) allowsAnyHTTPSCertificateForHost
:(NSString
*)host
;
361 + (void) setAllowsAnyHTTPSCertificate
:(BOOL
)allow forHost
:(NSString
*)host
;
364 @interface
NSValue (Apple
)
365 + (NSValue
*) valueWithSize
:(CGSize
)size
;
368 // @interface UI* (*) {{{
369 @interface
UIActionSheet (Apple
)
370 - (void) setContext
:(NSString
*)context
;
371 - (NSString
*) context
;
374 @interface
UIAlertView (Apple
)
375 - (void) addTextFieldWithValue
:(NSString
*)value label
:(NSString
*)label
;
377 - (NSString
*) context
;
378 - (void) setContext
:(NSString
*)context
;
379 - (void) setNumberOfRows
:(int)rows
;
380 - (void) setRunsModal
:(BOOL
)modal
;
381 - (UITextField
*) textField
;
382 - (UITextField
*) textFieldAtIndex
:(NSUInteger
)index
;
383 - (void) _updateFrameForDisplay
;
386 @interface
UIApplication (Apple
)
387 - (void) suspendReturningToLastApp
:(BOOL
)returning
;
389 - (void) applicationSuspend
;
390 - (void) applicationSuspend
:(GSEventRef
)event
;
391 - (void) _animateSuspension
:(BOOL
)suspend duration
:(double)duration startTime
:(double)start scale
:(float)scale
;
392 - (void) applicationOpenURL
:(NSURL
*)url
;
393 - (void) applicationWillResignActive
:(UIApplication
*)application
;
394 - (void) applicationWillSuspend
;
395 - (void) launchApplicationWithIdentifier
:(NSString
*)identifier suspended
:(BOOL
)suspended
;
396 - (void) openURL
:(NSURL
*)url asPanel
:(BOOL
)panel
;
397 - (void) setStatusBarShowsProgress
:(BOOL
)shows
;
398 - (void) _setSuspended
:(BOOL
)suspended
;
399 - (void) terminateWithSuccess
;
402 @interface
UIBarButtonItem (Apple
)
406 @interface
UIColor (Apple
)
407 + (UIColor
*) pinStripeColor
;
410 @interface
UIControl (Apple
)
411 - (void) addTarget
:(id
)target action
:(SEL
)action forEvents
:(NSInteger
)events
;
414 @interface
UIDevice (Apple
)
415 - (NSString
*) uniqueIdentifier
;
418 @interface
UIImage (Apple
)
419 + (UIImage
*) imageAtPath
:(NSString
*)path
;
422 @interface
UILocalizedIndexedCollation (Apple
)
423 - (id
) initWithDictionary
:(NSDictionary
*)dictionary
;
424 - (NSString
*) transformedCollationStringForString
:(NSString
*)string
;
427 @interface
UINavigationBar (Apple
)
428 + (CGSize
) defaultSize
;
429 - (UIBarStyle
) _barStyle
:(BOOL
)style
;
432 @interface
UIScrollView (Apple
)
433 - (void) setScrollingEnabled
:(BOOL
)enabled
;
434 - (void) setShowBackgroundShadow
:(BOOL
)show
;
437 @interface
UISearchBar (Apple
)
438 - (UITextField
*) searchField
;
441 @interface
UITabBarController (Apple
)
442 - (UITransitionView
*) _transitionView
;
443 - (void) concealTabBarSelection
;
444 - (void) revealTabBarSelection
;
447 @interface
UITabBarItem (Apple
)
448 - (void) setAnimatedBadge
:(BOOL
)animated
;
452 @interface
UITableViewCell (Apple
)
453 - (float) selectionPercent
;
454 - (void) _updateHighlightColorsForView
:(id
)view highlighted
:(BOOL
)highlighted
;
457 @interface
UITextField (Apple
)
458 - (NSObject
<UITextInputTraits
> *) textInputTraits
;
461 @interface
UITextView (Apple
)
463 - (void) setAllowsRubberBanding
:(BOOL
)rubberbanding
;
464 - (void) setFont
:(UIFont
*)font
;
465 - (void) setMarginTop
:(int)margin
;
466 - (void) setTextColor
:(UIColor
*)color
;
469 @interface
UIView (Apple
)
470 - (UIScroller
*) _scroller
;
471 - (void) setClipsSubviews
:(BOOL
)clips
;
472 - (void) setEnabledGestures
:(NSInteger
)gestures
;
473 - (void) setFixedBackgroundPattern
:(BOOL
)fixed
;
474 - (void) setGestureDelegate
:(id
)delegate
;
475 - (void) setNeedsDisplayOnBoundsChange
:(BOOL
)needs
;
476 - (void) setValue
:(NSValue
*)value forGestureAttribute
:(NSInteger
)attribute
;
477 - (void) setZoomScale
:(float)scale duration
:(double)duration
;
478 - (void) _setZoomScale
:(float)scale duration
:(double)duration
;
479 - (void) setOrigin
:(CGPoint
)origin
;
482 @interface
UIViewController (Apple
)
483 - (void) _updateLayoutForStatusBarAndInterfaceOrientation
;
487 @interface
UIWindow (Apple
)
488 - (UIResponder
*) firstResponder
;
489 - (void) makeKey
:(UIApplication
*)application
;
490 - (void) orderFront
:(UIApplication
*)application
;
493 @interface
UIWebView (Apple
)
494 - (UIWebDocumentView
*) _documentView
;
495 - (UIScrollView
*) _scrollView
;
496 - (UIScroller
*) _scroller
;
497 - (void) _updateViewSettings
;
498 - (void) webView
:(WebView
*)view addMessageToConsole
:(NSDictionary
*)message
;
499 //- (WebView *) webView:(WebView *)view createWebViewWithRequest:(NSURLRequest *)request;
500 - (void) webView
:(WebView
*)view decidePolicyForNavigationAction
:(NSDictionary
*)action request
:(NSURLRequest
*)request frame
:(WebFrame
*)frame decisionListener
:(id
<WebPolicyDecisionListener
>)listener
;
501 - (void) webView
:(WebView
*)view decidePolicyForNewWindowAction
:(NSDictionary
*)action request
:(NSURLRequest
*)request newFrameName
:(NSString
*)name decisionListener
:(id
<WebPolicyDecisionListener
>)listener
;
502 - (void) webView
:(WebView
*)view didClearWindowObject
:(WebScriptObject
*)window forFrame
:(WebFrame
*)frame
;
503 - (void) webView
:(WebView
*)view didCommitLoadForFrame
:(WebFrame
*)frame
;
504 - (void) webView
:(WebView
*)view didFailLoadWithError
:(NSError
*)error forFrame
:(WebFrame
*)frame
;
505 - (void) webView
:(WebView
*)view didFailProvisionalLoadWithError
:(NSError
*)error forFrame
:(WebFrame
*)frame
;
506 - (void) webView
:(WebView
*)view didFinishLoadForFrame
:(WebFrame
*)frame
;
507 - (void) webView
:(WebView
*)view didReceiveTitle
:(id
)title forFrame
:(id
)frame
;
508 - (void) webView
:(WebView
*)view didStartProvisionalLoadForFrame
:(WebFrame
*)frame
;
509 - (void) webView
:(WebView
*)view resource
:(id
)identifier didReceiveAuthenticationChallenge
:(NSURLAuthenticationChallenge
*)challenge fromDataSource
:(WebDataSource
*)source
;
510 - (void) webView
:(WebView
*)view resource
:(id
)identifier didCancelAuthenticationChallenge
:(NSURLAuthenticationChallenge
*)challenge fromDataSource
:(WebDataSource
*)source
;
511 - (NSURLRequest
*) webView
:(WebView
*)view resource
:(id
)identifier willSendRequest
:(NSURLRequest
*)request redirectResponse
:(NSURLResponse
*)response fromDataSource
:(WebDataSource
*)source
;
512 - (NSURLRequest
*) webThreadWebView
:(WebView
*)view resource
:(id
)identifier willSendRequest
:(NSURLRequest
*)request redirectResponse
:(NSURLResponse
*)response fromDataSource
:(WebDataSource
*)source
;
513 - (void) webView
:(WebView
*)view runJavaScriptAlertPanelWithMessage
:(NSString
*)message initiatedByFrame
:(WebFrame
*)frame
;
514 - (BOOL
) webView
:(WebView
*)view runJavaScriptConfirmPanelWithMessage
:(NSString
*)message initiatedByFrame
:(WebFrame
*)frame
;
515 - (NSString
*) webView
:(WebView
*)view runJavaScriptTextInputPanelWithPrompt
:(NSString
*)prompt defaultText
:(NSString
*)text initiatedByFrame
:(WebFrame
*)frame
;
516 - (void) webViewClose
:(WebView
*)view
;
519 // @interface Web* (*) {{{
520 @interface
WebFrame (Apple
)
521 - (void) setNeedsLayout
;
524 @interface
WebPreferences (Apple
)
525 + (void) _setInitialDefaultTextEncodingToSystemEncoding
;
526 - (void) _setLayoutInterval
:(NSInteger
)interval
;
527 - (void) setOfflineWebApplicationCacheEnabled
:(BOOL
)enabled
;
530 @interface
WebView (Apple
)
531 - (void) _preferencesChanged
:(WebPreferences
*)preferences
;
532 - (void) _preferencesChangedNotification
:(NSNotification
*)notification
;
533 - (void) _setLayoutInterval
:(float)interval
;
534 - (void) _setAllowsMessaging
:(BOOL
)allows
;
538 // #ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER {{{
539 #ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
540 #define AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
541 // XXX: this is a random jumble of garbage
544 UIModalPresentationFullScreen
,
545 UIModalPresentationPageSheet
,
546 UIModalPresentationFormSheet
,
547 UIModalPresentationCurrentContext
,
548 } UIModalPresentationStyle
;
550 #define kSCNetworkReachabilityFlagsConnectionOnTraffic kSCNetworkReachabilityFlagsConnectionAutomatic
552 #define UIBarStyleBlack UIBarStyleBlackOpaque
554 @
class NSUndoManager
;
557 @interface
UIActionSheet (iPad
)
558 - (void) showFromBarButtonItem
:(UIBarButtonItem
*)item animated
:(BOOL
)animated
;
561 @interface
UIViewController (iPad
)
562 - (void) setModalPresentationStyle
:(UIModalPresentationStyle
)style
;
565 @interface
UIApplication (iOS_3_0
)
566 @
property(nonatomic
) BOOL applicationSupportsShakeToEdit
;
569 @interface
UIScrollView (iOS_3_0
)
570 @
property(assign
,nonatomic
) CGFloat decelerationRate
;
573 @interface
UIWebView (iOS_3_0
)
574 @
property(assign
,nonatomic
) NSUInteger dataDetectorTypes
;
577 extern CGFloat
const UIScrollViewDecelerationRateNormal
;
579 #endif//AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
581 // #if __IPHONE_OS_VERSION_MIN_REQUIRED < 30000 {{{
582 #if __IPHONE_OS_VERSION_MIN_REQUIRED < 30000
584 #define kSCNetworkReachabilityFlagsConnectionOnDemand (1 << 5)
585 #define kCFCoreFoundationVersionNumber_iPhoneOS_3_0 478.47
590 #ifndef kCFCoreFoundationVersionNumber_iPhoneOS_4_0
591 #define kCFCoreFoundationVersionNumber_iPhoneOS_4_0 550.32
594 @interface
UITabBarItem (iOS_7_0
)
595 - (id
) initWithTitle
:(NSString
*)title image
:(UIImage
*)image selectedImage
:(UIImage
*)selectedImage
;
598 @interface
UIScreen (iOS_4_0
)
599 @
property(nonatomic
,readonly
) CGFloat scale
;
602 @interface
DOMHTMLIFrameElement (IDL
)
603 - (WebFrame
*) contentFrame
;
607 extern CFStringRef
const kGSDisplayIdentifiersCapability
;
608 extern float const UIWebViewGrowsAndShrinksToFitHeight
;
609 extern float const UIWebViewScalesToFitScale
;
610 extern NSString
*WebKitErrorDomain
;
612 // extern "C" *(); {{{
613 extern "C" void *reboot2(uint64_t flags
);
614 extern "C" mach_port_t
SBSSpringBoardServerPort();
615 extern "C" int SBBundlePathForDisplayIdentifier(mach_port_t port
, const char *identifier
, char *path
);
616 extern "C" NSArray
*SBSCopyApplicationDisplayIdentifiers(bool active
, bool debuggable
);
617 extern "C" NSString
*SBSCopyLocalizedApplicationNameForDisplayIdentifier(NSString
*);
618 extern "C" NSString
*SBSCopyIconImagePathForDisplayIdentifier(NSString
*);
619 extern "C" UIImage
*_UIImageWithName(NSString
*name
);
620 extern "C" void UISetColor(CGColorRef color
);
623 #endif//CYDIA_UIKITPRIVATE_H