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
//
//  AppConfig.h
//  Foresta
//
//  Created by Fabrizio on 18/12/12.
//  Copyright (c) 2012 Odyssey. All rights reserved.
//


#define APP_NAME @"Trivagolando"
#define APP_VERSION [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]

#define IOS_7 ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0)
#define IS_IPHONE_5 (IS_WIDESCREEN)

#define BANNER_ID @"a1520f48c0053c0"

#define CreativeCommons [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"CreativeCommons" ofType:@"htm"]isDirectory:NO]

#define DATAMANAGER [DataManager getInstance]

#define LINK_ATTORI  @"http://www.ygramul.net/teatroygramul/scuola.html"
#define LINK_DOWNLOAD  @"https://itunes.apple.com/it/album/suite-classic-vol.-4-ep/id306849092?uo=4"


#define ChapterEpisodio(x)  [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:[NSString stringWithFormat:@"Episodio %d", x] ofType:@"doc"]isDirectory:NO]

#define ChapterExtra        [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"EpisodioExtra" ofType:@"doc"]isDirectory:NO]

#define AudioEpisodio(x)    [NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/Episodio %d.mp3", [[NSBundle mainBundle] resourcePath], x]]

#define C0_DURATION_FLOAT 304
#define C1_DURATION_FLOAT 633
#define C2_DURATION_FLOAT 560

#define IS_WIDESCREEN ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) < DBL_EPSILON )
#define IS_IPHONE ( [ [ [ UIDevice currentDevice ] model ] isEqualToString: @"iPhone" ] )
#define IS_IPOD   ( [ [ [ UIDevice currentDevice ] model ] isEqualToString: @"iPod touch" ] )

Commits for Nextrek/iOS/Emmanuele Rossi/Trivagolando/Trivagolando/AppConfig.h

Diff revisions: vs.
Revision Author Commited Message
67 FAquili picture FAquili Thu 23 Jan, 2014 14:31:55 +0000

Emmanuele Rossi apps
- mostri
- trikster
- trivagolando