//
//  PushNaraFramework.h
//  PushNaraFramework
//
//  Created by Hohak Song on 2016. 12. 13..
//  Copyright © 2016년 PushNara. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <PushNaraFramework/HttpPushAsyncMan.h>




#define Version 1
@class HttpAsyncMan;
@interface PushNara : NSObject<HttpAsyncDelegate>
{
    NSString* mPushNaraProjectID;
    NSString* mUserID;
    NSString* mGroupID;
    NSString* mPushToken;
    NSString* mURL;
    HttpPushAsyncMan* mPushMan;
}

+ (void) InitPushNara:(NSString*)sProjectID;
+ (void) UpdateUserID:(NSString*)sUserID Result:(PushResult)Result;
+ (void) UpdateGroupID:(NSString*)sGroupID Result:(PushResult)Result;
+ (void) UpdateToken:(NSData*)PushToken Result:(PushResult)Result;
+ (void) GetPushSettings:(PushResult)Result;
+ (void) EnablePublicPush:(BOOL)bEnable Result:(PushResult)Result;
+ (void) EnablePrivatePush:(BOOL)bEnable Result:(PushResult)Result;
+ (NSDictionary*) GetSettings:(NSString*)sData;
//- (instancetype)initWidthPushNaraProjectID:(NSString*)sProjectID;
//-(void) UpdateUserID:(NSString*)sUserID Result:(PushResult)Result;
//-(void) UpdateGroupID:(NSString*)sGroupID Result:(PushResult)Result;
//-(void) UpdateToken:(NSData*)PushToken Result:(PushResult)Result;
//-(void) GetPushSettings:(PushResult)Result;
//-(void) EnablePublicPush:(BOOL)bEnable Result:(PushResult)Result;
//-(void) EnablePrivatePush:(BOOL)bEnable Result:(PushResult)Result;
@end
