Nextrek
Diff Revisions
426
vs
444
for /iOS/SafariArte/trunk/SafariArte/Commodities/DataManager.h
|
@@ -9,10 +9,11 @@ |
9 |
9 |
|
|
10 |
10 |
|
#import <Foundation/Foundation.h> |
11 |
11 |
|
#import "SFAUser.h" |
12 |
|
- |
|
|
12 |
+ |
#import "CustomIOSAlertView.h" |
13 |
13 |
|
#import "SFAPercorso.h" |
14 |
14 |
|
|
15 |
|
- |
@interface DataManager : NSObject |
|
15 |
+ |
|
|
16 |
+ |
@interface DataManager : NSObject <CustomIOSAlertViewDelegate> |
16 |
17 |
|
|
17 |
18 |
|
+(DataManager *) getInstance; |
18 |
19 |
|
- (id) init; |
|
@@ -28,10 +29,11 @@ |
28 |
29 |
|
|
29 |
30 |
|
- (NSError *)errorInside:(NSDictionary *)response; |
30 |
31 |
|
|
31 |
|
- |
- (void) showMessageWithAlert:(id)delegate message:(NSString*)message; |
|
32 |
+ |
- (void) showMessageWithAlert:(id)delegate message:(NSString*)message tag:(NSInteger)tag; |
32 |
33 |
|
- (void) showErrorAlert:(id)delegate message:(NSString*)message tag:(NSInteger)tag; |
33 |
34 |
|
- (void) showErrorAlert2Btns:(id)delegate message:(NSString*)message tag:(NSInteger)tag; |
34 |
|
- |
- (void) showAlertOrder:(id)delegate message:(NSString *)message tag:(NSInteger)tag; |
|
35 |
+ |
- (void) showGPSAlert:(id)delegate message:(NSString*)message tag:(NSInteger)tag; |
|
36 |
+ |
- (void) showAlert:(id)delegate withTitle:(NSString*)title message:(NSString*)message tag:(NSInteger)tag; |
35 |
37 |
|
|
36 |
38 |
|
- (NSArray *) setDurationRoutes:(NSString *)duration; |
37 |
39 |
|
- (NSArray *) setRouteLength:(NSString *)length; |