Annotation of Examples/AppKit/CalculatorLab++/InfoManager.C, revision 1.1.1.1

1.1       root        1: //
                      2: //     A simple controller to create panel objects from a nib when needed
                      3: //     mem
                      4: //
                      5: //     You may freely copy, distribute and reuse the code in this example.
                      6: //     NeXT disclaims any warranty of any kind, expressed or implied, as to
                      7: //     its fitness for any particular use.
                      8: //
                      9: //     Created 9-3-90
                     10: //
                     11: 
                     12: extern "Objective-C"
                     13: {
                     14: #import "InfoManager.h"
                     15: #import <appkit/Window.h>
                     16: #import <appkit/Application.h>
                     17: }
                     18: 
                     19: @implementation InfoManager
                     20: 
                     21: - init
                     22: {
                     23:     [NXApp loadNibSection:"Info.nib" owner:self];
                     24:     return self;
                     25: }
                     26: 
                     27: - orderInfoPanelFront:sender
                     28: {
                     29:     [infoPanel orderFront:sender];
                     30:     return self;
                     31: }
                     32: 
                     33: 
                     34: - orderHelpPanelFront:sender
                     35: {
                     36:     [helpPanel orderFront:sender];
                     37:     return self;
                     38: }
                     39: 
                     40: @end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.