mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 14:31:55 +00:00
Add placeholder for NSStatusItem.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36950 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
16c2ec5de0
commit
24829740bc
5 changed files with 88 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2013-08-08 16:27-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
|
* Headers/AppKit/AppKit.h: Add new header for NSStatusItem.h
|
||||||
|
* Headers/AppKit/NSStatusItem.h: Placeholder header.
|
||||||
|
* Source/NSStatusItem.m: Add new class implementation.
|
||||||
|
* Source/GNUmakefile: Add new class.
|
||||||
|
|
||||||
2013-07-22 Quentin Mathe <quentin.mathe@gmail.com>
|
2013-07-22 Quentin Mathe <quentin.mathe@gmail.com>
|
||||||
|
|
||||||
* Source/NSImage.m (+_pathForImageNamed:, +_pathForSystemImageNamed:type:,
|
* Source/NSImage.m (+_pathForImageNamed:, +_pathForSystemImageNamed:type:,
|
||||||
|
|
|
@ -111,6 +111,7 @@
|
||||||
#import <AppKit/NSSpellChecker.h>
|
#import <AppKit/NSSpellChecker.h>
|
||||||
#import <AppKit/NSSpellProtocol.h>
|
#import <AppKit/NSSpellProtocol.h>
|
||||||
#import <AppKit/NSSplitView.h>
|
#import <AppKit/NSSplitView.h>
|
||||||
|
#import <AppKit/NSStatusItem.h>
|
||||||
#import <AppKit/NSStringDrawing.h>
|
#import <AppKit/NSStringDrawing.h>
|
||||||
#import <AppKit/NSText.h>
|
#import <AppKit/NSText.h>
|
||||||
#import <AppKit/NSTextField.h>
|
#import <AppKit/NSTextField.h>
|
||||||
|
|
41
Headers/AppKit/NSStatusItem.h
Normal file
41
Headers/AppKit/NSStatusItem.h
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
/*
|
||||||
|
NSStatusItem.h
|
||||||
|
|
||||||
|
The status item class
|
||||||
|
|
||||||
|
Copyright (C) 2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
Author: Gregory Casamento <greg.casamento@gmail.com>
|
||||||
|
Date: 2013
|
||||||
|
|
||||||
|
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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// FIXME: This class is currently a placeholder to allow compilation of
|
||||||
|
// apps which require NSStatusItem. Currently there is not a clean,
|
||||||
|
// cross-platform way to implement this functionality.
|
||||||
|
|
||||||
|
#ifndef _GNUstep_H_NSStatusItem
|
||||||
|
#define _GNUstep_H_NSStatusItem
|
||||||
|
#import <Foundation/NSObject.h>
|
||||||
|
|
||||||
|
@interface NSStatusItem : NSObject
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif // _GNUstep_H_NSStatusItem
|
|
@ -163,6 +163,7 @@ NSSplitView.m \
|
||||||
NSStepper.m \
|
NSStepper.m \
|
||||||
NSStepperCell.m \
|
NSStepperCell.m \
|
||||||
NSStringDrawing.m \
|
NSStringDrawing.m \
|
||||||
|
NSStatusItem.m \
|
||||||
NSTabView.m \
|
NSTabView.m \
|
||||||
NSTabViewItem.m \
|
NSTabViewItem.m \
|
||||||
NSTableColumn.m \
|
NSTableColumn.m \
|
||||||
|
@ -375,6 +376,7 @@ NSSplitView.h \
|
||||||
NSStepper.h \
|
NSStepper.h \
|
||||||
NSStepperCell.h \
|
NSStepperCell.h \
|
||||||
NSStringDrawing.h \
|
NSStringDrawing.h \
|
||||||
|
NSStatusItem.h \
|
||||||
NSTabView.h \
|
NSTabView.h \
|
||||||
NSTabViewItem.h \
|
NSTabViewItem.h \
|
||||||
NSTableColumn.h \
|
NSTableColumn.h \
|
||||||
|
|
37
Source/NSStatusItem.m
Normal file
37
Source/NSStatusItem.m
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
/*
|
||||||
|
NSStatusItem.h
|
||||||
|
|
||||||
|
The status item class
|
||||||
|
|
||||||
|
Copyright (C) 2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
Author: Gregory Casamento <greg.casamento@gmail.com>
|
||||||
|
Date: 2013
|
||||||
|
|
||||||
|
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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// FIXME: This class is currently a placeholder to allow compilation of
|
||||||
|
// apps which require NSStatusItem. Currently there is not a clean,
|
||||||
|
// cross-platform way to implement this functionality.
|
||||||
|
|
||||||
|
#import <AppKit/NSStatusItem.h>
|
||||||
|
|
||||||
|
@implementation NSStatusItem
|
||||||
|
@end
|
Loading…
Add table
Add a link
Reference in a new issue