pEp macOS Desktop adapter
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.
 
 
 
 
Volker Birk 3eb0fdd9ec remove menu extra on demand 2 years ago
pEpMacOSAdapter 2h 2 years ago
pEpMacOSAdapter.xcodeproj Xcode, yes, Xcode… 2 years ago
pEpNotifications remove menu extra on demand 2 years ago
pEpUpdater Test closure 2 years ago
.gitignore connect 2 years ago
LICENSE Initial commit 2 years ago
README.md macOS 10.8 compat 2 years ago

README.md

p≡p macOS Desktop adapter

This adapter will sport three main features:

  • p≡p API via Apple XPC
  • p≡p API via p≡p JSON adapter
  • p≡p Update Client

Deployment

PER_MACHINE_DIRECTORY="/Library/Application Support/pEp"
PER_USER_DIRECTORY=$HOME/.pEp

This software is supporting macOS 10.8 and later.

Build

  • set Header Search Paths and Library Search Paths to include and use Boost static libraries

Implementation

The implementation is split in to parts:

  1. the working code is in pEpMacOSAdapter
  2. the User Interface is in pEpNotifications

pEpMacOSAdapterProtocol, implemented with XPC

 @protocol pEpMacOSAdapterProtocol
 - (void)subscribeForUpdate:(void (^)(NSString *))downloadArrived;
 - (void)unsubscribeForUpdate;
 - (void)updateNow;
 @end

This protocol is provided to the User Interface to get informed when a download was happening. When a subscription is active updateNow() can be used to search for immediate updates.