File:  [mozdev] / chimera / CHGetURLCommand.mm
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Thu Apr 18 09:48:18 2002 UTC (15 years, 7 months ago) by hyatt
Branches: MAIN
CVS tags: HEAD
adding support for opening of urls via applescript.  Thanks to Richard Schreyer and Nicholas Riley for sample code.

//
//  CHGetURLCommand.mm
//  Chimera
//
//  Created by David Hyatt on Thu Apr 18 2002.
//  Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//

#import "CHGetURLCommand.h"
#import <AppKit/AppKit.h>

@implementation CHGetURLCommand

- (id)performDefaultImplementation {
  [[NSApp delegate] openBrowserWindowWithURLString: [self directParameter]];
  return nil;
}
@end

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