// // Copyright (c) 2017 Open Whisper Systems. All rights reserved. // #import #ifdef __OBJC__ #import #import #import #ifdef DEBUG static const NSUInteger ddLogLevel = DDLogLevelAll; #else static const NSUInteger ddLogLevel = DDLogLevelInfo; #endif #import #import #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