/*
 *     Generated by class-dump 3.1.2.
 *
 *     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
 */

struct CGColor;

struct CGPoint {
    float x;
    float y;
};

struct CGRect {
    struct CGPoint origin;
    struct CGSize size;
};

struct CGSize {
    float width;
    float height;
};

/*
 * File: System/Library/PreferenceBundles/BluetoothSettings.bundle/BluetoothSettings
 */

@interface BTSBundleController : PSBundleController
{
    PSSpecifier *_specifier;
    NSString *_disconnectedStr;
    NSString *_offStr;
    NSString *_onStr;
    NSString *_unavailableStr;
    BOOL _displayedInRootMenu;
}

- (void)setBluetoothValue:(id)fp8 specifier:(id)fp12;
- (id)bundle;
- (id)initWithParentListController:(id)fp8;
- (void)dealloc;
- (id)bluetoothValue:(id)fp8;
- (void)updateUI:(BOOL)fp8;
- (void)powerChanged:(id)fp8;
- (id)specifiersWithSpecifier:(id)fp8;

@end

@interface BTSDevicesController : PSListController
{
    NSMutableArray *_group1;
    BOOL _power;
    NSMutableArray *_devices;
    NSMutableDictionary *_devicesDict;
    NSMutableDictionary *_pairingPINDict;
    UIProgressIndicator *_spinner;
    struct CGRect _spinnerFrame;
    BOOL _pairing;
    BOOL _togglingPower;
    PSSpecifier *_currentSpecifier;
    UIAlertSheet *_unpairSheet;
    NSMutableArray *_group2;
    BOOL _placeholderVisible;
    BTAlert *_alert;
}

+ (id)sharedInstance;
- (void)addLabelSpecifier:(id)fp8 toArray:(id)fp12;
- (id)bluetoothEnabled:(id)fp8;
- (void)updateUI:(BOOL)fp8;
- (void)enableBluetooth:(id)fp8;
- (void)setBluetoothEnabled:(id)fp8 specifier:(id)fp12;
- (void)pinRequestNotification:(id)fp8;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;
- (void)deviceTapped:(id)fp8;
- (void)_addDevice:(id)fp8;
- (void)deviceInUse:(id)fp8;
- (void)deviceDiscovered:(id)fp8;
- (void)deviceUpdated:(id)fp8;
- (void)_removeDevice:(id)fp8;
- (void)deviceRemoved:(id)fp8;
- (void)updatePairedDevices;
- (void)devicePaired:(id)fp8;
- (void)powerChanged:(id)fp8;
- (void)startDiscoverable;
- (void)stopDiscoverable;
- (void)stopScanning;
- (void)startScanning;
- (void)willUnlock;
- (void)didLock;
- (id)initForContentSize:(struct CGSize)fp8;
- (void)dealloc;
- (id)specifiers;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
- (void)tableSelectionDidChange:(id)fp8;

@end

@interface BTTableCell : PSTableCell
{
    BOOL _isBTCell;
    BOOL _available;
    UIView *_batteryView;
    UIProgressIndicator *_spinner;
}

- (void)_setPairing:(BOOL)fp8;
- (void)_setIsBTCell:(BOOL)fp8;
- (void)_setDeviceIsAvailable:(BOOL)fp8;
- (void)setChecked:(BOOL)fp8;
- (void)layoutSubviews;
- (void)_addBatteryView:(id)fp8;
- (void)_removeBatteryView;
- (id)_batteryView;

@end

@interface PSBundleController (BTSAdditions)
- (id)bundleParentController;
@end

@interface BTSPairSetup : PSSetupController
{
}

+ (BOOL)isOverlay;
- (void)pushController:(id)fp8;
- (void)updateNavButtons;
- (void)navigationBar:(id)fp8 buttonClicked:(int)fp12;

@end

@interface BTSPairController : PSSetupListController
{
    BTAlert *_alert;
    BluetoothDevice *_device;
    BOOL _success;
    BOOL _pairing;
    BOOL _pairingFailed;
    BOOL _reversePairing;
    NSString *_cancel;
    NSString *_done;
    NSString *_prompt;
    NSString *_validation;
    NSString *_paired;
    NSString *_password;
    UIPreferencesTextTableCell *_passwordCell;
}

- (void)cancelButtonClicked:(id)fp8;
- (void)setPassword:(id)fp8 specifier:(id)fp12;
- (void)doneButtonClicked:(id)fp8;
- (void)pinRequestNotification:(id)fp8;
- (id)password:(id)fp8;
- (void)alertSheetDismissed:(id)fp8;
- (void)connectFailed:(id)fp8;
- (void)connectSucceeded:(id)fp8;
- (id)initForContentSize:(struct CGSize)fp8;
- (id)specifiers;
- (void)dealloc;
- (id)table:(id)fp8 cellForRow:(int)fp12 column:(id)fp16;
- (void)textDidChange:(id)fp8;
- (void)setupBeforeAnimateIn;
- (void)setupAfterAnimateIn;

@end

@interface BTSPairController (Private)
- (BOOL)_doneButtonEnabled;
@end

@interface BTBatteryView : UIView
{
    UIImageView *_batteryView;
    float _batteryLevel;
    BOOL _batteryIsLow;
    struct CGColor *_redColor;
    struct CGColor *_blueColor;
}

+ (void)_loadImages;
+ (struct CGSize)defaultSize;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)dealloc;
- (void)drawRect:(struct CGRect)fp8;
- (void)setBatteryLevel:(float)fp8;

@end

@interface BTAlert : NSObject
{
    id _delegate;
    UIAlertSheet *_sheet;
}

- (id)init;
- (void)dealloc;
- (void)showAlertForDeviceName:(id)fp8 error:(int)fp12;
- (void)setDelegate:(id)fp8;
- (void)dismiss;
- (void)alertSheet:(id)fp8 buttonClicked:(int)fp12;

@end

