//
//  AppsPanelSDKV3.h
//  AppsPanelSDKV3
//
//  Created by Allan bouvard on 01/04/2014.
//  Copyright (c) 2014 Apps-Panel. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef enum {
	APLogTypeNone,
    APLogTypeLight,
    APLogTypeWS,
	APLogTypeFull,
} APLogType;

@interface AppsPanel : NSObject

@property (nonatomic, retain) NSString	*appName, *appKey, *appKey_base64, *deviceUDID_base64, *appVersion_base64;

//Singleton
+ (id) sharedInstance;
+ (void)setAPControllerLogType:(APLogType)logType;

//Pushs
- (void)registerWithDeviceToken:(NSData *)adeviceToken andApp:(UIApplication *)app;
- (void)checkForNotificationsAtLaunching: (NSDictionary *)launchOptions;
- (void)didReceiveRemoteNotificationAPPSPANEL:(NSDictionary *)userInfo;

//Pub
+ (void)desactivePubOnLaunching:(BOOL)value;
+ (void)showAd;

//Stats
+ (void)registerActionInAppsPanel:(NSString *)nameAction;

@end