2014-08-01 07:53:58 +02:00
|
|
|
//
|
|
|
|
// PushManager.h
|
|
|
|
// Signal
|
|
|
|
//
|
|
|
|
// Created by Frederic Jacobs on 31/07/14.
|
|
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
@interface PushManager : NSObject
|
|
|
|
|
|
|
|
+ (instancetype)sharedManager;
|
|
|
|
|
|
|
|
- (void)verifyPushActivated;
|
|
|
|
|
|
|
|
- (void)askForPushRegistration;
|
|
|
|
|
2014-08-02 13:57:50 +02:00
|
|
|
- (void)askForPushRegistrationWithSuccess:(void (^)())success failure:(void (^)())failure;
|
|
|
|
|
2014-08-01 07:53:58 +02:00
|
|
|
- (void)registerForPushWithToken:(NSData*)token;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|