X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/a562b4a9e91163116b73f2df7d6589d812d2278e..3d646c75403df6d5324833a701723a765555177f:/ITAppleEvent.h diff --git a/ITAppleEvent.h b/ITAppleEvent.h deleted file mode 100755 index 2eabfa1..0000000 --- a/ITAppleEvent.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * ITFoundation - * ITAppleEvent - * - * Class that provides utilities for sending AppleEvents - * (and OSA scripts) using Carbon function calls in Cocoa - * - * Original Author : Joseph Spiros - * Responsibility : Joseph Spiros - * : Kent Sutherland - * - * Copyright (c) 2002 - 2003 iThink Software. - * All Rights Reserved - * - */ - -#import -#import - - -@interface ITAppleEvent : NSObject { - long int osaScriptID; - AppleEvent event, reply; -} -/* - * INITIALIZATION METHODS - AppleScript - * - * These methods initialize an instance of ITAppleEvent - * with AppleScript/OpenScripting data - */ -- (id)initWithOSASource:(NSString *)source; -- (id)initWithOSACompiledData:(NSData *)data; -- (id)initWithOSAFromContentsOfURL:(NSURL *)url; -- (id)initWithOSAFromContentsOfPath:(NSString *)path; -/* -`* INITIALIZATION METHODS - AppleEvent - * - * This method initializes an instance of ITAppleEvent - * with an AppleEvent class (usually the creator id - * of the AppleEvent's target) and an AppleEvent ID - */ -- (id)initWithAppleEventClass:(AEEventClass)eventClass appleEventID:(AEEventID)eventID; -/* - * INSTANCE METHODS - */ -- (NSString *)OSASource; -- (void)setOSASource:(NSString *)source; -- (NSData *)OSACompiledData; -- (void)setOSACompiledData:(NSData *)data; -- (AEEventClass)appleEventClass; -- (AEEventID)appleEventID; -- (NSString *)execute; -@end