mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-23 04:00:00 +00:00
Add stubs for WeChat
This commit is contained in:
parent
dd03d4d769
commit
0f4622a8f9
@ -91,6 +91,7 @@ set(AppKit_sources
|
||||
NSComboBoxCell.m
|
||||
NSWindowScripting.m
|
||||
NSGraphicsContext.m
|
||||
NSPageController.m
|
||||
NSPageLayout.m
|
||||
NSTabViewItem.m
|
||||
NSText.m
|
||||
@ -189,6 +190,7 @@ set(AppKit_sources
|
||||
NSMutableParagraphStyle.m
|
||||
NSBrowser.m
|
||||
NSToolTipWindow.m
|
||||
NSTitlebarAccessoryViewController.m
|
||||
NSPasteboard.m
|
||||
NSSearchFieldCell.m
|
||||
NSOutlineView.m
|
||||
|
15
AppKit/NSPageController.m
Normal file
15
AppKit/NSPageController.m
Normal file
@ -0,0 +1,15 @@
|
||||
#import <AppKit/NSPageController.h>
|
||||
|
||||
@implementation NSPageController
|
||||
|
||||
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
|
||||
{
|
||||
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
|
||||
}
|
||||
|
||||
- (void)forwardInvocation:(NSInvocation *)anInvocation
|
||||
{
|
||||
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
|
||||
}
|
||||
|
||||
@end
|
15
AppKit/NSTitlebarAccessoryViewController.m
Normal file
15
AppKit/NSTitlebarAccessoryViewController.m
Normal file
@ -0,0 +1,15 @@
|
||||
#import <AppKit/NSTitlebarAccessoryViewController.h>
|
||||
|
||||
@implementation NSTitlebarAccessoryViewController
|
||||
|
||||
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
|
||||
{
|
||||
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
|
||||
}
|
||||
|
||||
- (void)forwardInvocation:(NSInvocation *)anInvocation
|
||||
{
|
||||
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
|
||||
}
|
||||
|
||||
@end
|
@ -84,6 +84,8 @@ const NSNotificationName NSWindowAnimatingNotification =
|
||||
const NSNotificationName NSWindowDidAnimateNotification =
|
||||
@"NSWindowDidAnimateNotification";
|
||||
|
||||
const NSNotificationName NSWindowDidChangeOcclusionStateNotification =
|
||||
@"NSWindowDidChangeOcclusionStateNotification";
|
||||
const NSNotificationName NSWindowDidChangeScreenNotification =
|
||||
@"NSWindowDidChangeScreenNotification";
|
||||
const NSNotificationName NSWindowDidEndSheetNotification =
|
||||
|
@ -41,10 +41,18 @@ NSString *const NSWorkspaceActiveSpaceDidChangeNotification =
|
||||
@"NSWorkspaceActiveSpaceDidChangeNotification";
|
||||
const NSNotificationName NSWorkspaceDidDeactivateApplicationNotification =
|
||||
@"NSWorkspaceDidDeactivateApplicationNotification";
|
||||
const NSNotificationName NSWorkspaceDidWakeNotification =
|
||||
@"NSWorkspaceDidWakeNotification";
|
||||
NSString *const NSWorkspaceDidLaunchApplicationNotification =
|
||||
@"NSWorkspaceDidLaunchApplicationNotification";
|
||||
NSString *const NSWorkspaceDidTerminateApplicationNotification =
|
||||
@"NSWorkspaceDidTerminateApplicationNotification";
|
||||
const NSNotificationName NSWorkspaceScreensDidSleepNotification =
|
||||
@"NSWorkspaceScreensDidSleepNotification";
|
||||
const NSNotificationName NSWorkspaceScreensDidWakeNotification =
|
||||
@"NSWorkspaceScreensDidWakeNotification";
|
||||
const NSNotificationName NSWorkspaceWillSleepNotification =
|
||||
@"NSWorkspaceWillSleepNotification";
|
||||
const NSNotificationName NSWorkspaceSessionDidBecomeActiveNotification =
|
||||
@"NSWorkspaceSessionDidBecomeActiveNotification";
|
||||
const NSNotificationName NSWorkspaceSessionDidResignActiveNotification =
|
||||
|
@ -113,6 +113,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
#import <AppKit/NSOpenPanel.h>
|
||||
#import <AppKit/NSOutlineView.h>
|
||||
#import <AppKit/NSPDFImageRep.h>
|
||||
#import <AppKit/NSPageController.h>
|
||||
#import <AppKit/NSPageLayout.h>
|
||||
#import <AppKit/NSPanel.h>
|
||||
#import <AppKit/NSParagraphStyle.h>
|
||||
@ -144,6 +145,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
#import <AppKit/NSSegmentedCell.h>
|
||||
#import <AppKit/NSSegmentedControl.h>
|
||||
#import <AppKit/NSShadow.h>
|
||||
#import <AppKit/NSSharingService.h>
|
||||
#import <AppKit/NSSlider.h>
|
||||
#import <AppKit/NSSliderCell.h>
|
||||
#import <AppKit/NSSound.h>
|
||||
@ -178,6 +180,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
#import <AppKit/NSTextTable.h>
|
||||
#import <AppKit/NSTextTableBlock.h>
|
||||
#import <AppKit/NSTextView.h>
|
||||
#import <AppKit/NSTitlebarAccessoryViewController.h>
|
||||
#import <AppKit/NSTokenField.h>
|
||||
#import <AppKit/NSTokenFieldCell.h>
|
||||
#import <AppKit/NSToolbar.h>
|
||||
|
6
AppKit/include/AppKit/NSPageController.h
Normal file
6
AppKit/include/AppKit/NSPageController.h
Normal file
@ -0,0 +1,6 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <AppKit/NSViewController.h>
|
||||
|
||||
@interface NSPageController : NSViewController
|
||||
|
||||
@end
|
@ -22,5 +22,8 @@
|
||||
@interface NSSharingService : NSObject
|
||||
@end
|
||||
|
||||
@interface NSSharingServicePicker : NSObject
|
||||
@end
|
||||
|
||||
// @interface NSItemProvider (NSCloudKitSharing)
|
||||
// @end
|
||||
|
@ -0,0 +1,6 @@
|
||||
#import <AppKit/NSViewController.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface NSTitlebarAccessoryViewController : NSViewController
|
||||
|
||||
@end
|
@ -134,6 +134,7 @@ APPKIT_EXPORT const NSNotificationName NSWindowWillStartLiveResizeNotification;
|
||||
APPKIT_EXPORT const NSNotificationName NSWindowDidEndLiveResizeNotification;
|
||||
APPKIT_EXPORT const NSNotificationName NSWindowWillBeginSheetNotification;
|
||||
|
||||
APPKIT_EXPORT const NSNotificationName NSWindowDidChangeOcclusionStateNotification;
|
||||
APPKIT_EXPORT const NSNotificationName NSWindowDidChangeScreenNotification;
|
||||
APPKIT_EXPORT const NSNotificationName NSWindowDidEndSheetNotification;
|
||||
APPKIT_EXPORT const NSNotificationName NSWindowDidEnterFullScreenNotification;
|
||||
|
@ -34,14 +34,15 @@ APPKIT_EXPORT NSString *const NSWorkspaceLaunchConfigurationEnvironment;
|
||||
APPKIT_EXPORT NSString *const NSWorkspaceLaunchConfigurationArchitecture;
|
||||
|
||||
APPKIT_EXPORT NSString *const NSWorkspaceActiveSpaceDidChangeNotification;
|
||||
APPKIT_EXPORT const NSNotificationName
|
||||
NSWorkspaceDidDeactivateApplicationNotification;
|
||||
APPKIT_EXPORT const NSNotificationName NSWorkspaceDidDeactivateApplicationNotification;
|
||||
APPKIT_EXPORT const NSNotificationName NSWorkspaceDidWakeNotification;
|
||||
APPKIT_EXPORT NSString *const NSWorkspaceDidLaunchApplicationNotification;
|
||||
APPKIT_EXPORT NSString *const NSWorkspaceDidTerminateApplicationNotification;
|
||||
APPKIT_EXPORT const NSNotificationName
|
||||
NSWorkspaceSessionDidBecomeActiveNotification;
|
||||
APPKIT_EXPORT const NSNotificationName
|
||||
NSWorkspaceSessionDidResignActiveNotification;
|
||||
APPKIT_EXPORT const NSNotificationName NSWorkspaceScreensDidSleepNotification;
|
||||
APPKIT_EXPORT const NSNotificationName NSWorkspaceScreensDidWakeNotification;
|
||||
APPKIT_EXPORT const NSNotificationName NSWorkspaceWillSleepNotification;
|
||||
APPKIT_EXPORT const NSNotificationName NSWorkspaceSessionDidBecomeActiveNotification;
|
||||
APPKIT_EXPORT const NSNotificationName NSWorkspaceSessionDidResignActiveNotification;
|
||||
|
||||
typedef NSUInteger NSWorkspaceIconCreationOptions;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user