mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 10:01:14 +00:00
Add new class NSDictionaryController.
This commit is contained in:
parent
7a42b1d04c
commit
629c3afef2
5 changed files with 83 additions and 0 deletions
|
@ -81,6 +81,7 @@
|
|||
#import <AppKit/NSDataLink.h>
|
||||
#import <AppKit/NSDataLinkManager.h>
|
||||
#import <AppKit/NSDataLinkPanel.h>
|
||||
#import <AppKit/NSDictionaryController.h>
|
||||
#import <AppKit/NSDragging.h>
|
||||
#import <AppKit/NSEPSImageRep.h>
|
||||
#import <AppKit/NSEvent.h>
|
||||
|
|
47
Headers/AppKit/NSDictionaryController.h
Normal file
47
Headers/AppKit/NSDictionaryController.h
Normal file
|
@ -0,0 +1,47 @@
|
|||
/* Definition of class NSDictionaryController
|
||||
Copyright (C) 2020 Free Software Foundation, Inc.
|
||||
|
||||
By: Gregory John Casamento
|
||||
Date: 24-08-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
|
||||
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.
|
||||
*/
|
||||
|
||||
#ifndef _NSDictionaryController_h_GNUSTEP_GUI_INCLUDE
|
||||
#define _NSDictionaryController_h_GNUSTEP_GUI_INCLUDE
|
||||
|
||||
#import <AppKit/NSArrayController.h>
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@interface NSDictionaryController : NSArrayController
|
||||
|
||||
@end
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* GS_API_MACOSX */
|
||||
|
||||
#endif /* _NSDictionaryController_h_GNUSTEP_GUI_INCLUDE */
|
||||
|
|
@ -89,6 +89,9 @@
|
|||
// Keys in options dictionary
|
||||
|
||||
// binding values
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_13, GS_API_LATEST)
|
||||
typedef NSString *NSBindingName;
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST)
|
||||
APPKIT_EXPORT BOOL NSIsControllerMarker(id object);
|
||||
|
|
|
@ -97,6 +97,7 @@ NSDataLinkManager.m \
|
|||
NSDataLinkPanel.m \
|
||||
NSDatePicker.m \
|
||||
NSDatePickerCell.m \
|
||||
NSDictionaryController.m \
|
||||
NSDockTile.m \
|
||||
NSDocument.m \
|
||||
NSDocumentController.m \
|
||||
|
@ -422,6 +423,7 @@ NSDataLinkManager.h \
|
|||
NSDataLinkPanel.h \
|
||||
NSDatePicker.h \
|
||||
NSDatePickerCell.h \
|
||||
NSDictionaryController.h \
|
||||
NSDockTile.h \
|
||||
NSDocument.h \
|
||||
NSDocumentController.h \
|
||||
|
|
30
Source/NSDictionaryController.m
Normal file
30
Source/NSDictionaryController.m
Normal file
|
@ -0,0 +1,30 @@
|
|||
/* Implementation of class NSDictionaryController
|
||||
Copyright (C) 2020 Free Software Foundation, Inc.
|
||||
|
||||
By: Gregory John Casamento
|
||||
Date: 24-08-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
|
||||
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/NSDictionaryController.h"
|
||||
|
||||
@implementation NSDictionaryController
|
||||
|
||||
@end
|
||||
|
Loading…
Reference in a new issue