]> git.saurik.com Git - iphone-api.git/commitdiff
Supporting the latest builds of Cycorder.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 12 Sep 2008 19:20:20 +0000 (12:20 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 12 Sep 2008 19:20:20 +0000 (12:20 -0700)
16 files changed:
GraphicsServices/GSWindow.h
GraphicsServices/GraphicsServices.h
MediaPlayer/MPMoviePlayerController.h
MediaPlayer/MediaPlayer.h [new file with mode: 0644]
MediaPlayer/UIEventObservableWindow.h
MediaPlayer/UIMoviePlayerController.h
QuartzCore/CAAnimation.h
QuartzCore/CALayer.h
QuartzCore/CAMediaTiming-Protocol.h
QuartzCore/CAMediaTimingFunction.h
QuartzCore/CATransaction.h
QuartzCore/CDStructures.h
UIKit/NSIndexPath-UITableView.h
UIKit/UIActionSheet.h
UIKit/UIAlertView.h
UIKit/UIKit.h

index 3faf98cdb4dd2bb7c3488dcc64d0553cf6724d9c..d5a10ea9107bbfb4e5b5e9bd6c5a7250ebbb12fa 100644 (file)
 #ifndef GRAPHICSSERVICS_GSWINDOW_H_
 #define GRAPHICSSERVICS_GSWINDOW_H_
 
-#ifndef __plusplus
+#ifdef __plusplus
 extern "C" {
 #endif
 
 typedef struct __GSWindow *GSWindowRef;
 
-#ifndef __plusplus
+#ifdef __plusplus
 }
 #endif
 
index 64dda1bf4bd0c523402b8222119e05aeca80e984..f880b0ae6ac18113041f9a53e5e7013ba47a4fb0 100644 (file)
@@ -40,6 +40,7 @@
 
 #include <mach/port.h>
 #include <CoreGraphics/CGGeometry.h>
+#include <GraphicsServices/GSWindow.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -157,7 +158,7 @@ mach_port_name_t GSGetPurpleNamedPort(CFStringRef name);
 uint64_t GSCurrentEventTimestamp(void);
 void GSSendSystemEvent(struct GSEventRecord *record);
 void GSSendEvent(struct GSEventRecord *record, mach_port_name_t port);
-GSPathInfo GSEventGetPathInfoAtIndex(GSEventRef event, unsigned index);
+struct GSPathInfo GSEventGetPathInfoAtIndex(GSEventRef event, unsigned index);
 
 #ifdef __cplusplus
 }
index 6577464537bfdfd4582f6a83e525b3140d5463bf..e2102b76555d1e6a6bb0a25b4ea4fbb8154c54ce 100644 (file)
@@ -4,7 +4,7 @@
  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
  */
 
-#import "NSObject.h"
+#import <Foundation/NSObject.h>
 
 @class NSError, NSURL, UIColor, UIWindow;
 
diff --git a/MediaPlayer/MediaPlayer.h b/MediaPlayer/MediaPlayer.h
new file mode 100644 (file)
index 0000000..e61140f
--- /dev/null
@@ -0,0 +1,27 @@
+#ifndef MEDIAPLAYER_MEDIAPLAYER_H_
+#define MEDIAPLAYER_MEDIAPLAYER_H_
+
+typedef enum {
+    MPMovieScalingModeNone,
+    MPMovieScalingModeAspectFit,
+    MPMovieScalingModeAspectFill,
+    MPMovieScalingModeFill,
+} MPMovieScalingMode;
+
+#import <MediaPlayer/MPMoviePlayerController.h>
+#import <MediaPlayer/MPVideoView.h>
+
+#import <MediaPlayer/UIEventObservableWindow.h>
+#import <MediaPlayer/UIMoviePlayerController.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern NSString * const MPMoviePlayerPlaybackDidFinishNotification;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif/*MEDIAPLAYER_MEDIAPLAYER_H_*/
index 14466feff6763b578ced43a3f16060036205c723..d0ee71108dd426d68bc3edf961ec1a590f6dd644 100644 (file)
@@ -4,7 +4,7 @@
  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
  */
 
-#import "UIWindow.h"
+#import <UIKit/UIWindow.h>
 
 @class NSMutableArray;
 
index 142023d6396ca35595fe4ce5b6a6b1ab429e1f91..a5512618f6e0109353e975384991c31cc631625c 100644 (file)
@@ -4,7 +4,7 @@
  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
  */
 
-#import "NSObject.h"
+#import <Foundation/NSObject.h>
 
 @class MPItem, MPVideoViewController;
 
index 193f0b6925fd5c5b3cd4965c60c189e1750e5a7b..219c66ce94768b74059bbc522b9f9aa62d640742 100644 (file)
@@ -4,7 +4,7 @@
  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
  */
 
-#import "NSObject.h"
+#import <Foundation/NSObject.h>
 
 #import "CAAction-Protocol.h"
 #import "CAMediaTiming-Protocol.h"
index e23c7d675d304a27b6e4f3cb98297762d771ea03..8b0e28521316896a9a050ce3926d740a486a73f3 100644 (file)
@@ -4,13 +4,23 @@
  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
  */
 
-#import "NSObject.h"
+#import <Foundation/NSObject.h>
 
 #import "CAMediaTiming-Protocol.h"
 
 @interface CALayer : NSObject <CAMediaTiming>
 {
-    struct _CALayerIvars _attr;
+    struct _CALayerIvars {
+        int refcount;
+        unsigned int flags;
+        unsigned int parent;
+        void *sublayers;
+        CALayer *mask;
+        struct _CALayerState *state;
+        struct _CALayerState *previous_state;
+        struct _CALayerAnimation *animations;
+        unsigned int slots[3];
+    } _attr;
 }
 
 + (id)defaultValueForKey:(id)fp8;
index c36a93c67751488264b4c94cf64ea8baca649003..aa1ac35d5c0cfaa7a136eb293de714976cd29d3a 100644 (file)
@@ -5,8 +5,8 @@
  */
 
 @protocol CAMediaTiming
-- (id)fillMode;
-- (void)setFillMode:(id)fp8;
+- (NSString *)fillMode;
+- (void)setFillMode:(NSString *)fp8;
 - (BOOL)autoreverses;
 - (void)setAutoreverses:(BOOL)fp8;
 - (double)repeatDuration;
index ec53074e04e45a05685761da9fd30abdf8f697f0..2a8598114d6227d4ec37946fc5da5970a614d528 100644 (file)
@@ -4,7 +4,7 @@
  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
  */
 
-#import "NSObject.h"
+#import <Foundation/NSObject.h>
 
 @interface CAMediaTimingFunction : NSObject
 {
index 4cac6a6e942a5c54f6ebabeeb23fef3740fd2d74..f0a15ee55940d325ad59046d16e75b19c4826d9a 100644 (file)
@@ -4,7 +4,7 @@
  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
  */
 
-#import "NSObject.h"
+#import <Foundation/NSObject.h>
 
 @interface CATransaction : NSObject
 {
index 5e23a12444e6cd77e51e3064122256fd1e70c5d4..4509c5f0ace033fd234061e74a621dfb41a5936c 100644 (file)
@@ -139,18 +139,6 @@ struct _CALayerArrayIvars {
     char retained;
 };
 
-struct _CALayerIvars {
-    int refcount;
-    unsigned int flags;
-    unsigned int parent;
-    void *sublayers;
-    CALayer *mask;
-    struct _CALayerState *state;
-    struct _CALayerState *previous_state;
-    struct _CALayerAnimation *animations;
-    unsigned int slots[3];
-};
-
 struct _CALayerState;
 
 struct _CARenderAnimation {
index 7814bee71713b1d9fdaa3309908c80042b37d98c..fc6cdb6fee9007d6890e34dc56d05baa382ecbbd 100644 (file)
@@ -4,7 +4,7 @@
  *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
  */
 
-#import "NSIndexPath.h"
+#import <Foundation/NSIndexPath.h>
 
 @interface NSIndexPath (UITableView)
 + (id)indexPathForRow:(unsigned int)fp8 inSection:(unsigned int)fp12;
index 6639a067e69dd50c4ffd667d6985b549897b8df2..6a850514f874f2df4505cb005e03eab61238090b 100644 (file)
@@ -8,45 +8,6 @@
 
 @class NSMutableArray, UILabel, UIToolbar, UIWindow;
 
-/*XXX:*/typedef struct {
-    unsigned int numberOfRows:7;
-    unsigned int delegateAlertSheetButtonClicked:1;
-    unsigned int delegateDidPresentAlertSheet:1;
-    unsigned int delegateDidDismissAlertSheet:1;
-    unsigned int hideButtonBar:1;
-    unsigned int alertStyle:3;
-    unsigned int dontDimBackground:1;
-    unsigned int dismissSuspended:1;
-    unsigned int dontBlockInteraction:1;
-    unsigned int sheetWasPoppedUp:1;
-    unsigned int animating:1;
-    unsigned int hideWhenDoneAnimating:1;
-    unsigned int layoutWhenDoneAnimating:1;
-    unsigned int titleMaxLineCount:2;
-    unsigned int bodyTextMaxLineCount:3;
-    unsigned int runsModal:1;
-    unsigned int runningModal:1;
-    unsigned int addedTextView:1;
-    unsigned int addedTableShadows:1;
-    unsigned int showOverSBAlerts:1;
-    unsigned int showMinTableContent:1;
-    unsigned int bodyTextTruncated:1;
-    unsigned int orientation:3;
-    unsigned int delegateBodyTextAlignment:1;
-    unsigned int delegateClickedButtonAtIndex:1;
-    unsigned int delegateClickedButtonAtIndex2:1;
-    unsigned int delegateCancel:1;
-    unsigned int delegateCancel2:1;
-    unsigned int delegateWillPresent:1;
-    unsigned int delegateWillPresent2:1;
-    unsigned int delegateDidPresent:1;
-    unsigned int delegateDidPresent2:1;
-    unsigned int delegateWillDismiss:1;
-    unsigned int delegateWillDismiss2:1;
-    unsigned int delegateDidDismiss:1;
-    unsigned int delegateDidDismiss2:1;
-} CDAnonymousStruct7;
-
 @interface UIActionSheet : UIView
 {
     id /*XXX:<UIActionSheetDelegate>*/ _delegate;
index 4dfad5ac83ca9ab6bda5f5c071aa22536c6585f9..7586b016ab9b0216242db6e8a0d454d86f605eb2 100644 (file)
@@ -10,7 +10,7 @@
 
 @interface UIAlertView : UIView
 {
-    id <UIAlertViewDelegate> _delegate;
+    id /*XXX:<UIAlertViewDelegate>*/ _delegate;
     UILabel *_titleLabel;
     UILabel *_subtitleLabel;
     UILabel *_bodyTextLabel;
index 35cfe08cf08dc27bc0fa6991e9305c118d03e11c..e611db9e5c98a8e6944c152bb56d8c3ae0d258cb 100644 (file)
@@ -4,7 +4,7 @@
 @class NSString;
 
 #import <Foundation/NSObjCRuntime.h>
-#import <GraphicsServices/GSWindow.h>
+#import <GraphicsServices/GraphicsServices.h>
 
 /*XXX:*/typedef struct {
     float top;
     float right;
 } CDAnonymousStruct2;
 
+/*XXX:*/typedef struct {
+    unsigned int numberOfRows:7;
+    unsigned int delegateAlertSheetButtonClicked:1;
+    unsigned int delegateDidPresentAlertSheet:1;
+    unsigned int delegateDidDismissAlertSheet:1;
+    unsigned int hideButtonBar:1;
+    unsigned int alertStyle:3;
+    unsigned int dontDimBackground:1;
+    unsigned int dismissSuspended:1;
+    unsigned int dontBlockInteraction:1;
+    unsigned int sheetWasPoppedUp:1;
+    unsigned int animating:1;
+    unsigned int hideWhenDoneAnimating:1;
+    unsigned int layoutWhenDoneAnimating:1;
+    unsigned int titleMaxLineCount:2;
+    unsigned int bodyTextMaxLineCount:3;
+    unsigned int runsModal:1;
+    unsigned int runningModal:1;
+    unsigned int addedTextView:1;
+    unsigned int addedTableShadows:1;
+    unsigned int showOverSBAlerts:1;
+    unsigned int showMinTableContent:1;
+    unsigned int bodyTextTruncated:1;
+    unsigned int orientation:3;
+    unsigned int delegateBodyTextAlignment:1;
+    unsigned int delegateClickedButtonAtIndex:1;
+    unsigned int delegateClickedButtonAtIndex2:1;
+    unsigned int delegateCancel:1;
+    unsigned int delegateCancel2:1;
+    unsigned int delegateWillPresent:1;
+    unsigned int delegateWillPresent2:1;
+    unsigned int delegateDidPresent:1;
+    unsigned int delegateDidPresent2:1;
+    unsigned int delegateWillDismiss:1;
+    unsigned int delegateWillDismiss2:1;
+    unsigned int delegateDidDismiss:1;
+    unsigned int delegateDidDismiss2:1;
+} CDAnonymousStruct7;
+
 typedef enum {
     UIBarButtonItemStylePlain,
     UIBarButtonItemStyleBordered,
@@ -91,23 +130,38 @@ typedef enum {
     UINavigationButtonStyleDestructive
 } UINavigationButtonStyle;
 
-enum {
-    UIViewAutoresizingNone                 = 0,
-    UIViewAutoresizingFlexibleLeftMargin   = 1 << 0,
-    UIViewAutoresizingFlexibleWidth        = 1 << 1,
-    UIViewAutoresizingFlexibleRightMargin  = 1 << 2,
-    UIViewAutoresizingFlexibleTopMargin    = 1 << 3,
-    UIViewAutoresizingFlexibleHeight       = 1 << 4,
-    UIViewAutoresizingFlexibleBottomMargin = 1 << 5,
-}; typedef NSUInteger UIViewAutoresizing;
+typedef enum {
+    UITableViewCellEditingStyleNone,
+    UITableViewCellEditingStyleDelete,
+    UITableViewCellEditingStyleInsert
+} UITableViewCellEditingStyle;
+
+typedef enum {
+    UITableViewCellSeparatorStyleNone,
+    UITableViewCellSeparatorStyleSingleLine
+} UITableViewCellSeparatorStyle;
 
 typedef enum {
-    UITransitionNone,
-    UITransitionPushFromRight,
-    UITransitionPushFromLeft,
-    UITransitionPushFromBottom,
-    UITransitionFade = 6,
-    UITransitionPushFromTop,
+    UITableViewRowAnimationFade,
+    UITableViewRowAnimationRight,
+    UITableViewRowAnimationLeft,
+    UITableViewRowAnimationTop,
+    UITableViewRowAnimationBottom,
+} UITableViewRowAnimation;
+
+typedef enum {
+    UITextAlignmentLeft   = 0,
+    UITextAlignmentCenter = 1,
+    UITextAlignmentRight  = 2,
+} UITextAlignment;
+
+typedef enum {
+    UITransitionNone           = 0,
+    UITransitionPushFromRight  = 1,
+    UITransitionPushFromLeft   = 2,
+    UITransitionPushFromBottom = 3,
+    UITransitionFade           = 6,
+    UITransitionPushFromTop    = 7,
 } UITransition;
 
 typedef enum {
@@ -117,6 +171,17 @@ typedef enum {
     UIViewAnimationCurveLinear,
 } UIViewAnimationCurve;
 
+enum {
+    UIViewAutoresizingNone                 = 0,
+    UIViewAutoresizingFlexibleLeftMargin   = 1 << 0,
+    UIViewAutoresizingFlexibleWidth        = 1 << 1,
+    UIViewAutoresizingFlexibleRightMargin  = 1 << 2,
+    UIViewAutoresizingFlexibleTopMargin    = 1 << 3,
+    UIViewAutoresizingFlexibleHeight       = 1 << 4,
+    UIViewAutoresizingFlexibleBottomMargin = 1 << 5,
+}; typedef NSUInteger UIViewAutoresizing;
+
+#import <UIKit/UIAlertView.h>
 #import <UIKit/UIAnimator.h>
 #import <UIKit/UIApplication.h>
 #import <UIKit/UIBarButtonItem.h>
@@ -125,6 +190,7 @@ typedef enum {
 #import <UIKit/UIButton.h>
 #import <UIKit/UIColor.h>
 #import <UIKit/UIColor-UIColorSystemColors.h>
+#import <UIKit/UIDevice.h>
 #import <UIKit/UIFieldEditor.h>
 #import <UIKit/UIFrameAnimation.h>
 #import <UIKit/UIFont.h>
@@ -178,6 +244,7 @@ typedef enum {
 #import <UIKit/UIWebView.h>
 #import <UIKit/UIWindow.h>
 
+#import <UIKit/NSIndexPath-UITableView.h>
 #import <UIKit/NSString-UIStringDrawing.h>
 
 #import <CoreGraphics/CoreGraphics.h>