public
Clone URL: git://github.com/defunkt/currency_converter.git
currency_converter / ConverterController.h
100644 33 lines (22 sloc) 0.62 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// ConverterController.h
// Currency Converter
//
// Created by Chris Wanstrath on 4/22/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
 
#import <Cocoa/Cocoa.h>
#import "Converter.h"
 
@interface ConverterController : NSObject {
    IBOutlet NSTextField *amountField;
    
    IBOutlet NSTextField *dollarField;
    
    IBOutlet NSPopUpButton *ratePopUp;
    
    IBOutlet NSButton *convertButton;
    
    Converter *converter;
}
 
-(id)init;
 
-(void)convert;
-(IBAction)convert:(id)sender;
 
-(IBAction)switchObject:(id)sender;
 
- (void)controlTextDidChange:(NSNotification *)aNotification;
 
@end