Add skeletons

This commit is contained in:
Gregory John Casamento 2020-01-20 15:48:02 -05:00
parent ca35ae6a22
commit d507e88dec
6 changed files with 160 additions and 2 deletions

View file

@ -220,6 +220,8 @@
#import <AppKit/NSTextStorage.h>
#import <AppKit/NSTextTable.h>
#import <AppKit/NSTextView.h>
#import <AppKit/NSTouch.h>
#import <AppKit/NSTouchBar.h>
#import <AppKit/NSTouchBarItem.h>
#import <AppKit/NSTokenField.h>
#import <AppKit/NSTokenFieldCell.h>

47
Headers/AppKit/NSTouch.h Normal file
View file

@ -0,0 +1,47 @@
/* Definition of class NSTouch
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory Casamento
Date: Mon Jan 20 10:43:31 EST 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSTouch_h_GNUSTEP_GUI_INCLUDE
#define _NSTouch_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@interface NSTouch : NSObject
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSTouch_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,47 @@
/* Definition of class NSTouchBar
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory Casamento
Date: Mon Jan 20 10:35:18 EST 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSTouchBar_h_GNUSTEP_GUI_INCLUDE
#define _NSTouchBar_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_12, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@interface NSTouchBar : NSObject
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSTouchBar_h_GNUSTEP_GUI_INCLUDE */

View file

@ -120,6 +120,8 @@ NSSharingServicePickerTouchBarItem.m \
NSSliderTouchBarItem.m \
NSSpeechRecognizer.m \
NSStepperTouchBarItem.m \
NSTouch.m \
NSTouchBar.m \
NSTouchBarItem.m \
NSGestureRecognizer.m \
NSGradient.m \
@ -149,7 +151,6 @@ NSSharingServicePickerTouchBarItem.m \
NSSliderTouchBarItem.m \
NSSpeechRecognizer.m \
NSStepperTouchBarItem.m \
NSTouchBarItem.m \
NSMagnificationGestureRecognizer.m \
NSMatrix.m \
NSMenu.m \
@ -248,7 +249,6 @@ NSTextView_actions.m \
NSToolbar.m \
NSToolbarItem.m \
NSToolbarItemGroup.m \
NSTouchBarItem.m \
NSTokenField.m \
NSTokenFieldCell.m \
NSTrackingArea.m \
@ -507,6 +507,8 @@ NSTextView.h \
NSToolbar.h \
NSToolbarItem.h \
NSToolbarItemGroup.h \
NSTouch.h \
NSTouchBar.h \
NSTouchBarItem.h \
NSTokenField.h \
NSTokenFieldCell.h \

30
Source/NSTouch.m Normal file
View file

@ -0,0 +1,30 @@
/* Implementation of class NSTouch
Copyright (C) 2019 Free Software Foundation, Inc.
By: Gregory Casamento
Date: Mon Jan 20 10:43:31 EST 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#import <AppKit/NSTouch.h>
@implementation NSTouch
@end

30
Source/NSTouchBar.m Normal file
View file

@ -0,0 +1,30 @@
/* Implementation of class NSTouchBar
Copyright (C) 2019 Free Software Foundation, Inc.
By: Gregory Casamento
Date: Mon Jan 20 10:35:18 EST 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#import <AppKit/NSTouchBar.h>
@implementation NSTouchBar
@end