File:  [mozdev] / chimera / FindDlgController.mm
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Wed Feb 6 04:22:52 2002 UTC (15 years, 8 months ago) by hyatt
Branches: MAIN
CVS tags: HEAD
Forgot find controller.

//
//  FindDlgController.mm
//  Chimera
//
//  Created by David Hyatt on Tue Feb 05 2002.
//  Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//

#import "FindDlgController.h"
#include "nsCOMPtr.h"

@implementation FindDlgController

- (void)windowDidLoad
{
    mWebFind = nsnull;
}

- (void)windowWillClose:(NSNotification *)notification
{
    [self autorelease];
}

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

-(void)setFind: (nsIWebBrowserFind*)aFind
{
    mWebFind = aFind;
    NS_IF_ADDREF(mWebFind);
}

-(IBAction) find: (id)aSender
{
}

-(IBAction) cancel: (id)aSender
{
    [[self window] close];
}

@end

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>