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
//  NewMostri
//
//  Created by DBraccini_Nextrek on 03/09/2019.
//  Copyright © 2019 Nextrek. 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 174 //104
#define C1_DURATION_FLOAT 124 //99
#define C2_DURATION_FLOAT 90 //125
#define C3_DURATION_FLOAT 94 //88
#define C4_DURATION_FLOAT 98 //94
#define C5_DURATION_FLOAT 87 //174
#define C6_DURATION_FLOAT 105 //95
#define C7_DURATION_FLOAT 89 //109
#define C8_DURATION_FLOAT 93
#define C9_DURATION_FLOAT 108 //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/REWORKMostri/AppConfig.h

Diff revisions: vs.
Revision Author Commited Message
1156 Diff Diff DBraccini picture DBraccini Thu 12 Sep, 2019 14:28:28 +0000

timing audio corretto

1134 LDademo picture LDademo Tue 03 Sep, 2019 15:00:07 +0000

Rework dell’audiolibro “Mostri” di Emmanuele Rossi
- D’Ademo
- Braccini