mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-26 21:40:44 +00:00
Add stubs for NSScrubberTextItemView
This commit is contained in:
parent
ab3f1f7803
commit
9cf905288c
@ -451,6 +451,7 @@ set(AppKit_sources
|
||||
NSSwitch.m
|
||||
NSTextFinder.m
|
||||
NSScrubber.m
|
||||
NSScrubberItemView.m
|
||||
NSUserInterfaceItemIdentification.m
|
||||
)
|
||||
|
||||
|
62
AppKit/NSScrubberItemView.m
Normal file
62
AppKit/NSScrubberItemView.m
Normal file
@ -0,0 +1,62 @@
|
||||
/*
|
||||
* This file is part of Darling.
|
||||
*
|
||||
* Copyright (C) 2024 Darling Developers
|
||||
*
|
||||
* Darling is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Darling is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Darling. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import <AppKit/NSScrubberItemView.h>
|
||||
|
||||
@implementation NSScrubberArrangedView
|
||||
|
||||
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
|
||||
{
|
||||
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
|
||||
}
|
||||
|
||||
- (void)forwardInvocation:(NSInvocation *)anInvocation
|
||||
{
|
||||
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSScrubberItemView
|
||||
|
||||
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
|
||||
{
|
||||
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
|
||||
}
|
||||
|
||||
- (void)forwardInvocation:(NSInvocation *)anInvocation
|
||||
{
|
||||
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSScrubberTextItemView
|
||||
|
||||
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
|
||||
{
|
||||
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
|
||||
}
|
||||
|
||||
- (void)forwardInvocation:(NSInvocation *)anInvocation
|
||||
{
|
||||
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
|
||||
}
|
||||
|
||||
@end
|
@ -143,6 +143,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
#import <AppKit/NSScrollView.h>
|
||||
#import <AppKit/NSScroller.h>
|
||||
#import <AppKit/NSScrubber.h>
|
||||
#import <AppKit/NSScrubberItemView.h>
|
||||
#import <AppKit/NSSearchField.h>
|
||||
#import <AppKit/NSSearchFieldCell.h>
|
||||
#import <AppKit/NSSecureTextField.h>
|
||||
|
29
AppKit/include/AppKit/NSScrubberItemView.h
Normal file
29
AppKit/include/AppKit/NSScrubberItemView.h
Normal file
@ -0,0 +1,29 @@
|
||||
/*
|
||||
* This file is part of Darling.
|
||||
*
|
||||
* Copyright (C) 2024 Darling Developers
|
||||
*
|
||||
* Darling is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Darling is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with Darling. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import <AppKit/NSView.h>
|
||||
|
||||
@interface NSScrubberArrangedView : NSView
|
||||
@end
|
||||
|
||||
@interface NSScrubberItemView : NSScrubberArrangedView
|
||||
@end
|
||||
|
||||
@interface NSScrubberTextItemView : NSScrubberItemView
|
||||
@end
|
Loading…
Reference in New Issue
Block a user