X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/f280896e33a622c13a0a84dd3fc2276bbdd30f72..fbc584e3df355220dfd44f7207e304dbe7dd5d93:/ITAppleEventCenter.h?ds=sidebyside diff --git a/ITAppleEventCenter.h b/ITAppleEventCenter.h index 4a71835..f2eae2a 100755 --- a/ITAppleEventCenter.h +++ b/ITAppleEventCenter.h @@ -1,14 +1,12 @@ /* * ITFoundation * ITAppleEventCenter - * - * A class for sending and recieving AppleEvent data. - * Who wants to mess with that Carbon shit anyway? + * A class for sending and recieving AppleEvent data. + * Who wants to mess with that Carbon shit anyway? * * Original Author : Joseph Spiros - * Responsibility : Joseph Spiros - * : Kent Sutherland - * : Matt Judy + * Responsibility : Matt Judy + * Responsibility : Joseph Spiros * * Copyright (c) 2002 - 2003 iThink Software. * All Rights Reserved @@ -20,9 +18,23 @@ @interface ITAppleEventCenter : NSObject { - + AEIdleUPP idleUPP; } + (id)sharedCenter; -- (NSString*)runAEWithRequestedKey:(NSString*)key eventClass:(NSString*)eventClass eventID:(NSString*)eventID appPSN:(ProcessSerialNumber)psn; +- (NSString*)sendAEWithRequestedKey:(NSString*)key eventClass:(NSString*)eventClass eventID:(NSString*)eventID appPSN:(ProcessSerialNumber)psn; +- (long)sendAEWithRequestedKeyForNumber:(NSString*)key eventClass:(NSString*)eventClass eventID:(NSString*)eventID appPSN:(ProcessSerialNumber)psn; +- (AEArrayDataPointer)sendAEWithRequestedKeyForArray:(NSString*)key eventClass:(NSString*)eventClass eventID:(NSString*)eventID appPSN:(ProcessSerialNumber)psn; + + +- (NSString*)sendTwoTierAEWithRequestedKey:(NSString*)key fromObjectByKey:(NSString*)object eventClass:(NSString*)eventClass eventID:(NSString*)eventID appPSN:(ProcessSerialNumber)psn; +- (long)sendTwoTierAEWithRequestedKeyForNumber:(NSString*)key fromObjectByKey:(NSString*)object eventClass:(NSString*)eventClass eventID:(NSString*)eventID appPSN:(ProcessSerialNumber)psn; + +- (NSString *)sendAEWithRequestedArray:(NSArray *)array eventClass:(NSString*)eventClass eventID:(NSString*)eventID appPSN:(ProcessSerialNumber)psn; +- (void)sendAEWithEventClass:(NSString*)eventClass eventID:(NSString*)eventID appPSN:(ProcessSerialNumber)psn; + +- (NSString*)sendAEWithSendString:(NSString*)nssendString eventClass:(NSString*)eventClass eventID:(NSString*)eventID appPSN:(ProcessSerialNumber)psn; +- (long)sendAEWithSendStringForNumber:(NSString*)string eventClass:(NSString*)eventClass eventID:(NSString*)eventID appPSN:(ProcessSerialNumber)psn; +- (AEArrayDataPointer)sendAEWithSendStringForArray:(NSString*)string eventClass:(NSString*)eventClass eventID:(NSString*)eventID appPSN:(ProcessSerialNumber)psn; + - (void)printCarbonDesc:(AEDesc*)desc; @end