New ITOSAComponent
[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 + (NSArray *)availableComponents;
24
25 - (id)initWithSubtype:(unsigned long)subtype;
26 - (id)initWithComponent:(Component)component;
27
28 - (Component)component;
29 - (ComponentInstance)componentInstance;
30 - (NSDictionary *)information;
31
32 @end