forked from pmougin/F-Script
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFSPilot.h
40 lines (30 loc) · 1.14 KB
/
FSPilot.h
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
34
35
36
37
38
39
40
/* FSPilot.h Copyright (c) 1998-2009 Philippe Mougin. */
/* This software is open source. See the license. */
#import <Foundation/Foundation.h>
@interface FSPilot : NSObject <NSCoding>
{
id name;
id address;
id salary;
id age;
}
////////////////////////////////// User methods ////////////////////////////////
+ (id) pilotWithName:(id)theName address:(id)theAddress salary:(id)theSalary;
+ (id) pilotWithName:(id)theName address:(id)theAddress salary:(id)theSalary age:(id)theAge;
- (id) address;
- (void) setAddress:(id)theAddress;
- (id) age;
- (void) setAge:(id)theAge;
- (id) name;
- (void) setName:(id)theName;
- (id) salary;
- (void) setSalary:(id)theSalary;
- (void) sendMail:(NSString *)mailContent;
////////////////////////////////// Other methods ////////////////////////////////
- (void)dealloc;
- (NSString *)description;
- (void)encodeWithCoder:(NSCoder *)aCoder;
- (id)initWithCoder:(NSCoder *)aDecoder;
- (id) initWithName:(id)theName address:(id)theAddress salary:(id)theSalary;
- (id) initWithName:(id)theName address:(id)theAddress salary:(id)theSalary age:(id)theAge;;
@end