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.
dirk@187
     1
//
dirk@187
     2
//  PEPIOSAdapter+Internal.h
dirk@187
     3
//  pEpiOSAdapter
dirk@187
     4
//
dirk@187
     5
//  Created by Edouard Tisserant on 11/11/15.
dirk@187
     6
//  Copyright © 2015 p≡p. All rights reserved.
dirk@187
     7
//
dirk@187
     8
dirk@187
     9
#ifndef PEPIOSAdapter_Internal_h
dirk@187
    10
#define PEPIOSAdapter_Internal_h
dirk@187
    11
dirk@187
    12
#import "PEPQueue.h"
andreas@269
    13
#import "PEPInternalSession.h"
dirk@187
    14
dirk@187
    15
@interface PEPObjCAdapter ()
dirk@187
    16
dirk@254
    17
/**
andreas@416
    18
 unecryptedSubjectEnabled value to use for all sessions created.
andreas@416
    19
andreas@416
    20
 @return Whether or not mail subjects should be encrypted
andreas@416
    21
 */
dirk@601
    22
+ (BOOL)unEncryptedSubjectEnabled;
andreas@416
    23
dirk@625
    24
/**
dirk@625
    25
 @note That global value is used for all new sessions
dirk@625
    26
 @return The current status of passive mode (enabled or not)
dirk@625
    27
 */
dirk@625
    28
+ (BOOL)passiveModeEnabled;
dirk@625
    29
dirk@187
    30
@end
dirk@187
    31
dirk@187
    32
#endif /* PEPIOSAdapter_Internal_h */