Initial revision
[ITFoundation.git] / ITAppleEvent.m
1 #import "ITAppleEvent.h"
2
3
4 @implementation ITAppleEvent
5
6
7 - (id)initWithOSASource:(NSString *)source
8 {
9 }
10 - (id)initWithOSACompiledData:(NSData *)data
11 {
12 }
13 - (id)initWithOSAFromContentsOfURL:(NSURL *)url
14 {
15 }
16 - (id)initWithOSAFromContentsOfPath:(NSString *)path
17 {
18 }
19 - (id)initWithAppleEventClass:(AEEventClass)eventClass appleEventID:(AEEventID)eventID
20 {
21     OSType AppType = eventClass;
22     AEBuildAppleEvent(eventClass, eventID, typeApplSignature, &AppType, sizeof(AppType), kAutoGenerateReturnID, kAnyTransactionID, &event, nil, "");
23 }
24 - (NSString *)OSASource
25 {
26 }
27 - (void)setOSASource:(NSString *)source
28 {
29 }
30 - (NSData *)OSACompiledData
31 {
32 }
33 - (void)setOSACompiledData:(NSData *)data
34 {
35 }
36 - (AEEventClass)appleEventClass
37 {
38 }
39 - (AEEventID)appleEventID
40 {
41 }
42 - (NSString *)execute
43 {
44     AESend(&event, &reply, kAENoReply, kAENormalPriority, kAEDefaultTimeout, nil, nil);
45     // AEDisposeDesc(&event);
46     // AEDisposeDesc(&reply);
47 }
48
49 @end