-
Notifications
You must be signed in to change notification settings - Fork 0
/
TheRestaurantAppDelegate.h
54 lines (35 loc) · 1.48 KB
/
TheRestaurantAppDelegate.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
//
// AppDelegate.h
// The Restaurant
//
// Created by Gabe Rozenberg on 11-12-12.
// Copyright (c) 2011 University of Waterloo. All rights reserved.
//
#import <UIKit/UIKit.h>
@class LoginViewController;
@class EditProfileViewController;
@class DealListViewController;
@class FiltersViewController;
@class MapViewController;
//@class RegistrationViewController;
@interface TheRestaurantAppDelegate : UIResponder <UIApplicationDelegate>
{
// LoginViewController *loginViewController;
}
-(void)loginSuccess;
@property (weak, nonatomic) IBOutlet MapViewController *mapView;
@property (strong, nonatomic) UIWindow *window;
@property (weak, nonatomic) IBOutlet FiltersViewController *filterView;
@property (weak, nonatomic) IBOutlet DealListViewController *dealListview;
@property (strong, nonatomic) IBOutlet UITabBarController *rootController;
@property (weak, nonatomic) IBOutlet UINavigationController *dealListViewController;
@property (strong, nonatomic) LoginViewController *loginViewController;
@property (strong, nonatomic) EditProfileViewController *editProfileViewController;
//@property (strong, nonatomic) RegistrationViewController *registrationViewController;
@property (strong, nonatomic) IBOutlet UIBarButtonItem *favoritesButton;
- (IBAction)optionsButtonPressed:(id)sender;
- (IBAction)favoritesButtonPressed:(id)sender;
-(void)logoutButtonPressed:(NSNotification*) notification;
-(void)controlBarButtonPressed:(NSNotification*) notification;
-(void) displayLoginPage;
@end