pEpObjCAdapter/PEPObjCAdapter+Internal.h
author Dirk Zimmermann <dz@pep.security>
Thu, 12 Sep 2019 16:41:52 +0200
branchIOSAD-141
changeset 1245 cd15ff3a40b9
parent 679 67cb062cbb11
permissions -rw-r--r--
IOSAD-141 Don't share session between threads.
     1 //
     2 //  PEPIOSAdapter+Internal.h
     3 //  pEpiOSAdapter
     4 //
     5 //  Created by Edouard Tisserant on 11/11/15.
     6 //  Copyright © 2015 p≡p. All rights reserved.
     7 //
     8 
     9 #ifndef PEPIOSAdapter_Internal_h
    10 #define PEPIOSAdapter_Internal_h
    11 
    12 #import "PEPQueue.h"
    13 #import "PEPInternalSession.h"
    14 
    15 @interface PEPObjCAdapter ()
    16 
    17 /**
    18  unecryptedSubjectEnabled value to use for all sessions created.
    19 
    20  @return Whether or not mail subjects should be encrypted
    21  */
    22 + (BOOL)unEncryptedSubjectEnabled;
    23 
    24 /**
    25  @note That global value is used for all new sessions
    26  @return The current status of passive mode (enabled or not)
    27  */
    28 + (BOOL)passiveModeEnabled;
    29 
    30 @end
    31 
    32 #endif /* PEPIOSAdapter_Internal_h */