source: releases/Pester/1.1a3/Source/NDAppleScript/NSAppleEventDescriptor+NDAppleScriptObject.h@ 171

Last change on this file since 171 was 35, checked in by Nicholas Riley, 22 years ago

Nathan Day's NDAppleScript and related classes, somewhat modified.
Still need to commit Nathan's changes to NDResourceFork.

File size: 1.3 KB
Line 
1/*
2 * NSAppleEventDescriptor+NDAppleScriptObject.h
3 * AppleScriptObjectProject
4 *
5 * Created by Nathan Day on Fri Dec 14 2001.
6 * Copyright (c) 2001 Nathan Day. All rights reserved.
7 */
8
9#import <Foundation/Foundation.h>
10#import <Carbon/Carbon.h>
11
12@interface NSAppleEventDescriptor (NDAppleScriptObject)
13
14+ (NSAppleEventDescriptor *)appleEventDescriptorWithString:(NSString *)aString;
15
16+ (NSAppleEventDescriptor *)aliasListDescriptorWithArray:(NSArray *)aArray;
17
18+ (NSAppleEventDescriptor *)appleEventDescriptorWithURL:(NSURL *)aURL;
19+ (NSAppleEventDescriptor *)aliasDescriptorWithURL:(NSURL *)aURL;
20
21+ (NSAppleEventDescriptor *)appleEventDescriptorWithBOOL:(BOOL)aValue;
22+ (NSAppleEventDescriptor *)trueBoolDescriptor;
23+ (NSAppleEventDescriptor *)falseBoolDescriptor;
24+ (NSAppleEventDescriptor *)appleEventDescriptorWithShort:(short int)aValue;
25+ (NSAppleEventDescriptor *)appleEventDescriptorWithLong:(long int)aValue;
26+ (NSAppleEventDescriptor *)appleEventDescriptorWithInt:(int)aValue;
27+ (NSAppleEventDescriptor *)appleEventDescriptorWithFloat:(float)aValue;
28+ (NSAppleEventDescriptor *)appleEventDescriptorWithDouble:(double)aValue;
29+ (NSAppleEventDescriptor *)appleEventDescriptorWithUnsignedInt:(unsigned int)aValue;
30
31- (ProcessSerialNumber)targetProcessSerialNumber;
32- (OSType)targetCreator;
33- (BOOL)isTargetCurrentProcess;
34
35@end
Note: See TracBrowser for help on using the repository browser.