/
CreateCorrespondence.h
58 lines (44 loc) · 1.67 KB
/
CreateCorrespondence.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//
// CreateCorrespondence.h
// BicycleKitchenPOS
//
// Created by moody on 1/21/07.
// Copyright 2007 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "BasicWindowController.h"
#import "CustomerContact.h"
#import "Person.h"
@interface CreateCorrespondence : BasicWindowController {
CustomerContact *contact;
Person *person;
IBOutlet NSTextField *cookTextField;
IBOutlet NSTextField *subjectTextField;
IBOutlet NSTextView *noteTextView;
IBOutlet NSDatePicker *datePicker;
IBOutlet NSMatrix *messageTypeMatrix;
IBOutlet NSButton *saveButton;
IBOutlet NSButton *cancelButton;
}
//******************************************************************************
// prototypes
//******************************************************************************
- (CustomerContact *)contact;
- (void)setContact:(CustomerContact *)arg;
- (Person *)person;
- (void)setPerson:(Person *)arg;
//******************************************************************************
// button actions
//******************************************************************************
- (IBAction)datePickerClicked:(id)sender;
- (IBAction)messageTypeMatrixClicked:(id)sender;
- (IBAction)saveButtonClicked:(id)sender;
- (IBAction)cancelButtonClicked:(id)sender;
//******************************************************************************
// handlers
//******************************************************************************
//******************************************************************************
// misc
//******************************************************************************
- (void)enableSaveButtonAppropriately;
@end