mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
23 lines
807 B
Text
23 lines
807 B
Text
//
|
|
// 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/DDLog.h>
|
|
|
|
#ifdef DEBUG
|
|
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
|
|
#else
|
|
static const int ddLogLevel = LOG_LEVEL_ERROR;
|
|
#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
|