New ITOSAComponent
[ITFoundation.git] / ITOSAComponent.h
diff --git a/ITOSAComponent.h b/ITOSAComponent.h
new file mode 100755 (executable)
index 0000000..54b3b04
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ *     ITFoundation
+ *      ITOSAComponent
+ *          A Cocoa wrapper for scripting components.
+ *
+ *     Original Author : Kent Sutherland <ksutherland@ithinksw.com>
+ *      Responsibility : Kent Sutherland <ksutherland@ithinksw.com>
+ *      Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
+ *
+ *     Copyright (c) 2002 - 2004 iThink Software.
+ *     All Rights Reserved
+ *
+ */
+
+#import <Foundation/Foundation.h>
+#import <Carbon/Carbon.h>
+
+@interface ITOSAComponent : NSObject {
+    Component _component;
+    ComponentInstance _componentInstance;
+    NSDictionary *_information;
+}
++ (NSArray *)availableComponents;
+
+- (id)initWithSubtype:(unsigned long)subtype;
+- (id)initWithComponent:(Component)component;
+
+- (Component)component;
+- (ComponentInstance)componentInstance;
+- (NSDictionary *)information;
+
+@end