-
Notifications
You must be signed in to change notification settings - Fork 11
/
AppsFlyerXAppleHelper.h
44 lines (30 loc) · 1.33 KB
/
AppsFlyerXAppleHelper.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// AppsFlyerXAppleHelper.h
// AppsFlyerCocos2dX
//
// Created by Andrey Gagan on 10/5/17.
// AppsFlyer
#ifndef AppsFlyerXAppleHelper_h
#define AppsFlyerXAppleHelper_h
#include "cocos2d.h"
#include <iostream>
#include "AppsFlyerXDeepLinkResult.h"
#import "libAppsFlyer/AppsFlyerLib.h"
#import <UIKit/UIKit.h>
//#import <UIKit/UIKit.h>
using namespace cocos2d;
class AppsFlyerXAppleHelper {
public:
static ValueMap nsDictionary2ValueMap(NSDictionary *dic);
static void nsDictionary2ValueMap(NSDictionary *dic, ValueMap &vm);
static ValueVector nsArray2ValueVector(NSArray *array);
static void nsArray2ValueVector(NSArray *array, ValueVector &vv);
static NSDictionary *valueMap2nsDictionary(ValueMap &vm);
static NSArray *valueVector2nsArray(ValueVector &vv);
static ValueMap deepLinkResult2ValueMap(AppsFlyerDeepLinkResult *result);
static void deepLinkResult2ValueMap(AppsFlyerDeepLinkResult *result, ValueMap &vm);
static AppsFlyerXDeepLinkResult deepLinkResult2XDeepLinkResult(AppsFlyerDeepLinkResult *result);
static void deepLinkResult2XDeepLinkResult(AppsFlyerDeepLinkResult *result, AppsFlyerXDeepLinkResult &xresult);
static AppsFlyerLinkGenerator* valueMap2LinkGenerator(ValueMap vm, AppsFlyerLinkGenerator *generator);
};
#endif /* AppsFlyerXAppleHelper_h */