2014-05-06 19:41:08 +02:00
|
|
|
//
|
|
|
|
// Prefix header for all source files of the 'RedPhone' target in the 'RedPhone' project
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Availability.h>
|
|
|
|
|
|
|
|
#ifdef __OBJC__
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <Foundation/Foundation.h>
|
2014-06-30 17:14:33 +02:00
|
|
|
#import <CocoaLumberjack/DDLog.h>
|
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
|
|
|
|
#else
|
2015-05-18 22:09:15 +02:00
|
|
|
static const int ddLogLevel = LOG_LEVEL_WARN;
|
2014-06-30 17:14:33 +02:00
|
|
|
#endif
|
|
|
|
|
2014-08-05 05:44:43 +02:00
|
|
|
#import "iOSVersions.h"
|
2014-10-05 19:18:18 +02:00
|
|
|
|
|
|
|
#define SignalAlertView(title,msg) [[[UIAlertView alloc] initWithTitle:title message:msg delegate:nil cancelButtonTitle:NSLocalizedString(@"OK", @"") otherButtonTitles:nil, nil] show]
|
|
|
|
#define SignalReportError [Pastelog reportErrorAndSubmitLogsWithAlertTitle:NSLocalizedString(@"ERROR_WAS_DETECTED_TITLE", @"") alertBody:NSLocalizedString(@"ERROR_WAS_DETECTED_SUBMIT", @"")];
|
|
|
|
|
2014-05-06 19:41:08 +02:00
|
|
|
#endif
|