IOSAD-172 Fix the domain constants IOSAD-172
authorDirk Zimmermann <dz@pep.security>
Mon, 29 Jun 2020 16:39:43 +0200
branchIOSAD-172
changeset 1553c6eac6f06d52
parent 1552 aaf2f1fb260d
child 1554 fa5d57d941ab
IOSAD-172 Fix the domain constants
PEPObjCAdapterFramework/PEPSessionProtocol.m
pEpObjCAdapterFramework/PEPSessionProtocol.h
     1.1 --- a/PEPObjCAdapterFramework/PEPSessionProtocol.m	Mon Jun 29 16:39:43 2020 +0200
     1.2 +++ b/PEPObjCAdapterFramework/PEPSessionProtocol.m	Mon Jun 29 16:39:43 2020 +0200
     1.3 @@ -8,6 +8,6 @@
     1.4  
     1.5  #import <Foundation/Foundation.h>
     1.6  
     1.7 -static NSString * _Nonnull PEPObjCAdapterEngineStatusErrorDomain = @"PEPObjCAdapterEngineStatusErrorDomain";
     1.8 +NSString * _Nonnull const PEPObjCAdapterEngineStatusErrorDomain = @"PEPObjCAdapterEngineStatusErrorDomain";
     1.9  
    1.10 -static NSString * _Nonnull PEPObjCAdapterErrorDomain = @"PEPObjCAdapterErrorDomain";
    1.11 +NSString * _Nonnull const PEPObjCAdapterErrorDomain = @"PEPObjCAdapterErrorDomain";
     2.1 --- a/pEpObjCAdapterFramework/PEPSessionProtocol.h	Mon Jun 29 16:39:43 2020 +0200
     2.2 +++ b/pEpObjCAdapterFramework/PEPSessionProtocol.h	Mon Jun 29 16:39:43 2020 +0200
     2.3 @@ -16,10 +16,10 @@
     2.4  @class PEPMessage;
     2.5  
     2.6  /// Domain for errors indicated by the pEp engine.
     2.7 -static NSString * _Nonnull PEPObjCAdapterEngineStatusErrorDomain;
     2.8 +extern NSString * const _Nonnull PEPObjCAdapterEngineStatusErrorDomain;
     2.9  
    2.10  /// Domain for errors indicated by the pEp adapter itself.
    2.11 -static NSString * _Nonnull PEPObjCAdapterErrorDomain;
    2.12 +extern NSString * const _Nonnull PEPObjCAdapterErrorDomain;
    2.13  
    2.14  /// Possible errors from adapter without involvement from the engine.
    2.15  typedef NS_CLOSED_ENUM(int, PEPAdapterError) {