pEpObjCAdapter/PEPObjCAdapter+Internal.h
author Dirk Zimmermann <dirk@pep-project.org>
Thu, 17 May 2018 09:33:33 +0200
changeset 616 9e50cc7cd612
parent 601 10ac2d9704ac
child 625 6da48501887b
permissions -rw-r--r--
IOSAD-93 consistently using precomposedStringWithCanonicalMapping, stringWithUTF8String
     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 "sync.h"
    13 
    14 #import "PEPQueue.h"
    15 #import "PEPInternalSession.h"
    16 
    17 @interface PEPObjCAdapter ()
    18 
    19 /**
    20  unecryptedSubjectEnabled value to use for all sessions created.
    21 
    22  @return Whether or not mail subjects should be encrypted
    23  */
    24 + (BOOL)unEncryptedSubjectEnabled;
    25 
    26 // this messages are for internal use only; do not call
    27 
    28 + (void)registerExamineFunction:(PEP_SESSION)session;
    29 + (PEPQueue*)getLookupQueue;
    30 
    31 + (PEPQueue*)getSyncQueue;
    32 + (id <PEPSyncDelegate>)getSyncDelegate;
    33 + (void)bindSession:(PEPInternalSession*)session;
    34 + (void)unbindSession:(PEPInternalSession*)session;
    35 
    36 /**
    37  Locks for (potential) sqlite writes.
    38  */
    39 + (void)lockWrite;
    40 
    41 /**
    42  Unlocks (potential) sqlite writes.
    43  */
    44 + (void)unlockWrite;
    45 
    46 @end
    47 
    48 #endif /* PEPIOSAdapter_Internal_h */