ftp.nice.ch/pub/next/connectivity/infosystems/Ph.3.03.NIHS.bs.tar.gz#/Ph3.03/info.subproj/GNULicense.m

This is GNULicense.m in view mode; [Download] [Up]

// Copyright (C) 1989 Jacob Gore
// 
// This file is part of GNULicense, a package to ease the inclusion
// of the GNU General Public License into NextStep applications.
// 
//     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; either version 1, or (at your option)
//     any later version.
// 
//     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
//     or send electronic mail to Jacob Gore <jacob@gore.com>.

// The code to print the License leaves much to be desired.  I have left my
// most successful attempts at providing the user with the printing interface
// that is supposed to be the norm on the NeXT (put up a PrintPanel, etc.) in
// this file, commented out.  If anybody can do it right, please send me the
// code!
//
// Jacob Gore <jacob@gore.com>
/*---------------------------------------------------------------------------
April, 1990
This source code has been locally modified.  The initial modifications are
summarized below.  Future modifications will appear in the RCS log entries.

Source modifications
  April 1, 1990 (Rex Pruess)
    o Removed all code associated with printing.  Users can cut/paste if
      they desire to print the license.
    o Changed load to use "withNames:NO" for minor performance gain.
    o Changed "panel" to "gnuPanel".
---------------------------------------------------------------------------
Rex Pruess  <rpruess@umaxc.weeg.uiowa.edu>

$Header: /rpruess/apps/Ph/info.subproj/RCS/GNULicense.m,v 3.0 93/06/26 07:59:49 rpruess Exp $
-----------------------------------------------------------------------------
$Log:	GNULicense.m,v $
Revision 3.0  93/06/26  07:59:49  rpruess
Brought Ph code up to NeXTSTEP 3.0 specifications.

Revision 2.0  91/11/18  17:45:40  rpruess
Revision 2.0 is the initial production release of Ph.

Revision 2.0  91/01/22  15:32:39  rpruess
Remotes-2.0 was upgraded for NeXT System Release 2.0 (standard or extended).
Remotes-2.0 supports the NeXT supplied Terminal application and the Stuart
shareware product.

Revision 1.1  90/04/10  14:20:32  rpruess
Initial revision

-----------------------------------------------------------------------------*/

/* GNULicense class header file */
#import "GNULicense.h"

@implementation GNULicense

- init
{
    self = [super init];
    [NXApp loadNibSection:"GNULicense.nib" owner:self withNames:NO];
    [gnuPanel setMiniwindowIcon:"app"];
    return self;
}

- showLicense:sender
{
    [gnuPanel makeKeyAndOrderFront:self];
    return self;
}

- setGnuPanel:anObject
{
    gnuPanel = anObject;
    return self;
}

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.