File: Controller.m

package info (click to toggle)
gnustep-examples 1%3A1.2.0-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,952 kB
  • ctags: 270
  • sloc: objc: 14,381; makefile: 65
file content (30 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

#import "Controller.h"

@implementation Controller

-(id) init
{
  return self;
}

-(void) dealloc
{
  [super dealloc];
}

- (void)applicationDidFinishLaunching: (NSNotification *)aNotification;
{
  [self startNewFractalWindow: nil];
}

- (void)startNewFractalWindow: (id)sender
{
  int tag;
  tag = (sender==nil ? DEFAULT_TYPE:[sender tag]);
  
  [[FractalWindow alloc] initWithType:tag];
}

@end