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


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

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

#define DATAMANAGER [DataManager getInstance]

#define LINK_ILLUSTRAZIONI  @"http://www.valentinart.it/"
#define LINK_ATTORI         @"http://www.ygramul.net/teatroygramul/scuola.html"

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

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

#define C0_DURATION_FLOAT 104
#define C1_DURATION_FLOAT 99
#define C2_DURATION_FLOAT 125
#define C3_DURATION_FLOAT 88
#define C4_DURATION_FLOAT 94
#define C5_DURATION_FLOAT 174
#define C6_DURATION_FLOAT 95
#define C7_DURATION_FLOAT 109
#define C8_DURATION_FLOAT 93
#define C9_DURATION_FLOAT 91
#define C10_DURATION_FLOAT 105


#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" ] )

#define IS_IPHONE_5 ( /*IS_IPHONE &&*/ IS_WIDESCREEN )

Commits for Nextrek/iOS/Emmanuele Rossi/Mostri/Mostri/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