ftp.nice.ch/pub/next/games/card/Cribbage.1.1.s.tar.gz#/Cribbage/Cribbage-1.1/MyMiscInfoController.m

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

// MyMiscInfoController.m
// Project: Cribbage
// Stephan Wacker
// 94-12-26


#import <misckit/misckit.h>

#import "MyMiscInfoController.h"


@implementation MyMiscInfoController

- init
{
	if (![super init]) return nil;
	_FAQFileName = [MiscString newWithString:"/FAQ.rtfd"];
	
	return self;
}

- faq: sender
// Show the FAQ document in the Help Panel.
{
    id		helpPanel = [NXHelpPanel new];
    id		path = [MiscString newWithString:[helpPanel helpDirectory]];
    
    [path concatenate:_FAQFileName];
    [helpPanel showFile:[path stringValue] atMarker:NULL];
    [helpPanel makeKeyAndOrderFront:self];
    [path free];
    
    return self;
}


@end	// MyMiscInfoController

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