Sockets don't quite work, but they will almost work.
[ITFoundation.git] / ITAppleEventCenter.h
index 20873ab..f2eae2a 100755 (executable)
@@ -1,14 +1,12 @@
 /*
  *     ITFoundation
  *     ITAppleEventCenter
 /*
  *     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 <joseph.spiros@ithinksw.com>
  *
  *     Original Author : Joseph Spiros <joseph.spiros@ithinksw.com>
- *     Responsibility  : Joseph Spiros <joseph.spiros@ithinksw.com>
- *                     : Kent Sutherland <kent.sutherland@ithinksw.com>
- *                     : Matt Judy <matt.judy@ithinksw.com>
+ *   Responsibility : Matt Judy <mjudy@ithinksw.com>
+ *   Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
  *
  *     Copyright (c) 2002 - 2003 iThink Software.
  *     All Rights Reserved
  *
  *     Copyright (c) 2002 - 2003 iThink Software.
  *     All Rights Reserved
 
 
 @interface ITAppleEventCenter : NSObject {
 
 
 @interface ITAppleEventCenter : NSObject {
-
+    AEIdleUPP idleUPP;
 }
 + (id)sharedCenter;
 - (NSString*)sendAEWithRequestedKey:(NSString*)key eventClass:(NSString*)eventClass eventID:(NSString*)eventID appPSN:(ProcessSerialNumber)psn;
 }
 + (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;
 - (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
 - (void)printCarbonDesc:(AEDesc*)desc;
 @end