1 /* 2 GSInfoPanel.h 3 4 Standard GNUstep info panel 5 6 Copyright (C) 2000 Free Software Foundation, Inc. 7 8 Author: Nicola Pero <n.pero@mi.flashnet.it> 9 Date: January 2000 10 11 This file is part of the GNUstep GUI Library. 12 13 This library is free software; you can redistribute it and/or 14 modify it under the terms of the GNU Lesser General Public 15 License as published by the Free Software Foundation; either 16 version 2 of the License, or (at your option) any later version. 17 18 This library is distributed in the hope that it will be useful, 19 but WITHOUT ANY WARRANTY; without even the implied warranty of 20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 Lesser General Public License for more details. 22 23 You should have received a copy of the GNU Lesser General Public 24 License along with this library; see the file COPYING.LIB. 25 If not, see <http://www.gnu.org/licenses/> or write to the 26 Free Software Foundation, 51 Franklin Street, Fifth Floor, 27 Boston, MA 02110-1301, USA. 28 */ 29 30 #ifndef _GNUstep_H_GSInfoPanel 31 #define _GNUstep_H_GSInfoPanel 32 33 #import <AppKit/NSPanel.h> 34 35 @class NSDictionary; 36 37 /* If you need an Info Panel, the simpler thing to do is to use 38 * NSApplication -orderFrontStandardInfoPanel: and 39 * NSApplication -orderFrontStandardInfoPanelWithOptions:. 40 * They automatically manage an infoPanel for you. 41 */ 42 43 @interface GSInfoPanel: NSPanel 44 { 45 } 46 /* 47 * Instance Methods 48 */ 49 50 /* 51 * The designated initializer 52 * 53 * Useful keys (with example values) for the dictionary are: 54 * 55 * ApplicationName = @"Gorm" 56 * 57 * ApplicationDescription = @"GNUstep Graphics Object Relationship Modeller" 58 * 59 * ApplicationIcon = an image 60 * 61 * ApplicationRelease = @"Gorm 0" 62 * (ApplicationVersion in place of ApplicationRelease is also accepted for macosx compatibility) 63 * 64 * FullVersionID = @"0.0.1 1999" 65 * (Version also accepted for macosx compatibility) 66 * 67 * Authors = an array of (NSString*)s, each one probably similar to the following 68 * @"Richard Frith-Macdonald <richard@brainstorm.co.uk>" 69 * 70 * URL = @"See http://www.gnustep.org" 71 * (still to fix/improve position of this thing so perhaps you don't want to use it) 72 * 73 * Copyright = @"Copyright (C) 1999, 2000 The Free Software Foundation, Inc." 74 * 75 * CopyrightDescription = @"Released under the GNU General Public License 2.0" 76 * 77 */ 78 -(id) initWithDictionary: (NSDictionary *)dictionary; 79 /* 80 * NB: Once initialized, a GSInfoPanel is immutable. 81 */ 82 @end 83 84 #endif /* _GNUstep_H_GSInfoPanel */ 85