home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
- /* modified by Eric Tremblay */
-
- #import <Foundation/NSObject.h>
-
- @interface Calculator:NSObject
- {
- id outputForm; // 10 output forms in the Currency Converter panel
- id inputForm; // input form in the Currency Converter panel
- id canadarate; // Canada rate 1st form in the Today's rates panel
- id britainrate; // 2nd form in the Today's rates panel
- id francerate; // 3rd form in the Today's rates panel
- id germanyrate; // 4th form in the Today's rates panel
- id italyrate; // 5th form in the Today's rates panel
- id japanrate; // 6th form in the Today's rates panel
- id mexicorate; // 7th form in the Today's rates panel
- id switzerlandrate; // 8th form in the Today's rates panel
- id greecerate; // 9th form in the Today's rates panel
- id otherrate; // 10th form in the Today's rate panel
- id findRateOutput; // findRate output in the FindRate panel
- id anotherCurrency; // Your received input form in the FindRate panel
- id firstCurrency; // Your gave input form in the FindRate Panel
- id Info; // The Info Panel
- id MoreInfo; // The MoreInfo panel
- id youHave; // Input form in the findValue panel
- id valueRate; // Input form in the findValue panel
- id findValueOutput; // Output form in the findValue panel
-
- }
-
-
- - init;
- // Automatically executes when program starts
- - (void)applicationDidFinishLaunching:(NSNotification *)notification;
-
- // Calculates the values of the currencies in the CurrConv Panel
- - (void)calculate:sender;
-
- // Assigns and displays the values in the Today's rate panel
- - (void)getDefaults:sender;
-
- // Used to select the country in the perferance panel
- - (void)setCanada:sender;
-
- // Used to select the country in the perferance panel
- - (void)setUSA:sender;
-
- // Action button in the findRate panel
- - (void)findRate:sender;
-
- // Action button in the findValue panel
- - (void)findValue:sender;
-
- // Action button, closes the info panel and opens the MoreInfo panel
- - (void)closeInfo:sender;
-
- @end
-