From ee5cd7b632c60919d7aedfa8ea5af1923fdb6c26 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 10 Jun 2008 11:30:11 -0400 Subject: [PATCH] Add an ivar for the BreakpointManager in the BreakpointWindowController * Source/BreakpointWindowController.h: Add the ivar manager * Source/BreakpointWindowController.m: (init:): Set the ivar to the sharedManager --- Source/BreakpointWindowController.h | 4 ++-- Source/BreakpointWindowController.m | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/BreakpointWindowController.h b/Source/BreakpointWindowController.h index 7837bb8..c800730 100644 --- a/Source/BreakpointWindowController.h +++ b/Source/BreakpointWindowController.h @@ -15,11 +15,11 @@ */ #import - +#import "BreakpointManager.h" @interface BreakpointWindowController : NSWindowController { - + BreakpointManager *manager; } @end diff --git a/Source/BreakpointWindowController.m b/Source/BreakpointWindowController.m index 796b3f9..74c09be 100644 --- a/Source/BreakpointWindowController.m +++ b/Source/BreakpointWindowController.m @@ -26,6 +26,7 @@ { if (self = [super initWithWindowNibName:@"Breakpoints"]) { + manager = [BreakpointManager sharedManager]; } return self; } -- 2.22.5