mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-23 04:00:00 +00:00
Add stub for NSCandidateListTouchBarItem
This commit is contained in:
parent
e9ece9d6cf
commit
4bb6117f35
@ -395,6 +395,7 @@ set(AppKit_sources
|
||||
NSAppearance.m
|
||||
NSAccessibilityElement.m
|
||||
NSKeyValueBinding.m
|
||||
NSCandidateListTouchBarItem.m
|
||||
NSCollectionViewFlowLayout.m
|
||||
NSTouchBarItem.m
|
||||
NSLayoutConstraint.m
|
||||
|
34
AppKit/NSCandidateListTouchBarItem.m
Normal file
34
AppKit/NSCandidateListTouchBarItem.m
Normal file
@ -0,0 +1,34 @@
|
||||
/*
|
||||
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/NSCandidateListTouchBarItem.h>
|
||||
|
||||
@implementation NSCandidateListTouchBarItem
|
||||
|
||||
- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector
|
||||
{
|
||||
return [NSMethodSignature signatureWithObjCTypes: "v@:"];
|
||||
}
|
||||
|
||||
- (void)forwardInvocation:(NSInvocation *)anInvocation
|
||||
{
|
||||
NSLog(@"Stub called: %@ in %@", NSStringFromSelector([anInvocation selector]), [self class]);
|
||||
}
|
||||
|
||||
@end
|
@ -39,6 +39,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
#import <AppKit/NSButtonCell.h>
|
||||
#import <AppKit/NSCIImageRep.h>
|
||||
#import <AppKit/NSCachedImageRep.h>
|
||||
#import <AppKit/NSCandidateListTouchBarItem.h>
|
||||
#import <AppKit/NSCell.h>
|
||||
#import <AppKit/NSClickGestureRecognizer.h>
|
||||
#import <AppKit/NSClipView.h>
|
||||
|
23
AppKit/include/AppKit/NSCandidateListTouchBarItem.h
Normal file
23
AppKit/include/AppKit/NSCandidateListTouchBarItem.h
Normal file
@ -0,0 +1,23 @@
|
||||
/*
|
||||
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/NSTouchBarItem.h>
|
||||
|
||||
@interface NSCandidateListTouchBarItem<__covariant CandidateType> : NSTouchBarItem
|
||||
@end
|
Loading…
Reference in New Issue
Block a user