Re-order files

pull/55/head
Niels Andriesse 6 years ago
parent 0004432e0c
commit 374bcbc997

@ -1,4 +1,6 @@
// TODO: Match Android design
@objc(LKP2PAPI) @objc(LKP2PAPI)
public class LokiP2PAPI : NSObject { public class LokiP2PAPI : NSObject {
private static let storage = OWSPrimaryStorage.shared() private static let storage = OWSPrimaryStorage.shared()

@ -1,7 +1,12 @@
import PromiseKit import PromiseKit
public extension LokiAPI { @objc(LKStorageAPI)
public final class LokiStorageAPI : NSObject {
// MARK: Lifecycle
override private init() { }
// MARK: Public API
public static func addSlaveAccount(with hexEncodedPublicKey: String) -> Promise<Void> { public static func addSlaveAccount(with hexEncodedPublicKey: String) -> Promise<Void> {
// Adds the given slave account to the user's device mapping on the server // Adds the given slave account to the user's device mapping on the server
notImplemented() notImplemented()
Loading…
Cancel
Save