-
Notifications
You must be signed in to change notification settings - Fork 0
/
EmergencyContacts.h
executable file
·73 lines (58 loc) · 2.04 KB
/
EmergencyContacts.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//
// EmergencyContacts.h
// DisasterHelper
//
// Created by ENCLAVEIT on 3/21/14.
// Copyright (c) 2014 Tan (Tharin) T.NGUYEN. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <AddressBook/AddressBook.h>
#import <AddressBookUI/AddressBookUI.h>
#import "Server.h"
#import "QuartzCore/CALayer.h"
@interface EmergencyContacts : UIViewController<UITextFieldDelegate,ABPeoplePickerNavigationControllerDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate>
{
IBOutlet UILabel *policeLabel;
IBOutlet UILabel *fireLabel;
IBOutlet UILabel *ambulanceLabel;
IBOutlet UILabel *nameUser1;
IBOutlet UILabel *nameUser2;
IBOutlet UILabel *nameUser3;
IBOutlet UILabel *phoneUser1;
IBOutlet UILabel *phoneUser2;
IBOutlet UILabel *phoneUser3;
IBOutlet UIButton *buttonUser3;
IBOutlet UIButton *buttonUser2;
IBOutlet UIButton *buttonUser1;
IBOutlet UIButton *buttonPolice;
IBOutlet UIButton *buttonAmbulance;
IBOutlet UIButton *buttonFire;
IBOutlet UIButton *buttonEditPolice;
IBOutlet UIButton *buttonEditFire;
IBOutlet UIButton *buttonEditAmbulance;
IBOutlet UIImageView *imageUser1;
IBOutlet UIImageView *imageUser2;
IBOutlet UIImageView *imageUser3;
IBOutlet UIImageView *imageBackground;
IBOutlet UIImageView *imageEmergenyNumber;
UIImagePickerController *picker;
IBOutlet UIButton *saveChangeButton;
IBOutlet UILabel *pass;
}
- (IBAction)editPoliceNumber:(id)sender;
- (IBAction)editFireNumber:(id)sender;
- (IBAction)editAmbulanceNumber:(id)sender;
- (IBAction)editUser1:(id)sender;
- (IBAction)editUser2:(id)sender;
- (IBAction)editUser3:(id)sender;
- (IBAction)callPolice:(id)sender;
- (IBAction)callFire:(id)sender;
- (IBAction)callAmbulance:(id)sender;
- (IBAction)callUser1:(id)sender;
- (IBAction)callUser2:(id)sender;
- (IBAction)callUser3:(id)sender;
- (IBAction)chooseImageUser1:(id)sender;
- (IBAction)chooseImageUser2:(id)sender;
- (IBAction)chooseImageUser3:(id)sender;
- (IBAction)saveChange:(id)sender;
@end