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

struct CGPoint {
    float _field1;
    float _field2;
};

struct CGRect {
    struct CGPoint _field1;
    struct CGSize _field2;
};

struct CGSize {
    float _field1;
    float _field2;
};

struct __GSEvent;

/*
 * File: Applications/Calculator.app/Calculator
 */

@interface Application : UIApplication
{
    BOOL _isSuspended;
}

+ (struct CGRect)widgetContentRect;
- (void)applicationSuspend:(struct __GSEvent *)fp8;
- (void)applicationResume:(struct __GSEvent *)fp8 withArguments:(id)fp12;
- (void)applicationDidFinishLaunching:(id)fp8;
- (id)window;

@end

@interface CalculatorController : NSObject
{
    UIView *_contentView;
    UIImageView *_bodyBackgroundView;
    UIImageView *_displayBackgroundView;
    UIWindow *_window;
    CalcButton *_mPlusButton;
    CalcButton *_mMinusButton;
    CalcButton *_mRMCButton;
    CalcButton *_divideButton;
    CalcButton *_7Button;
    CalcButton *_8Button;
    CalcButton *_9Button;
    CalcButton *_timesButton;
    CalcButton *_4Button;
    CalcButton *_5Button;
    CalcButton *_6Button;
    CalcButton *_plusButton;
    CalcButton *_1Button;
    CalcButton *_2Button;
    CalcButton *_3Button;
    CalcButton *_minusButton;
    CalcButton *_0Button;
    CalcButton *_periodButton;
    CalcButton *_clearButton;
    CalcButton *_equalsButton;
    CalcDisplay *_calcDisplay;
    UIImageView *_memoryRing;
    UIImageView *_operatorRing;
    NSArray *_operatorFormatArray;
    NSString *_displayVal;
    NSString *_addStack;
    BOOL _hasAddStack;
    NSString *_minusStack;
    BOOL _hasMinusStack;
    NSString *_multiplyStack;
    BOOL _enteringDecimal;
    unsigned int _digitEntryCount;
    unsigned int _afterDecimalDigitEntryCount;
    unsigned int _lastOperator;
    BOOL _functionKeyPressed;
    unsigned int _repeatOperator;
    NSString *_repeatOperand;
    BOOL _memorySet;
    NSString *_memoryVal;
    BOOL _memoryClearActive;
}

+ (id)sharedCalculatorController;
- (id)createStringMathResultWithOperator:(int)fp8;
- (id)createStringMathResultWithExpression:(id)fp8;
- (int)errorCheck;
- (void)_layoutSubviews;
- (id)init;
- (void)dealloc;
- (void)run;
- (id)window;
- (void)_handleStatusBarHeightChange;
- (void)_equals;
- (void)_checkMultiplications;
- (void)_operatorPress;
- (void)_minusPress;
- (void)_plusPress;
- (void)_timesPress;
- (void)_dividePress;
- (void)_setEnteringDecimal:(BOOL)fp8;
- (void)_clearDisplay;
- (void)_clearIfFunctionKeyPressed;
- (void)_digitPress:(id)fp8;
- (void)_periodPress;
- (void)_clearPress;
- (void)_mPlusPress;
- (void)_mMinusPress;
- (void)_mRMCPress;
- (void)_button7Press;
- (void)_button8Press;
- (void)_button9Press;
- (void)_button4Press;
- (void)_button5Press;
- (void)_button6Press;
- (void)_button1Press;
- (void)_button2Press;
- (void)_button3Press;
- (void)_button0Press;
- (void)savePrefs;
- (id)getDisplayVal;

@end

@interface CalcButton : UIPushButton
{
}

- (id)initWithImage:(id)fp8;

@end

@interface CalculatorWindow : UIWindow
{
}

- (void)handleStatusBarHeightChange;

@end

@interface CalcDisplay : UIView
{
    NSString *_stringValue;
    BOOL _enteringDecimal;
    unsigned int _afterDecimalEntryCount;
}

- (void)setDisplayValue:(id)fp8;
- (void)setEnteringDecimal:(BOOL)fp8;
- (void)setAfterDecimalEntryCount:(unsigned int)fp8;
- (id)initWithFrame:(struct CGRect)fp8;
- (void)drawRect:(struct CGRect)fp8;
- (id)plistWithChildren:(struct CGPoint)fp8;

@end


