IOSAD-124 rm dead code IOSAD-124
authorbuff <andreas@pep-project.org>
Sun, 21 Jul 2019 18:39:19 +0200
branchIOSAD-124
changeset 107419e3a4f59580
parent 1073 81b106a91ee2
child 1075 34a6a20465e1
IOSAD-124 rm dead code
pEpObjCAdapter.xcodeproj/project.pbxproj
pEpObjCAdapter/PEPLock.h
pEpObjCAdapter/PEPLock.m
pEpObjCAdapter/PEPSync_Internal.h
     1.1 --- a/pEpObjCAdapter.xcodeproj/project.pbxproj	Sun Jul 21 18:28:56 2019 +0200
     1.2 +++ b/pEpObjCAdapter.xcodeproj/project.pbxproj	Sun Jul 21 18:39:19 2019 +0200
     1.3 @@ -52,7 +52,6 @@
     1.4  		435F5179222046C2006EB11F /* NSNumber+PEPRating.m in Sources */ = {isa = PBXBuildFile; fileRef = 435665CB2080A6CB00EC5B10 /* NSNumber+PEPRating.m */; };
     1.5  		435F517A222046C2006EB11F /* NSObject+Extension.m in Sources */ = {isa = PBXBuildFile; fileRef = 439393E5208F375800EB1DBD /* NSObject+Extension.m */; };
     1.6  		435F517B222046C2006EB11F /* NSMutableDictionary+PEP.m in Sources */ = {isa = PBXBuildFile; fileRef = 439393F7208F5B5E00EB1DBD /* NSMutableDictionary+PEP.m */; };
     1.7 -		435F517C222046C2006EB11F /* PEPLock.m in Sources */ = {isa = PBXBuildFile; fileRef = 43F73BD32165F6EC00AB4524 /* PEPLock.m */; };
     1.8  		435F517D222046C2006EB11F /* PEPSync.m in Sources */ = {isa = PBXBuildFile; fileRef = 43F73BE92166248E00AB4524 /* PEPSync.m */; };
     1.9  		435F519022204A67006EB11F /* PEPSessionProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 435F518F22204A67006EB11F /* PEPSessionProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; };
    1.10  		4360AA0E2227F22900E62E5A /* PEPObjCAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = 43209B2F1ECC2ACD007E7E2E /* PEPObjCAdapter.h */; settings = {ATTRIBUTES = (Public, ); }; };
    1.11 @@ -205,8 +204,6 @@
    1.12  		43E3985D221D7E56008E7983 /* PEPObjCAdapterFramework.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PEPObjCAdapterFramework.h; sourceTree = "<group>"; };
    1.13  		43E3985E221D7E56008E7983 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
    1.14  		43E3986A221D7EDD008E7983 /* libiconv.2.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libiconv.2.tbd; path = usr/lib/libiconv.2.tbd; sourceTree = SDKROOT; };
    1.15 -		43F73BD22165F6EC00AB4524 /* PEPLock.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PEPLock.h; sourceTree = "<group>"; };
    1.16 -		43F73BD32165F6EC00AB4524 /* PEPLock.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PEPLock.m; sourceTree = "<group>"; };
    1.17  		43F73BE92166248E00AB4524 /* PEPSync.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PEPSync.m; sourceTree = "<group>"; };
    1.18  		43FF2ECC2226AE7E000D9567 /* PEPEngineTypes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = PEPEngineTypes.h; path = pEpObjCAdapterFramework/PEPEngineTypes.h; sourceTree = SOURCE_ROOT; };
    1.19  		640F79211C9B517C00DBEC4E /* 5CB2C182_sec.asc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = 5CB2C182_sec.asc; sourceTree = "<group>"; };
    1.20 @@ -348,8 +345,6 @@
    1.21  				439393E5208F375800EB1DBD /* NSObject+Extension.m */,
    1.22  				439393F6208F5B5E00EB1DBD /* NSMutableDictionary+PEP.h */,
    1.23  				439393F7208F5B5E00EB1DBD /* NSMutableDictionary+PEP.m */,
    1.24 -				43F73BD22165F6EC00AB4524 /* PEPLock.h */,
    1.25 -				43F73BD32165F6EC00AB4524 /* PEPLock.m */,
    1.26  				43F73BE92166248E00AB4524 /* PEPSync.m */,
    1.27  				430CD9BF2292B1EA00AAC37F /* PEPSync_Internal.h */,
    1.28  			);
    1.29 @@ -627,7 +622,6 @@
    1.30  				435F5179222046C2006EB11F /* NSNumber+PEPRating.m in Sources */,
    1.31  				435F516B222046C2006EB11F /* PEPMessageUtil.m in Sources */,
    1.32  				435F5171222046C2006EB11F /* PEPCopyableThread.m in Sources */,
    1.33 -				435F517C222046C2006EB11F /* PEPLock.m in Sources */,
    1.34  				435F5175222046C2006EB11F /* PEPMessage.m in Sources */,
    1.35  				435F5174222046C2006EB11F /* PEPIdentity.m in Sources */,
    1.36  				435F517A222046C2006EB11F /* NSObject+Extension.m in Sources */,
     2.1 --- a/pEpObjCAdapter/PEPLock.h	Sun Jul 21 18:28:56 2019 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,26 +0,0 @@
     2.4 -//
     2.5 -//  PEPLock.h
     2.6 -//  pEpObjCAdapter
     2.7 -//
     2.8 -//  Created by Dirk Zimmermann on 04.10.18.
     2.9 -//  Copyright © 2018 p≡p. All rights reserved.
    2.10 -//
    2.11 -
    2.12 -#import <Foundation/Foundation.h>
    2.13 -
    2.14 -/**
    2.15 - Provides global locking to all (write) use of pEp sessions.
    2.16 - */
    2.17 -@interface PEPLock : NSObject
    2.18 -
    2.19 -/**
    2.20 - Locks for (potential) sqlite writes.
    2.21 - */
    2.22 -+ (void)lockWrite;
    2.23 -
    2.24 -/**
    2.25 - Unlocks (potential) sqlite writes.
    2.26 - */
    2.27 -+ (void)unlockWrite;
    2.28 -
    2.29 -@end
     3.1 --- a/pEpObjCAdapter/PEPLock.m	Sun Jul 21 18:28:56 2019 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,30 +0,0 @@
     3.4 -//
     3.5 -//  PEPLock.m
     3.6 -//  pEpObjCAdapter
     3.7 -//
     3.8 -//  Created by Dirk Zimmermann on 04.10.18.
     3.9 -//  Copyright © 2018 p≡p. All rights reserved.
    3.10 -//
    3.11 -
    3.12 -#import "PEPLock.h"
    3.13 -
    3.14 -static NSLock *s_writeLock;
    3.15 -
    3.16 -@implementation PEPLock
    3.17 -
    3.18 -+ (void)initialize
    3.19 -{
    3.20 -    s_writeLock = [[NSLock alloc] init];
    3.21 -}
    3.22 -
    3.23 -+ (void)lockWrite
    3.24 -{
    3.25 -    [s_writeLock lock];
    3.26 -}
    3.27 -
    3.28 -+ (void)unlockWrite
    3.29 -{
    3.30 -    [s_writeLock unlock];
    3.31 -}
    3.32 -
    3.33 -@end
     4.1 --- a/pEpObjCAdapter/PEPSync_Internal.h	Sun Jul 21 18:28:56 2019 +0200
     4.2 +++ b/pEpObjCAdapter/PEPSync_Internal.h	Sun Jul 21 18:39:19 2019 +0200
     4.3 @@ -18,11 +18,6 @@
     4.4   */
     4.5  + (PEP_SESSION _Nullable)createSession:(NSError * _Nullable * _Nullable)error;
     4.6  
     4.7 -/**
     4.8 - Releases an engine session that was created by `createSession`.
     4.9 - */
    4.10 -+ (void)releaseSession:(PEP_SESSION _Nullable)session;
    4.11 -
    4.12  @end
    4.13  
    4.14  #endif /* PEPSync_Internal_h */