//
//  GTOQuestionManager.h
//  total
//
//  Created by freecui on 15/10/15.
//  Copyright (c) 2015年 free. All rights reserved.
//

#import "IBTObject.h"
#import "IBTAudioRecorder.h"
#import "IBTAVAudioPlayWrapper.h"

@class IBTImagePicker, GTOPioneering,GTOLicence, ICRStoreResult, GTOStore;
@interface GTOQuestionManager : IBTObject
@property (assign, nonatomic) BOOL m_bIsHelpViewAttachHide;
@property (strong, nonatomic) NSString *m_storeID;//油站的id
@property (strong, nonatomic) NSString *m_uuid;//模板id


@property (strong, nonatomic) GTOStore *m_store;

@property (strong, nonatomic) IBTImagePicker *m_imagePicker;
@property (strong, nonatomic) NSArray *m_vcs;


/////
@property (strong, nonatomic) GTOPioneering *d_pioneering;
@property (strong, nonatomic) GTOLicence *d_licence;
@property (strong, nonatomic) NSString *d_category;//问题的区域分类
@property (assign, nonatomic) NSUInteger d_maxProblemLineno;//回答到的最大问题的题号
@property (strong, nonatomic) NSArray *d_vcs;//所以问题的VC
@property (assign, nonatomic) NSInteger d_problemIndex;//在结果页中点击的题目题号

// Audio
@property (strong, nonatomic) IBTAudioRecorder *m_oAudioRecorder;
@property (assign, nonatomic) CGFloat m_fRecoderTime;
@property (strong, nonatomic) IBTAVAudioPlayWrapper *m_oAudioPlayer;

+ (instancetype)sharedManager;

- (void)openQuestionVCFromViewControler:(UIViewController *)VC withPioneering:(GTOPioneering *)pioneering;
- (void)openQuestionVCFromViewControler:(UIViewController *)VC
                                Licence:(GTOLicence *)licence
                             Pioneering: (GTOPioneering *)pioneering
                              IsNotEdit: (BOOL)isNotEdit
                           ProblemIndex: (NSInteger) problemIndex;

- (void)openQuestionVCFromViewControler:(UIViewController *)VC
                            Licence:(GTOLicence *)licence
                             Pioneering: (GTOPioneering *)pioneering;

- (UIViewController *)questionViewControlAtIndex:(NSUInteger)uiIndex;

//- (ICRStoreResult *)getStoreResult;

@end