Subversion Repository Public Repository

Nextrek

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
//
//  DataManager.h
//  bigBangProject
//
//  Created by Fabrizio on 29/01/13.
//  Copyright (c) 2012 Odyssey. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GADBannerView.h"

@interface DataManager : NSObject {
    GADBannerView *bannerView_;

    BOOL purchased;
    
    int channelOnAirIndex;
}

+(DataManager *) getInstance;
- (id) init;

@property BOOL purchased;
@property int channelOnAirIndex;

@property (nonatomic, retain) NSMutableArray *allChannels;
@property (nonatomic, retain) NSMutableArray *channelEpg;

- (BOOL) testConnection;
- (void) handleADV:(UIView*)callerView callerVC:(UIViewController*)callerVC;

- (void)savePurchase;
- (void)loadPurchase;

- (void)saveChannelOnAir:(int)indexToSave;
- (void)loadChannelOnAir;

- (void) parseChannelListResponse:(NSData*)aNSData;
- (NSArray*) parseEpgChannelResponse:(NSData*)aNSData;

@end

Commits for Nextrek/iOS/PocketVision/PocketVision/DataManager.h

Diff revisions: vs.
Revision Author Commited Message
62 FAquili picture FAquili Sat 18 Jan, 2014 16:39:26 +0000

PocketVision 1.0