This is PrefPanel.h in view mode; [Download] [Up]
/* ** Copyright (C) 1992 Ronin Consulting, Inc. ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation; version 1. ** ** This program 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 General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program; if not, write to the Free Software ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* ** This is a simple preference panel controller. It is a sublcass of Defaults so that ** You can easily maintain the defaults. */ #import <objc/Object.h> @interface PrefPanel : Object { id panel; id defaults; } - init; - revert:sender; - ok:sender; - cancel:sender; - save:sender; - setPanel: aPanel; - makeKeyAndOrderFront: sender; /* load the nib the first time this is called */ /* panel delagated methods */ - windowDidBecomeKey: sender; /* load the fields from your defaults here */ @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.