//
//  ICRQuestionManager.h
//  XFFruit
//
//  Created by Xummer on 15/6/2.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

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

@class IBTImagePicker, ICRPatrolPlan, ICRStoreResult, ICRStore;
@interface ICRQuestionManager : IBTObject
@property (assign, nonatomic) BOOL m_bIsHelpViewAttachHide;
@property (strong, nonatomic) NSString * m_storeID;
@property (strong, nonatomic) ICRStore *m_store;
@property (strong, nonatomic) ICRPatrolPlan *m_patrolPlan;
@property (strong, nonatomic) IBTImagePicker *m_imagePicker;

// 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 withPlan:(ICRPatrolPlan *)plan;

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

- (ICRStoreResult *)getStoreResult;

@end
