X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/8c8e80d1976700200f1ddb6efe921d206d6bc4cc..1d23d1181a753fffef7a9d28db4b0b0546bd0032:/ITAppleEventCenter.h?ds=sidebyside diff --git a/ITAppleEventCenter.h b/ITAppleEventCenter.h index 20873ab..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,10 +18,23 @@ @interface ITAppleEventCenter : NSObject { - + AEIdleUPP idleUPP; } + (id)sharedCenter; - (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