Organized the project some. Added some framework XML classes.
[ITFoundation.git] / ITOSAComponent.h
1 /*
2  *      ITFoundation
3  *      ITOSAComponent
4  *          A Cocoa wrapper for scripting components.
5  *
6  *      Original Author : Kent Sutherland <ksutherland@ithinksw.com>
7  *      Responsibility : Kent Sutherland <ksutherland@ithinksw.com>
8  *      Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
9  *
10  *      Copyright (c) 2002 - 2004 iThink Software.
11  *      All Rights Reserved
12  *
13  */
14
15 #import <Foundation/Foundation.h>
16 #import <Carbon/Carbon.h>
17
18 @interface ITOSAComponent : NSObject {
19     Component _component;
20     ComponentInstance _componentInstance;
21     NSDictionary *_information;
22 }
23 + (ITOSAComponent *)appleScriptComponent;
24 + (ITOSAComponent *)componentWithCarbonComponent:(Component)component;
25 + (NSArray *)availableComponents;
26
27 - (id)initWithSubtype:(unsigned long)subtype;
28 - (id)initWithComponent:(Component)component;
29
30 - (Component)component;
31 - (ComponentInstance)componentInstance;
32 - (NSDictionary *)information;
33
34 @end