This is MyController.h in view mode; [Download] [Up]
// Written by Todd Thomas Copyright (c) 1995 by Todd Thomas.
// Version 1.0. All rights reserved.
//
// This notice may not be removed from this source code.
//
// This object is included in the MiscKit by permission from the author
// and its use is governed by the MiscKit license, found in the file
// "LICENSE.rtf" in the MiscKit distribution. Please refer to that file
// for a list of all applicable permissions and restrictions.
//
/**********************************************************************
CLASS: MyController
Simple controller class which both initializes the browser and is
it's delegate. It uses normal loading though that is not a good
choice for showing a filesystem.
**********************************************************************/
#import <objc/Object.h>
@interface MyController:Object
{
id browser; // IB outlet to the browser
id rootFile; // root MiscFile for the browser
id inspector; // IB outlet to FileBrowser (when nib loaded)
}
- init;
- free;
- updateDirectory: sender;
- showInspector: sender;
- inspectFile: sender;
- duplicateFile: sender;
- createSymLink: sender;
- createHardLink: sender;
@end
@interface MyController (NibInitialization)
- awakeFromNib;
@end
@interface MyController (BrowserDelegate)
- (int)browser:sender fillMatrix:matrix inColumn:(int)column;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.