/* 
 * Phidget Hello World Program for all devices
 * (c) Phidgets 2012
 */

#import <Cocoa/Cocoa.h>
#include <Phidget21/phidget21.h>

@interface HelloWorldAppDelegate : NSObject <NSApplicationDelegate> {
    IBOutlet NSTextView *OutputField;
    NSWindow *window;
   	CPhidgetManagerHandle manager;
}

-(void)LocalErrorCatcher:(int)errorCode;

@property (assign) IBOutlet NSWindow *window;
- (void)DeviceAttach:(NSValue *)phid;
- (void)DeviceDetach:(NSValue *)phid;
- (void)ErrorChange:(NSArray *)errorData;

@end