NSSharingService: define class

Define the NSSharingService class as an unimplemented stub for
compatibility purposes.
This commit is contained in:
Daniel Ferreira 2017-07-18 03:56:07 +10:00 committed by Ivan Vučica
parent bb6805742d
commit 4769fc8edd
4 changed files with 81 additions and 0 deletions

View file

@ -107,6 +107,7 @@
#import <AppKit/NSScroller.h>
#import <AppKit/NSScrollView.h>
#import <AppKit/NSSelection.h>
#import <AppKit/NSSharingService.h>
#import <AppKit/NSSlider.h>
#import <AppKit/NSSliderCell.h>
#import <AppKit/NSSpellChecker.h>

View file

@ -0,0 +1,45 @@
/** NSSharingService.h
<abstract>Interface for sharing things</abstract>
Copyright <copy>(C) 2017 Free Software Foundation, Inc.</copy>
Author: Daniel Ferreira <dtf@stanford.edu>
Date: 2017
This file is part of the GNUstep GUI 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; see the file COPYING.LIB.
If not, see <http://www.gnu.org/licenses/> or write to the
Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef __GNUstep_NSSharingService
#define __GNUstep_NSSharingService
#import <Foundation/NSObject.h>
@interface NSSharingService : NSObject
@end
@protocol NSSharingServiceDelegate <NSObject>
@end
@interface NSSharingServicePicker : NSObject
@end
@protocol NSSharingServicePickerDelegate <NSObject>
@end
#endif

View file

@ -156,6 +156,7 @@ NSScrollView.m \
NSSecureTextField.m \
NSSelection.m \
NSShadow.m \
NSSharingService.m \
NSSlider.m \
NSSliderCell.m \
NSSound.m \
@ -378,6 +379,7 @@ NSSegmentedCell.h \
NSSegmentedControl.h \
NSSelection.h \
NSShadow.h \
NSSharingService.h \
NSSlider.h \
NSSliderCell.h \
NSSound.h \

33
Source/NSSharingService.m Normal file
View file

@ -0,0 +1,33 @@
/** NSSharingService.m
Copyright <copy>(C) 2017 Free Software Foundation, Inc.</copy>
Author: Daniel Ferreira <dtf@stanford.edu>
Date: 2017
This file is part of the GNUstep GUI 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; see the file COPYING.LIB.
If not, see <http://www.gnu.org/licenses/> or write to the
Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#import <AppKit/NSSharingService.h>
@implementation NSSharingService
@end
@implementation NSSharingServicePicker
@end