initial commit
commit
4defef25d7
|
@ -0,0 +1,654 @@
|
|||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 46;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
350F0ED31B4D642200D9964F /* PEPSession.m in Sources */ = {isa = PBXBuildFile; fileRef = 350F0ED21B4D642200D9964F /* PEPSession.m */; };
|
||||
350F0ED91B4E997300D9964F /* MCOAbstractMessage+PEPMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 350F0ED81B4E997300D9964F /* MCOAbstractMessage+PEPMessage.m */; };
|
||||
352988AE1AEF964100FA7E2E /* PEPiOSAdapter.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 352988AD1AEF964100FA7E2E /* PEPiOSAdapter.h */; };
|
||||
352988B01AEF964100FA7E2E /* PEPiOSAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = 352988AF1AEF964100FA7E2E /* PEPiOSAdapter.m */; };
|
||||
352988B61AEF964100FA7E2E /* libpEpiOSAdapter.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 352988AA1AEF964100FA7E2E /* libpEpiOSAdapter.a */; };
|
||||
352988EF1AEF968C00FA7E2E /* bloblist.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988C41AEF968C00FA7E2E /* bloblist.c */; };
|
||||
352988F01AEF968C00FA7E2E /* cryptotech.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988C61AEF968C00FA7E2E /* cryptotech.c */; };
|
||||
352988F11AEF968C00FA7E2E /* email.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988C91AEF968C00FA7E2E /* email.c */; };
|
||||
352988F21AEF968C00FA7E2E /* etpan_mime.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988CB1AEF968C00FA7E2E /* etpan_mime.c */; };
|
||||
352988F31AEF968C00FA7E2E /* identity_list.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988CD1AEF968C00FA7E2E /* identity_list.c */; };
|
||||
352988F41AEF968C00FA7E2E /* keymanagement.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988CF1AEF968C00FA7E2E /* keymanagement.c */; };
|
||||
352988F51AEF968C00FA7E2E /* message_api.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988D11AEF968C00FA7E2E /* message_api.c */; };
|
||||
352988F61AEF968C00FA7E2E /* message.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988D31AEF968C00FA7E2E /* message.c */; };
|
||||
352988F71AEF968C00FA7E2E /* mime.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988D51AEF968C00FA7E2E /* mime.c */; };
|
||||
352988F81AEF968C00FA7E2E /* pEpEngine.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988D81AEF968C00FA7E2E /* pEpEngine.c */; };
|
||||
352988F91AEF968C00FA7E2E /* pgp_netpgp.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988DB1AEF968C00FA7E2E /* pgp_netpgp.c */; };
|
||||
352988FA1AEF968C00FA7E2E /* platform_unix.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988DD1AEF968C00FA7E2E /* platform_unix.c */; };
|
||||
352988FB1AEF968C00FA7E2E /* sqlite3.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988E11AEF968C00FA7E2E /* sqlite3.c */; };
|
||||
352988FC1AEF968C00FA7E2E /* stringlist.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988E31AEF968C00FA7E2E /* stringlist.c */; };
|
||||
352988FD1AEF968C00FA7E2E /* stringpair.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988E51AEF968C00FA7E2E /* stringpair.c */; };
|
||||
352988FE1AEF968C00FA7E2E /* timestamp.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988E71AEF968C00FA7E2E /* timestamp.c */; };
|
||||
352988FF1AEF968C00FA7E2E /* trans_auto.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988E91AEF968C00FA7E2E /* trans_auto.c */; };
|
||||
352989001AEF968C00FA7E2E /* transport.c in Sources */ = {isa = PBXBuildFile; fileRef = 352988EB1AEF968C00FA7E2E /* transport.c */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
350F0EBE1B4D5BFB00D9964F /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 350F0EB31B4D5BFB00D9964F /* mailcore2.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = C64EA537169E772200778456;
|
||||
remoteInfo = "static mailcore2 osx";
|
||||
};
|
||||
350F0EC01B4D5BFB00D9964F /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 350F0EB31B4D5BFB00D9964F /* mailcore2.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = C6BA2C191705F4E6003F0E9E;
|
||||
remoteInfo = "static mailcore2 ios";
|
||||
};
|
||||
350F0EC21B4D5BFB00D9964F /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 350F0EB31B4D5BFB00D9964F /* mailcore2.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = C64EA78C169F259200778456;
|
||||
remoteInfo = tests;
|
||||
};
|
||||
350F0EC41B4D5BFB00D9964F /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 350F0EB31B4D5BFB00D9964F /* mailcore2.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = C6A81B911706840C00882C15;
|
||||
remoteInfo = "test-ios";
|
||||
};
|
||||
350F0EC61B4D5BFB00D9964F /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 350F0EB31B4D5BFB00D9964F /* mailcore2.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = C6BD288D170BD71100A91AC1;
|
||||
remoteInfo = "mailcore osx";
|
||||
};
|
||||
350F0EC81B4D5BFB00D9964F /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 350F0EB31B4D5BFB00D9964F /* mailcore2.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = 27780C3A19CF9CD100C77E44;
|
||||
remoteInfo = "mailcore ios";
|
||||
};
|
||||
350F0ECA1B4D5BFB00D9964F /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 350F0EB31B4D5BFB00D9964F /* mailcore2.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = C6B5AE0219F630B3001352A6;
|
||||
remoteInfo = unittest;
|
||||
};
|
||||
350F0ECC1B4D5BFB00D9964F /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 350F0EB31B4D5BFB00D9964F /* mailcore2.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = C600B6141A242C3F000728F1;
|
||||
remoteInfo = unittestcpp;
|
||||
};
|
||||
352988B71AEF964100FA7E2E /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 352988A21AEF964100FA7E2E /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = 352988A91AEF964100FA7E2E;
|
||||
remoteInfo = pEpiOSAdapter;
|
||||
};
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXCopyFilesBuildPhase section */
|
||||
352988A81AEF964100FA7E2E /* CopyFiles */ = {
|
||||
isa = PBXCopyFilesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
dstPath = "include/$(PRODUCT_NAME)";
|
||||
dstSubfolderSpec = 16;
|
||||
files = (
|
||||
352988AE1AEF964100FA7E2E /* PEPiOSAdapter.h in CopyFiles */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXCopyFilesBuildPhase section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
350F0EB31B4D5BFB00D9964F /* mailcore2.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = mailcore2.xcodeproj; path = "../MailCore2/build-mac/mailcore2.xcodeproj"; sourceTree = "<group>"; };
|
||||
350F0ED11B4D642200D9964F /* PEPSession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PEPSession.h; sourceTree = "<group>"; };
|
||||
350F0ED21B4D642200D9964F /* PEPSession.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PEPSession.m; sourceTree = "<group>"; };
|
||||
350F0ED71B4E997300D9964F /* MCOAbstractMessage+PEPMessage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MCOAbstractMessage+PEPMessage.h"; sourceTree = "<group>"; };
|
||||
350F0ED81B4E997300D9964F /* MCOAbstractMessage+PEPMessage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MCOAbstractMessage+PEPMessage.m"; sourceTree = "<group>"; };
|
||||
352988AA1AEF964100FA7E2E /* libpEpiOSAdapter.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libpEpiOSAdapter.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
352988AD1AEF964100FA7E2E /* PEPiOSAdapter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PEPiOSAdapter.h; sourceTree = "<group>"; };
|
||||
352988AF1AEF964100FA7E2E /* PEPiOSAdapter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PEPiOSAdapter.m; sourceTree = "<group>"; };
|
||||
352988B51AEF964100FA7E2E /* pEpiOSAdapterTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = pEpiOSAdapterTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
352988BB1AEF964100FA7E2E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
352988C41AEF968C00FA7E2E /* bloblist.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = bloblist.c; path = ../../pEpEngine/src/bloblist.c; sourceTree = "<group>"; };
|
||||
352988C51AEF968C00FA7E2E /* bloblist.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = bloblist.h; path = ../../pEpEngine/src/bloblist.h; sourceTree = "<group>"; };
|
||||
352988C61AEF968C00FA7E2E /* cryptotech.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = cryptotech.c; path = ../../pEpEngine/src/cryptotech.c; sourceTree = "<group>"; };
|
||||
352988C71AEF968C00FA7E2E /* cryptotech.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = cryptotech.h; path = ../../pEpEngine/src/cryptotech.h; sourceTree = "<group>"; };
|
||||
352988C81AEF968C00FA7E2E /* dynamic_api.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = dynamic_api.h; path = ../../pEpEngine/src/dynamic_api.h; sourceTree = "<group>"; };
|
||||
352988C91AEF968C00FA7E2E /* email.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = email.c; path = ../../pEpEngine/src/email.c; sourceTree = "<group>"; };
|
||||
352988CA1AEF968C00FA7E2E /* email.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = email.h; path = ../../pEpEngine/src/email.h; sourceTree = "<group>"; };
|
||||
352988CB1AEF968C00FA7E2E /* etpan_mime.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = etpan_mime.c; path = ../../pEpEngine/src/etpan_mime.c; sourceTree = "<group>"; };
|
||||
352988CC1AEF968C00FA7E2E /* etpan_mime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = etpan_mime.h; path = ../../pEpEngine/src/etpan_mime.h; sourceTree = "<group>"; };
|
||||
352988CD1AEF968C00FA7E2E /* identity_list.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = identity_list.c; path = ../../pEpEngine/src/identity_list.c; sourceTree = "<group>"; };
|
||||
352988CE1AEF968C00FA7E2E /* identity_list.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = identity_list.h; path = ../../pEpEngine/src/identity_list.h; sourceTree = "<group>"; };
|
||||
352988CF1AEF968C00FA7E2E /* keymanagement.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = keymanagement.c; path = ../../pEpEngine/src/keymanagement.c; sourceTree = "<group>"; };
|
||||
352988D01AEF968C00FA7E2E /* keymanagement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = keymanagement.h; path = ../../pEpEngine/src/keymanagement.h; sourceTree = "<group>"; };
|
||||
352988D11AEF968C00FA7E2E /* message_api.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = message_api.c; path = ../../pEpEngine/src/message_api.c; sourceTree = "<group>"; };
|
||||
352988D21AEF968C00FA7E2E /* message_api.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = message_api.h; path = ../../pEpEngine/src/message_api.h; sourceTree = "<group>"; };
|
||||
352988D31AEF968C00FA7E2E /* message.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = message.c; path = ../../pEpEngine/src/message.c; sourceTree = "<group>"; };
|
||||
352988D41AEF968C00FA7E2E /* message.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = message.h; path = ../../pEpEngine/src/message.h; sourceTree = "<group>"; };
|
||||
352988D51AEF968C00FA7E2E /* mime.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = mime.c; path = ../../pEpEngine/src/mime.c; sourceTree = "<group>"; };
|
||||
352988D61AEF968C00FA7E2E /* mime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = mime.h; path = ../../pEpEngine/src/mime.h; sourceTree = "<group>"; };
|
||||
352988D71AEF968C00FA7E2E /* pEp_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = pEp_internal.h; path = ../../pEpEngine/src/pEp_internal.h; sourceTree = "<group>"; };
|
||||
352988D81AEF968C00FA7E2E /* pEpEngine.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pEpEngine.c; path = ../../pEpEngine/src/pEpEngine.c; sourceTree = "<group>"; };
|
||||
352988D91AEF968C00FA7E2E /* pEpEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = pEpEngine.h; path = ../../pEpEngine/src/pEpEngine.h; sourceTree = "<group>"; };
|
||||
352988DA1AEF968C00FA7E2E /* pgp_netpgp_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = pgp_netpgp_internal.h; path = ../../pEpEngine/src/pgp_netpgp_internal.h; sourceTree = "<group>"; };
|
||||
352988DB1AEF968C00FA7E2E /* pgp_netpgp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pgp_netpgp.c; path = ../../pEpEngine/src/pgp_netpgp.c; sourceTree = "<group>"; };
|
||||
352988DC1AEF968C00FA7E2E /* pgp_netpgp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = pgp_netpgp.h; path = ../../pEpEngine/src/pgp_netpgp.h; sourceTree = "<group>"; };
|
||||
352988DD1AEF968C00FA7E2E /* platform_unix.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = platform_unix.c; path = ../../pEpEngine/src/platform_unix.c; sourceTree = "<group>"; };
|
||||
352988DE1AEF968C00FA7E2E /* platform_unix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = platform_unix.h; path = ../../pEpEngine/src/platform_unix.h; sourceTree = "<group>"; };
|
||||
352988DF1AEF968C00FA7E2E /* platform.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = platform.h; path = ../../pEpEngine/src/platform.h; sourceTree = "<group>"; };
|
||||
352988E01AEF968C00FA7E2E /* resource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = resource.h; path = ../../pEpEngine/src/resource.h; sourceTree = "<group>"; };
|
||||
352988E11AEF968C00FA7E2E /* sqlite3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sqlite3.c; path = ../../pEpEngine/src/sqlite3.c; sourceTree = "<group>"; };
|
||||
352988E21AEF968C00FA7E2E /* sqlite3.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = sqlite3.h; path = ../../pEpEngine/src/sqlite3.h; sourceTree = "<group>"; };
|
||||
352988E31AEF968C00FA7E2E /* stringlist.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = stringlist.c; path = ../../pEpEngine/src/stringlist.c; sourceTree = "<group>"; };
|
||||
352988E41AEF968C00FA7E2E /* stringlist.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = stringlist.h; path = ../../pEpEngine/src/stringlist.h; sourceTree = "<group>"; };
|
||||
352988E51AEF968C00FA7E2E /* stringpair.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = stringpair.c; path = ../../pEpEngine/src/stringpair.c; sourceTree = "<group>"; };
|
||||
352988E61AEF968C00FA7E2E /* stringpair.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = stringpair.h; path = ../../pEpEngine/src/stringpair.h; sourceTree = "<group>"; };
|
||||
352988E71AEF968C00FA7E2E /* timestamp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = timestamp.c; path = ../../pEpEngine/src/timestamp.c; sourceTree = "<group>"; };
|
||||
352988E81AEF968C00FA7E2E /* timestamp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = timestamp.h; path = ../../pEpEngine/src/timestamp.h; sourceTree = "<group>"; };
|
||||
352988E91AEF968C00FA7E2E /* trans_auto.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = trans_auto.c; path = ../../pEpEngine/src/trans_auto.c; sourceTree = "<group>"; };
|
||||
352988EA1AEF968C00FA7E2E /* trans_auto.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = trans_auto.h; path = ../../pEpEngine/src/trans_auto.h; sourceTree = "<group>"; };
|
||||
352988EB1AEF968C00FA7E2E /* transport.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = transport.c; path = ../../pEpEngine/src/transport.c; sourceTree = "<group>"; };
|
||||
352988EC1AEF968C00FA7E2E /* transport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = transport.h; path = ../../pEpEngine/src/transport.h; sourceTree = "<group>"; };
|
||||
352988ED1AEF968C00FA7E2E /* update.sql */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = update.sql; path = ../../pEpEngine/src/update.sql; sourceTree = "<group>"; };
|
||||
352988EE1AEF968C00FA7E2E /* wrappers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = wrappers.h; path = ../../pEpEngine/src/wrappers.h; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
352988A71AEF964100FA7E2E /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
352988B21AEF964100FA7E2E /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
352988B61AEF964100FA7E2E /* libpEpiOSAdapter.a in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
350F0EB41B4D5BFB00D9964F /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
350F0EBF1B4D5BFB00D9964F /* libMailCore.a */,
|
||||
350F0EC11B4D5BFB00D9964F /* libMailCore-ios.a */,
|
||||
350F0EC31B4D5BFB00D9964F /* tests */,
|
||||
350F0EC51B4D5BFB00D9964F /* test-ios.app */,
|
||||
350F0EC71B4D5BFB00D9964F /* MailCore.framework */,
|
||||
350F0EC91B4D5BFB00D9964F /* MailCore.framework */,
|
||||
350F0ECB1B4D5BFB00D9964F /* unittest.xctest */,
|
||||
350F0ECD1B4D5BFB00D9964F /* unittestcpp */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
352988A11AEF964100FA7E2E = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
350F0EB31B4D5BFB00D9964F /* mailcore2.xcodeproj */,
|
||||
352988AC1AEF964100FA7E2E /* pEpiOSAdapter */,
|
||||
352988B91AEF964100FA7E2E /* pEpiOSAdapterTests */,
|
||||
352988AB1AEF964100FA7E2E /* Products */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
352988AB1AEF964100FA7E2E /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
352988AA1AEF964100FA7E2E /* libpEpiOSAdapter.a */,
|
||||
352988B51AEF964100FA7E2E /* pEpiOSAdapterTests.xctest */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
352988AC1AEF964100FA7E2E /* pEpiOSAdapter */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
352988C41AEF968C00FA7E2E /* bloblist.c */,
|
||||
352988C51AEF968C00FA7E2E /* bloblist.h */,
|
||||
352988C61AEF968C00FA7E2E /* cryptotech.c */,
|
||||
352988C71AEF968C00FA7E2E /* cryptotech.h */,
|
||||
352988C81AEF968C00FA7E2E /* dynamic_api.h */,
|
||||
352988C91AEF968C00FA7E2E /* email.c */,
|
||||
352988CA1AEF968C00FA7E2E /* email.h */,
|
||||
352988CB1AEF968C00FA7E2E /* etpan_mime.c */,
|
||||
352988CC1AEF968C00FA7E2E /* etpan_mime.h */,
|
||||
352988CD1AEF968C00FA7E2E /* identity_list.c */,
|
||||
352988CE1AEF968C00FA7E2E /* identity_list.h */,
|
||||
352988CF1AEF968C00FA7E2E /* keymanagement.c */,
|
||||
352988D01AEF968C00FA7E2E /* keymanagement.h */,
|
||||
352988D11AEF968C00FA7E2E /* message_api.c */,
|
||||
352988D21AEF968C00FA7E2E /* message_api.h */,
|
||||
352988D31AEF968C00FA7E2E /* message.c */,
|
||||
352988D41AEF968C00FA7E2E /* message.h */,
|
||||
352988D51AEF968C00FA7E2E /* mime.c */,
|
||||
352988D61AEF968C00FA7E2E /* mime.h */,
|
||||
352988D71AEF968C00FA7E2E /* pEp_internal.h */,
|
||||
352988D81AEF968C00FA7E2E /* pEpEngine.c */,
|
||||
352988D91AEF968C00FA7E2E /* pEpEngine.h */,
|
||||
352988DA1AEF968C00FA7E2E /* pgp_netpgp_internal.h */,
|
||||
352988DB1AEF968C00FA7E2E /* pgp_netpgp.c */,
|
||||
352988DC1AEF968C00FA7E2E /* pgp_netpgp.h */,
|
||||
352988DD1AEF968C00FA7E2E /* platform_unix.c */,
|
||||
352988DE1AEF968C00FA7E2E /* platform_unix.h */,
|
||||
352988DF1AEF968C00FA7E2E /* platform.h */,
|
||||
352988E01AEF968C00FA7E2E /* resource.h */,
|
||||
352988E11AEF968C00FA7E2E /* sqlite3.c */,
|
||||
352988E21AEF968C00FA7E2E /* sqlite3.h */,
|
||||
352988E31AEF968C00FA7E2E /* stringlist.c */,
|
||||
352988E41AEF968C00FA7E2E /* stringlist.h */,
|
||||
352988E51AEF968C00FA7E2E /* stringpair.c */,
|
||||
352988E61AEF968C00FA7E2E /* stringpair.h */,
|
||||
352988E71AEF968C00FA7E2E /* timestamp.c */,
|
||||
352988E81AEF968C00FA7E2E /* timestamp.h */,
|
||||
352988E91AEF968C00FA7E2E /* trans_auto.c */,
|
||||
352988EA1AEF968C00FA7E2E /* trans_auto.h */,
|
||||
352988EB1AEF968C00FA7E2E /* transport.c */,
|
||||
352988EC1AEF968C00FA7E2E /* transport.h */,
|
||||
352988ED1AEF968C00FA7E2E /* update.sql */,
|
||||
352988EE1AEF968C00FA7E2E /* wrappers.h */,
|
||||
352988AD1AEF964100FA7E2E /* PEPiOSAdapter.h */,
|
||||
352988AF1AEF964100FA7E2E /* PEPiOSAdapter.m */,
|
||||
350F0ED11B4D642200D9964F /* PEPSession.h */,
|
||||
350F0ED21B4D642200D9964F /* PEPSession.m */,
|
||||
350F0ED71B4E997300D9964F /* MCOAbstractMessage+PEPMessage.h */,
|
||||
350F0ED81B4E997300D9964F /* MCOAbstractMessage+PEPMessage.m */,
|
||||
);
|
||||
path = pEpiOSAdapter;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
352988B91AEF964100FA7E2E /* pEpiOSAdapterTests */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
352988BA1AEF964100FA7E2E /* Supporting Files */,
|
||||
);
|
||||
path = pEpiOSAdapterTests;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
352988BA1AEF964100FA7E2E /* Supporting Files */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
352988BB1AEF964100FA7E2E /* Info.plist */,
|
||||
);
|
||||
name = "Supporting Files";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
352988A91AEF964100FA7E2E /* pEpiOSAdapter */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 352988BE1AEF964100FA7E2E /* Build configuration list for PBXNativeTarget "pEpiOSAdapter" */;
|
||||
buildPhases = (
|
||||
352988A61AEF964100FA7E2E /* Sources */,
|
||||
352988A71AEF964100FA7E2E /* Frameworks */,
|
||||
352988A81AEF964100FA7E2E /* CopyFiles */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = pEpiOSAdapter;
|
||||
productName = pEpiOSAdapter;
|
||||
productReference = 352988AA1AEF964100FA7E2E /* libpEpiOSAdapter.a */;
|
||||
productType = "com.apple.product-type.library.static";
|
||||
};
|
||||
352988B41AEF964100FA7E2E /* pEpiOSAdapterTests */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 352988C11AEF964100FA7E2E /* Build configuration list for PBXNativeTarget "pEpiOSAdapterTests" */;
|
||||
buildPhases = (
|
||||
352988B11AEF964100FA7E2E /* Sources */,
|
||||
352988B21AEF964100FA7E2E /* Frameworks */,
|
||||
352988B31AEF964100FA7E2E /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
352988B81AEF964100FA7E2E /* PBXTargetDependency */,
|
||||
);
|
||||
name = pEpiOSAdapterTests;
|
||||
productName = pEpiOSAdapterTests;
|
||||
productReference = 352988B51AEF964100FA7E2E /* pEpiOSAdapterTests.xctest */;
|
||||
productType = "com.apple.product-type.bundle.unit-test";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
352988A21AEF964100FA7E2E /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
CLASSPREFIX = PEP;
|
||||
LastUpgradeCheck = 0630;
|
||||
ORGANIZATIONNAME = "p≡p";
|
||||
TargetAttributes = {
|
||||
352988A91AEF964100FA7E2E = {
|
||||
CreatedOnToolsVersion = 6.3.1;
|
||||
};
|
||||
352988B41AEF964100FA7E2E = {
|
||||
CreatedOnToolsVersion = 6.3.1;
|
||||
};
|
||||
};
|
||||
};
|
||||
buildConfigurationList = 352988A51AEF964100FA7E2E /* Build configuration list for PBXProject "pEpiOSAdapter" */;
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
developmentRegion = English;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
);
|
||||
mainGroup = 352988A11AEF964100FA7E2E;
|
||||
productRefGroup = 352988AB1AEF964100FA7E2E /* Products */;
|
||||
projectDirPath = "";
|
||||
projectReferences = (
|
||||
{
|
||||
ProductGroup = 350F0EB41B4D5BFB00D9964F /* Products */;
|
||||
ProjectRef = 350F0EB31B4D5BFB00D9964F /* mailcore2.xcodeproj */;
|
||||
},
|
||||
);
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
352988A91AEF964100FA7E2E /* pEpiOSAdapter */,
|
||||
352988B41AEF964100FA7E2E /* pEpiOSAdapterTests */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXReferenceProxy section */
|
||||
350F0EBF1B4D5BFB00D9964F /* libMailCore.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = libMailCore.a;
|
||||
remoteRef = 350F0EBE1B4D5BFB00D9964F /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
350F0EC11B4D5BFB00D9964F /* libMailCore-ios.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = "libMailCore-ios.a";
|
||||
remoteRef = 350F0EC01B4D5BFB00D9964F /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
350F0EC31B4D5BFB00D9964F /* tests */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = "compiled.mach-o.executable";
|
||||
path = tests;
|
||||
remoteRef = 350F0EC21B4D5BFB00D9964F /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
350F0EC51B4D5BFB00D9964F /* test-ios.app */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = wrapper.application;
|
||||
path = "test-ios.app";
|
||||
remoteRef = 350F0EC41B4D5BFB00D9964F /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
350F0EC71B4D5BFB00D9964F /* MailCore.framework */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = wrapper.framework;
|
||||
path = MailCore.framework;
|
||||
remoteRef = 350F0EC61B4D5BFB00D9964F /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
350F0EC91B4D5BFB00D9964F /* MailCore.framework */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = wrapper.framework;
|
||||
path = MailCore.framework;
|
||||
remoteRef = 350F0EC81B4D5BFB00D9964F /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
350F0ECB1B4D5BFB00D9964F /* unittest.xctest */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = wrapper.cfbundle;
|
||||
path = unittest.xctest;
|
||||
remoteRef = 350F0ECA1B4D5BFB00D9964F /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
350F0ECD1B4D5BFB00D9964F /* unittestcpp */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = "compiled.mach-o.executable";
|
||||
path = unittestcpp;
|
||||
remoteRef = 350F0ECC1B4D5BFB00D9964F /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
/* End PBXReferenceProxy section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
352988B31AEF964100FA7E2E /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
352988A61AEF964100FA7E2E /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
352988FD1AEF968C00FA7E2E /* stringpair.c in Sources */,
|
||||
352988F61AEF968C00FA7E2E /* message.c in Sources */,
|
||||
352988F91AEF968C00FA7E2E /* pgp_netpgp.c in Sources */,
|
||||
352988F21AEF968C00FA7E2E /* etpan_mime.c in Sources */,
|
||||
352988FA1AEF968C00FA7E2E /* platform_unix.c in Sources */,
|
||||
352988FC1AEF968C00FA7E2E /* stringlist.c in Sources */,
|
||||
352988F41AEF968C00FA7E2E /* keymanagement.c in Sources */,
|
||||
352988FB1AEF968C00FA7E2E /* sqlite3.c in Sources */,
|
||||
350F0ED31B4D642200D9964F /* PEPSession.m in Sources */,
|
||||
352988F31AEF968C00FA7E2E /* identity_list.c in Sources */,
|
||||
352988FF1AEF968C00FA7E2E /* trans_auto.c in Sources */,
|
||||
352988F11AEF968C00FA7E2E /* email.c in Sources */,
|
||||
352988F71AEF968C00FA7E2E /* mime.c in Sources */,
|
||||
352989001AEF968C00FA7E2E /* transport.c in Sources */,
|
||||
352988F81AEF968C00FA7E2E /* pEpEngine.c in Sources */,
|
||||
352988F51AEF968C00FA7E2E /* message_api.c in Sources */,
|
||||
350F0ED91B4E997300D9964F /* MCOAbstractMessage+PEPMessage.m in Sources */,
|
||||
352988FE1AEF968C00FA7E2E /* timestamp.c in Sources */,
|
||||
352988F01AEF968C00FA7E2E /* cryptotech.c in Sources */,
|
||||
352988EF1AEF968C00FA7E2E /* bloblist.c in Sources */,
|
||||
352988B01AEF964100FA7E2E /* PEPiOSAdapter.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
352988B11AEF964100FA7E2E /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXTargetDependency section */
|
||||
352988B81AEF964100FA7E2E /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = 352988A91AEF964100FA7E2E /* pEpiOSAdapter */;
|
||||
targetProxy = 352988B71AEF964100FA7E2E /* PBXContainerItemProxy */;
|
||||
};
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
352988BC1AEF964100FA7E2E /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
|
||||
MTL_ENABLE_DEBUG_INFO = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = iphoneos;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
352988BD1AEF964100FA7E2E /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
SDKROOT = iphoneos;
|
||||
VALIDATE_PRODUCT = YES;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
352988BF1AEF964100FA7E2E /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
OTHER_LDFLAGS = "-ObjC";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SKIP_INSTALL = YES;
|
||||
USER_HEADER_SEARCH_PATHS = "~/MailCore2/src";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
352988C01AEF964100FA7E2E /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
OTHER_LDFLAGS = "-ObjC";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SKIP_INSTALL = YES;
|
||||
USER_HEADER_SEARCH_PATHS = "~/MailCore2/src";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
352988C21AEF964100FA7E2E /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(SDKROOT)/Developer/Library/Frameworks",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
INFOPLIST_FILE = pEpiOSAdapterTests/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
352988C31AEF964100FA7E2E /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"$(SDKROOT)/Developer/Library/Frameworks",
|
||||
"$(inherited)",
|
||||
);
|
||||
INFOPLIST_FILE = pEpiOSAdapterTests/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
352988A51AEF964100FA7E2E /* Build configuration list for PBXProject "pEpiOSAdapter" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
352988BC1AEF964100FA7E2E /* Debug */,
|
||||
352988BD1AEF964100FA7E2E /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
352988BE1AEF964100FA7E2E /* Build configuration list for PBXNativeTarget "pEpiOSAdapter" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
352988BF1AEF964100FA7E2E /* Debug */,
|
||||
352988C01AEF964100FA7E2E /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
352988C11AEF964100FA7E2E /* Build configuration list for PBXNativeTarget "pEpiOSAdapterTests" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
352988C21AEF964100FA7E2E /* Debug */,
|
||||
352988C31AEF964100FA7E2E /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 352988A21AEF964100FA7E2E /* Project object */;
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "self:pEpiOSAdapter.xcodeproj">
|
||||
</FileRef>
|
||||
</Workspace>
|
BIN
pEpiOSAdapter.xcodeproj/project.xcworkspace/xcuserdata/vb.xcuserdatad/UserInterfaceState.xcuserstate
generated
Normal file
BIN
pEpiOSAdapter.xcodeproj/project.xcworkspace/xcuserdata/vb.xcuserdatad/UserInterfaceState.xcuserstate
generated
Normal file
Binary file not shown.
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges</key>
|
||||
<true/>
|
||||
<key>SnapshotAutomaticallyBeforeSignificantChanges</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
|
@ -0,0 +1,71 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Bucket
|
||||
type = "1"
|
||||
version = "2.0">
|
||||
<Breakpoints>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "pEpiOSAdapter/PEPSession.m"
|
||||
timestampString = "458063665.070881"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "32"
|
||||
endingLineNumber = "32"
|
||||
landmarkName = "-dealloc"
|
||||
landmarkType = "5">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "Yes"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "pEpiOSAdapter/PEPiOSAdapter.m"
|
||||
timestampString = "458136396.953772"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "11"
|
||||
endingLineNumber = "11"
|
||||
landmarkName = "@implementation PEPiOSAdapter"
|
||||
landmarkType = "3">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "pEpiOSAdapter/MCOAbstractMessage+PEPMessage.m"
|
||||
timestampString = "458137578.095499"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "14"
|
||||
endingLineNumber = "14"
|
||||
landmarkName = "@implementation MCOAbstractMessage(PEPMessage)"
|
||||
landmarkType = "3">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
<BreakpointProxy
|
||||
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
||||
<BreakpointContent
|
||||
shouldBeEnabled = "No"
|
||||
ignoreCount = "0"
|
||||
continueAfterRunningActions = "No"
|
||||
filePath = "pEpiOSAdapter/MCOAbstractMessage+PEPMessage.m"
|
||||
timestampString = "458140996.304142"
|
||||
startingColumnNumber = "9223372036854775807"
|
||||
endingColumnNumber = "9223372036854775807"
|
||||
startingLineNumber = "15"
|
||||
endingLineNumber = "15"
|
||||
landmarkName = "PEP_arrayFromStringlist()"
|
||||
landmarkType = "7">
|
||||
</BreakpointContent>
|
||||
</BreakpointProxy>
|
||||
</Breakpoints>
|
||||
</Bucket>
|
|
@ -0,0 +1,110 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0630"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "352988A91AEF964100FA7E2E"
|
||||
BuildableName = "libpEpiOSAdapter.a"
|
||||
BlueprintName = "pEpiOSAdapter"
|
||||
ReferencedContainer = "container:pEpiOSAdapter.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "NO"
|
||||
buildForArchiving = "NO"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "352988B41AEF964100FA7E2E"
|
||||
BuildableName = "pEpiOSAdapterTests.xctest"
|
||||
BlueprintName = "pEpiOSAdapterTests"
|
||||
ReferencedContainer = "container:pEpiOSAdapter.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
buildConfiguration = "Debug">
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "352988B41AEF964100FA7E2E"
|
||||
BuildableName = "pEpiOSAdapterTests.xctest"
|
||||
BlueprintName = "pEpiOSAdapterTests"
|
||||
ReferencedContainer = "container:pEpiOSAdapter.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "352988A91AEF964100FA7E2E"
|
||||
BuildableName = "libpEpiOSAdapter.a"
|
||||
BlueprintName = "pEpiOSAdapter"
|
||||
ReferencedContainer = "container:pEpiOSAdapter.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Debug"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "352988A91AEF964100FA7E2E"
|
||||
BuildableName = "libpEpiOSAdapter.a"
|
||||
BlueprintName = "pEpiOSAdapter"
|
||||
ReferencedContainer = "container:pEpiOSAdapter.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
buildConfiguration = "Release"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "352988A91AEF964100FA7E2E"
|
||||
BuildableName = "libpEpiOSAdapter.a"
|
||||
BlueprintName = "pEpiOSAdapter"
|
||||
ReferencedContainer = "container:pEpiOSAdapter.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>SchemeUserState</key>
|
||||
<dict>
|
||||
<key>pEpiOSAdapter.xcscheme</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>SuppressBuildableAutocreation</key>
|
||||
<dict>
|
||||
<key>352988A91AEF964100FA7E2E</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>352988B41AEF964100FA7E2E</key>
|
||||
<dict>
|
||||
<key>primary</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
|
@ -0,0 +1,21 @@
|
|||
//
|
||||
// MCOAbstractMessage+PEPMessage.h
|
||||
// pEpiOSAdapter
|
||||
//
|
||||
// Created by Volker Birk on 09.07.15.
|
||||
// Copyright (c) 2015 p≡p. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "objc/MCObjC.h"
|
||||
#include "message_api.h"
|
||||
|
||||
pEp_identity *PEP_identityToStruct(NSDictionary *dict);
|
||||
void PEP_identityFromStruct(NSMutableDictionary *dict, pEp_identity *ident);
|
||||
|
||||
@interface MCOAbstractMessage (PEPMessage)
|
||||
|
||||
- (void)PEP_fromStruct:(message *)msg;
|
||||
- (message *)PEP_toStruct;
|
||||
|
||||
@end
|
|
@ -0,0 +1,142 @@
|
|||
//
|
||||
// MCOAbstractMessage+PEPMessage.m
|
||||
// pEpiOSAdapter
|
||||
//
|
||||
// Created by Volker Birk on 09.07.15.
|
||||
// Copyright (c) 2015 p≡p. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MCOAbstractMessage+PEPMessage.h"
|
||||
|
||||
NSArray *PEP_arrayFromStringlist(stringlist_t *sl)
|
||||
{
|
||||
NSMutableArray *array = [NSMutableArray array];
|
||||
|
||||
for (stringlist_t *_sl = sl; _sl && _sl->value; _sl = _sl->next) {
|
||||
[array addObject:[NSString stringWithUTF8String:_sl->value]];
|
||||
}
|
||||
|
||||
return array;
|
||||
}
|
||||
|
||||
stringlist_t *PEP_arrayToStringlist(NSArray *array)
|
||||
{
|
||||
stringlist_t *sl = new_stringlist(NULL);
|
||||
if (!sl)
|
||||
return NULL;
|
||||
|
||||
stringlist_t *_sl = sl;
|
||||
for (NSString *str in array) {
|
||||
_sl = stringlist_add(_sl, [[str precomposedStringWithCanonicalMapping] UTF8String]);
|
||||
}
|
||||
|
||||
return sl;
|
||||
}
|
||||
|
||||
void PEP_identityFromStruct(NSMutableDictionary *dict, pEp_identity *ident)
|
||||
{
|
||||
if (ident) {
|
||||
if (ident->address && ident->address[0])
|
||||
[dict setObject:[NSString stringWithUTF8String:ident->address] forKey:@"address"];
|
||||
|
||||
if (ident->fpr && ident->fpr[0])
|
||||
[dict setObject:[NSString stringWithUTF8String:ident->fpr] forKey:@"fpr"];
|
||||
|
||||
if (ident->user_id && ident->user_id[0])
|
||||
[dict setObject:[NSString stringWithUTF8String:ident->user_id] forKey:@"user_id"];
|
||||
|
||||
if (ident->username && ident->username[0])
|
||||
[dict setObject:[NSString stringWithUTF8String:ident->username] forKey:@"username"];
|
||||
|
||||
if (ident->lang[0])
|
||||
[dict setObject:[NSString stringWithUTF8String:ident->lang] forKey:@"lang"];
|
||||
|
||||
[dict setObject:[NSNumber numberWithInt: ident->comm_type] forKey:@"comm_type"];
|
||||
|
||||
if (ident->me)
|
||||
[dict setObject:@YES forKey:@"me"];
|
||||
else
|
||||
[dict setObject:@NO forKey:@"me"];
|
||||
}
|
||||
}
|
||||
|
||||
pEp_identity *PEP_identityToStruct(NSDictionary *dict)
|
||||
{
|
||||
pEp_identity *ident = new_identity(NULL, NULL, NULL, NULL);
|
||||
|
||||
if (dict && ident) {
|
||||
if ([dict objectForKey:@"address"])
|
||||
ident->address = strdup(
|
||||
[[[dict objectForKey:@"address"] precomposedStringWithCanonicalMapping] UTF8String]
|
||||
);
|
||||
|
||||
if ([dict objectForKey:@"fpr"])
|
||||
ident->fpr = strdup(
|
||||
[[[dict objectForKey:@"fpr"] precomposedStringWithCanonicalMapping] UTF8String]
|
||||
);
|
||||
|
||||
if ([dict objectForKey:@"user_id"])
|
||||
ident->user_id = strdup(
|
||||
[[[dict objectForKey:@"user_id"] precomposedStringWithCanonicalMapping] UTF8String]
|
||||
);
|
||||
|
||||
if ([dict objectForKey:@"username"])
|
||||
ident->username = strdup(
|
||||
[[[dict objectForKey:@"username"] precomposedStringWithCanonicalMapping] UTF8String]
|
||||
);
|
||||
|
||||
if ([dict objectForKey:@"lang"])
|
||||
strncpy(ident->fpr, [[[dict objectForKey:@"lang"] precomposedStringWithCanonicalMapping] UTF8String], 2);
|
||||
|
||||
if ([[dict objectForKey:@"me"] isEqual: @YES])
|
||||
ident->me = true;
|
||||
|
||||
if ([dict objectForKey:@"comm_type"])
|
||||
ident->comm_type = [[dict objectForKey:@"comm_type"] intValue];
|
||||
}
|
||||
|
||||
return ident;
|
||||
}
|
||||
|
||||
NSArray *PEP_arrayFromIdentityList(identity_list *il)
|
||||
{
|
||||
NSMutableArray *array = [NSMutableArray array];
|
||||
|
||||
for (identity_list *_il = il; _il && _il->ident; _il = _il->next) {
|
||||
NSMutableDictionary * dict = [NSMutableDictionary dictionary];
|
||||
PEP_identityFromStruct(dict, il->ident);
|
||||
[array addObject:dict];
|
||||
}
|
||||
|
||||
return array;
|
||||
}
|
||||
|
||||
identity_list *PEP_arrayToIdentityList(NSArray *array)
|
||||
{
|
||||
identity_list *il = new_identity_list(NULL);
|
||||
if (!il)
|
||||
return NULL;
|
||||
|
||||
identity_list *_il = il;
|
||||
for (NSDictionary *dict in array) {
|
||||
_il = identity_list_add(_il, PEP_identityToStruct(dict));
|
||||
}
|
||||
|
||||
return il;
|
||||
}
|
||||
|
||||
@class MCOAbstractMessage;
|
||||
|
||||
@implementation MCOAbstractMessage (PEPMessage)
|
||||
|
||||
- (void)PEP_fromStruct:(message *)msg
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
- (message *)PEP_toStruct
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,65 @@
|
|||
//
|
||||
// PEPSession.h
|
||||
// pEpiOSAdapter
|
||||
//
|
||||
// Created by Volker Birk on 08.07.15.
|
||||
// Copyright (c) 2015 p≡p. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "PEPiOSAdapter.h"
|
||||
#import "objc/MCObjC.h"
|
||||
|
||||
@interface PEPSession : NSObject
|
||||
|
||||
// creates a PEPSession
|
||||
// there must be one PEPSession per thread
|
||||
|
||||
+ (PEPSession *)session;
|
||||
|
||||
// decrypt a message
|
||||
- (PEP_color)decryptMessage:(MCOAbstractMessage *)src dest:(MCOAbstractMessage *)dst keys:(NSArray **)keys;
|
||||
|
||||
// encrypt a message
|
||||
- (void)encryptMessage:(MCOAbstractMessage *)src extra:(NSArray *)keys dest:(MCOAbstractMessage *)dst;
|
||||
|
||||
// message is to be sent
|
||||
- (PEP_color)outgoingMessageColor:(MCOAbstractMessage *)msg;
|
||||
|
||||
// get trustwords for a fingerprint
|
||||
- (NSArray *)trustwords:(NSString *)fpr forLanguage:(NSString *)languageID shortened:(BOOL)shortened;
|
||||
|
||||
/*
|
||||
|
||||
An identity is a NSMutableDictionary mapping a field name as NSString to different values.
|
||||
An identity can have the following fields (all other keys are ignored).
|
||||
It is not necessary to supply all fields; missing fields are supplemented by p≡p engine.
|
||||
|
||||
@"username": real name or nick name (if pseudonymous) of identity
|
||||
@"address": URI or SMTP address
|
||||
@"user_id": persistent unique ID for identity
|
||||
@"lang": preferred languageID for communication with this ID (default: @"en")
|
||||
@"fpr": fingerprint of key to use for communication with this ID
|
||||
@"comm_type": communication type code (usually not needed)
|
||||
@"me": YES if this is an identity of our user, NO if it is one of a communication partner (default: NO)
|
||||
|
||||
As an example:
|
||||
|
||||
User has a mailbox. The mail address is "Dipul Khatri <dipul@inboxcube.com>". Then this would be:
|
||||
|
||||
NSMutableDictionary *ident = [NSMutableDictionary dictionaryWithObjectsAndKeys:
|
||||
@"Dipul Khatri", @"username", @"dipul@inboxcube.com", @"address",
|
||||
@"23", @"user_id", nil];
|
||||
|
||||
*/
|
||||
|
||||
// supply an account used by our user himself
|
||||
// the identity is supplemented with the missing parts
|
||||
|
||||
- (void)mySelf:(NSMutableDictionary *)identity;
|
||||
|
||||
// supplement missing information for an arbitrary identity (used for communication partners)
|
||||
|
||||
- (void)updateIdentity:(NSMutableDictionary *)identity;
|
||||
|
||||
@end
|
|
@ -0,0 +1,80 @@
|
|||
//
|
||||
// PEPSession.m
|
||||
// pEpiOSAdapter
|
||||
//
|
||||
// Created by Volker Birk on 08.07.15.
|
||||
// Copyright (c) 2015 p≡p. All rights reserved.
|
||||
//
|
||||
|
||||
#import "PEPSession.h"
|
||||
#import "MCOAbstractMessage+PEPMessage.h"
|
||||
|
||||
@implementation PEPSession
|
||||
|
||||
@class MCOAbstractMessage;
|
||||
|
||||
PEP_SESSION _session;
|
||||
|
||||
+ (PEPSession *)session
|
||||
{
|
||||
PEPSession *_session = [[PEPSession alloc] init];
|
||||
return _session;
|
||||
}
|
||||
|
||||
- (id)init
|
||||
{
|
||||
PEP_STATUS status = init(&_session);
|
||||
if (status != PEP_STATUS_OK) {
|
||||
NSException* myException = [NSException
|
||||
exceptionWithName:@"PEPInitError"
|
||||
reason:@"Cannot initialize pEp engine"
|
||||
userInfo:[NSDictionary dictionaryWithObject:[NSNumber numberWithInteger: status] forKey: @"status"]];
|
||||
|
||||
@throw myException;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
release(_session);
|
||||
}
|
||||
|
||||
- (PEP_color)decryptMessage:(MCOAbstractMessage *)src dest:(MCOAbstractMessage *)dst keys:(NSArray **)keys
|
||||
{
|
||||
|
||||
return PEP_rating_undefined;
|
||||
}
|
||||
|
||||
- (void)encryptMessage:(MCOAbstractMessage *)src extra:(NSArray *)keys dest:(MCOAbstractMessage *)dst
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
- (PEP_color)outgoingMessageColor:(MCOAbstractMessage *)msg
|
||||
{
|
||||
|
||||
return PEP_rating_undefined;
|
||||
}
|
||||
|
||||
- (NSArray *)trustwords:(NSString *)fpr forLanguage:(NSString *)languageID shortened:(BOOL)shortened
|
||||
{
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void)mySelf:(NSMutableDictionary *)identity
|
||||
{
|
||||
pEp_identity *ident = PEP_identityToStruct(identity);
|
||||
update_identity(_session, ident);
|
||||
PEP_identityFromStruct(identity, ident);
|
||||
}
|
||||
|
||||
- (void)updateIdentity:(NSMutableDictionary *)identity
|
||||
{
|
||||
pEp_identity *ident = PEP_identityToStruct(identity);
|
||||
update_identity(_session, ident);
|
||||
PEP_identityFromStruct(identity, ident);
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,21 @@
|
|||
//
|
||||
// pEpiOSAdapter.h
|
||||
// pEpiOSAdapter
|
||||
//
|
||||
// Created by Volker Birk on 28.04.15.
|
||||
// Copyright (c) 2015 p≡p. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "PEPSession.h"
|
||||
#include "message_api.h"
|
||||
|
||||
@interface PEPiOSAdapter : NSObject
|
||||
|
||||
// start or stop keyserver lookup
|
||||
// there is only one keyserver lookup thread
|
||||
|
||||
+ (void)startKeyserverLookup;
|
||||
+ (void)stopKeyserverLookup;
|
||||
|
||||
@end
|
|
@ -0,0 +1,23 @@
|
|||
//
|
||||
// pEpiOSAdapter.m
|
||||
// pEpiOSAdapter
|
||||
//
|
||||
// Created by Volker Birk on 28.04.15.
|
||||
// Copyright (c) 2015 p≡p. All rights reserved.
|
||||
//
|
||||
|
||||
#import "PEPiOSAdapter.h"
|
||||
|
||||
@implementation PEPiOSAdapter
|
||||
|
||||
+ (void)startKeyserverLookup
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
+ (void)stopKeyserverLookup
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@end
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>pEp.$(PRODUCT_NAME:rfc1034identifier)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$(PRODUCT_NAME)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>BNDL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
Loading…
Reference in New Issue