You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

61 lines
1.0 KiB

//
// pEpiOSAdapter.h
// pEpiOSAdapter
//
// Created by Volker Birk on 28.04.15.
// Copyright (c) 2015 p≡p. All rights reserved.
//
#import <Foundation/Foundation.h>
#include "message_api.h"
#include "sync_app.h"
@protocol PEPKeyManagementDelegate <NSObject>
- (void)identityUpdated:(id)identity;
@end
@protocol PEPSyncDelegate <NSObject>
- (PEP_STATUS)notifyHandshakeWithSignal:(sync_handshake_signal)signal me:(id)me partner:(id)partner;
- (PEP_STATUS)sendMessage:(id)msg;
@end
@interface PEPObjCAdapter : NSObject
/**
The HOME URL, where all pEp related files will be stored.
*/
+ (NSURL *)homeURL;
/**
Start keyserver lookup.
- Note: There is only one keyserver lookup thread
*/
+ (void)startKeyserverLookup;
/**
Stop keyserver lookup.
*/
+ (void)stopKeyserverLookup;
+ (void)setupTrustWordsDB;
+ (void)setupTrustWordsDB:(NSBundle *)rootBundle;
/**
Start Sync.
- Note: There is only one Sync session and thread
*/
+ (void)startSync:(id <PEPSyncDelegate>)delegate;
/**
Stop Sync.
*/
+ (void)stopSync;
@end