//
|
// GHWParser.h
|
// test
|
//
|
// Created by wuyx on 16/3/3.
|
// Copyright © 2016年 GHW. All rights reserved.
|
//
|
|
#import <Foundation/Foundation.h>
|
#import "WAComponent.h"
|
@interface WASdkConfigParser : NSObject<NSXMLParserDelegate>
|
@property(nonatomic,copy)NSMutableArray* comps;
|
@property(nonatomic,copy)NSMutableArray* userComps;//用户模块
|
@property(nonatomic,copy)NSMutableArray* payComps;//支付
|
@property(nonatomic,copy)NSMutableArray* trackComps;//数据收集模块
|
@property(nonatomic,copy)NSMutableArray* socialComps;//社交模块
|
@property(nonatomic,copy)NSMutableArray* apwComps;//应用墙模块
|
@property(nonatomic,copy)NSMutableArray* coreComps;//公共模块
|
@property(nonatomic,copy)NSMutableArray* hupComps;//热更新模块
|
@property(nonatomic,copy)NSMutableArray* pushComps;//消息推送模块
|
@property(nonatomic,copy)NSMutableArray* adComps;//广告模块
|
@property(nonatomic,copy)NSMutableArray* cscComps;//客服系统模块
|
@property(nonatomic,copy)NSMutableArray* adMobComps;//admob模块
|
|
@property(nonatomic,copy)NSString* ver;
|
-(void)start;
|
-(void)print;
|
+(instancetype)shareInstance;
|
+(NSString*)getVer;
|
+(NSMutableArray *)getAllComps;
|
+(NSMutableArray*)getUserComps;
|
+(NSMutableArray*)getPayComps;
|
+(NSMutableArray*)getTrackComps;
|
+(NSMutableArray*)getSocialComps;
|
+(NSMutableArray*)getApwComps;
|
+(NSMutableArray*)getCoreComps;
|
+(NSMutableArray*)getHupComps;
|
+(NSMutableArray*)getPushComps;
|
+(NSMutableArray*)getAdComps;
|
+(NSMutableArray*)getCscComps;
|
+(NSMutableArray*)getAdMobComps;
|
|
//判断模块是否存在
|
+(BOOL)isExistWithModule:(NSString*)module;
|
//判断某个模块的某个渠道是否存在
|
+(BOOL)isExistWithPlatform:(NSString*)platform module:(NSString*)module;
|
@end
|