/* PhidgetEncoderController */

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

@interface PhidgetEncoderController : NSObject
{
    IBOutlet NSTextField *connectedField;
    IBOutlet NSButton *inputCheckBox;
    IBOutlet NSTextField *numEncodersField;
    IBOutlet NSTextField *numInputsField;
    IBOutlet NSTextField *positionField;
    IBOutlet NSTextField *timeField;
    IBOutlet NSSlider *positionSlider;
    IBOutlet NSTextField *serialField;
    IBOutlet NSTextField *versionField;
	IBOutlet id mainWindow;
	IBOutlet NSImageView *pictureBox;
    IBOutlet NSBox *encoderBox;
}
- (void)phidgetAdded;
- (void)phidgetRemoved;
- (void)EncoderInputChange:(int)Index:(int)State;
- (void)EncoderPositionChange:(int)Index:(int)Position:(int)Time;
- (void)setPicture:(int)version:(CPhidget_DeviceID)devid;
@end
