mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
829 B
Plaintext
24 lines
829 B
Plaintext
//
|
|
// 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>
|
|
#import <CocoaLumberjack/CocoaLumberjack.h>
|
|
|
|
#ifdef DEBUG
|
|
static const NSUInteger ddLogLevel = DDLogLevelAll;
|
|
#else
|
|
static const NSUInteger ddLogLevel = DDLogLevelWarning;
|
|
#endif
|
|
|
|
#import "iOSVersions.h"
|
|
|
|
#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", @"")];
|
|
|
|
#endif
|