/
GawkAppDelegate.h
42 lines (36 loc) · 1.24 KB
/
GawkAppDelegate.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
//
// GawkAppDelegate.h
// Gawk
//
// Created by Tom Gallacher on 01/12/2010.
// Copyright 2010 Clock Ltd. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "LoginViewController.h"
#import "LoginModel.h"
@class CameraViewController;
@class GawkViewController;
@interface GawkAppDelegate : NSObject <UIApplicationDelegate, UITabBarDelegate> {
UIWindow *window;
CameraViewController *cameraViewController;
LoginViewController *loginView;
GawkViewController *gawkViewController;
NSMutableDictionary *data;
NSMutableArray *walls;
BOOL isOffline;
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet CameraViewController *cameraViewController;
@property (nonatomic, retain) IBOutlet GawkViewController *gawkViewController;
@property (readonly) LoginViewController *loginView;
@property (nonatomic, retain) NSMutableDictionary *data;
@property (nonatomic, retain) NSMutableArray *walls;
@property (nonatomic) BOOL isOffline;
@property (nonatomic, retain) IBOutlet UITabBarController *tabBarController;
- (void)showLoginView:(BOOL)animated;
- (IBAction)logout;
-(void) resetData:(NSMutableDictionary*)replaceData;
-(void) updateWalls:(NSArray*)replaceArray;
- (void) saveUserGawks;
-(void)setOnline;
@end