9 #import <Foundation/Foundation.h> 10 #import <CoreLocation/CoreLocation.h> 15 #import <MapKit/MapKit.h> 34 - (void)addBackgroundCoveringViewAfterPrompt:(UIView *)ipView
35 belowSubview:(UIView *) ipSiblingView;
40 - (void)onPromptScreenClosed:(
int)status;
92 @interface PromptHelper : NSObject <ServiceHandler,
CalendarDelegate, CLLocationManagerDelegate, MKMapViewDelegate, BarcodeScannerControllerDelegate, KeypadInputControllerDelegate> {
125 - (id)initWithPrompts:(
Prompts*)prompts;
127 - (void) setPrompts: (
Prompts*)p;
131 - (void) displayElementListScreen: (
MSIObjectInfo*) promptAttribute parentViewController: (UIViewController*) parent;
136 - (void) displayCustomPromptScreenWithParentViewController: (UIViewController*) parent;
138 - (void) storePersonalization:(NSMutableArray*)elements dismissPreviousView:(
BOOL)iDismiss;
143 - (void) validateCustomSaveAndDismissPreviousView: (
BOOL) dismiss;
151 - (void) displayPrompt: (
BOOL) animate;
154 - (
BOOL)validateConstantLocationPromptAnswers;
155 - (void)barcodeScannerDone:(NSString *)newSelection;
156 - (void) elementSelectionDone;
157 - (void) elementSelectionCancelled;
158 - (void)displayPromptAtIndex:(NSInteger)index;
159 - (void)savePromptAnswers;
160 - (void)saveAnswersAndDisplayReport;
161 - (
BOOL)didElementsChange:(NSMutableArray *)elements;
162 - (void)saveExistingPromptAnswers;
163 - (
BOOL)promptAnswersChanged;
164 - (void)saveExistingConstantPromptAnswers;
165 - (
BOOL)constantPromptAnswersChanged;
166 - (void)locationUpdated:(CLLocation *)newLocation;
167 - (NSArray *)locationFromConstantPrompts;
170 - (void)cancelPrompts;
171 - (void)doneSummaryPrompts;
172 - (void)cancelModalPrompts;
174 - (void)displayPromptsFromCache:(
Prompts *)data;
175 - (void)completeSaveAndDisplay;
176 - (void)cancelRunningThread;
177 + (void)setBarcodeXmlValue:(NSString*)value prompt:(
MSIConstantPrompt*)curPrompt;
179 - (void)displayWaitView;
180 - (void)hideWaitView;
182 - (void)calendarCanceled;
183 - (void)expressionEditingDone;
187 - (void)setCurrentPrompt:(
MSIPrompt*)prompt;
188 - (NSArray *)getCachedPrompts;
190 @property BOOL multiSelect;
191 @property BOOL searchRequired;
193 @property (readonly) NSInteger currentPromptIndex;
195 @property (nonatomic, weak) id<PromptHelperDelegate> delegate;
197 @property (nonatomic, strong) UIViewController *currentController;
198 @property BOOL animateInitially;
199 @property BOOL anyPromptAnswerChanged;
200 @property (readonly) PromptsService* promptsService;
201 @property (nonatomic, strong) NSThread *currentThread;
202 @property BOOL isReprompt;
203 @property BOOL isLinkDrill;
204 @property (nonatomic, copy) NSDictionary* answerModes;
205 @property BOOL containsLocationPrompt;
206 @property (readonly)
BOOL currentlyAnsweringLocPrompts;
207 @property (readonly) NSInteger currentLocErrorCode;
208 @property (readonly)
BOOL isAutoDisplayDetails;
209 @property (nonatomic)
ThemeType themetype;
210 @property (nonatomic, copy) UIColor* accentColor;
211 @property BOOL isBackgroundNavigationBarHidden;
BOOL multiSelect
Definition: PromptHelper.h:97
signed char BOOL
Definition: PDCwtypes.h:101
void onPromptScreenPopsUp()
Definition: MSIPrompt.h:34
Definition: PromptHelper.h:92
MKMapView * locationHelperMap
Definition: PromptHelper.h:112
Definition: SelectedElementListController.h:13
Definition: MSIReportDisplayInfo.h:91
enum _EnumPromptAnswerStatus EnumPromptAnswerStatus
Definition: MSIObjectInfo.h:22
UIViewController * viewController()
Definition: PromptHelper.h:20
MSIReportDisplayInfo * report
Definition: PromptHelper.h:93
Definition: PromptHelper.h:23
id< PromptHelperDelegate > __weak delegate
Definition: PromptHelper.h:99
Definition: PromptSelectorController.h:20
Definition: PromptHelper.h:21
Definition: PromptHelper.h:19
BOOL anyPromptAnswerChanged
Definition: PromptHelper.h:102
BOOL isAutoDisplayDetails
Definition: PromptHelper.h:119
NSMutableArray * prevPromptAnswers
Definition: PromptHelper.h:103
NSInteger currentPromptIndex
Definition: PromptHelper.h:94
Definition: PromptHelper.h:22
Definition: MSIConstantPrompt.h:17
Definition: MSIProjectConfiguration.h:20
BOOL isReprompt
Definition: PromptHelper.h:108
EnumPromptAnswerStatus currentPromptAnswerStatus
Definition: PromptHelper.h:117
Definition: MIPromptViewController.h:20
MIPromptViewController * mpPromptViewController
Definition: PromptHelper.h:101
Definition: MSICalendarViewController.h:46
BOOL isLinkDrill
Definition: PromptHelper.h:109
PromptSelectorController * currentSelectorController
Definition: PromptHelper.h:116
ThemeType themetype
Definition: PromptHelper.h:120
UIColor * accentColor
Definition: PromptHelper.h:122
BOOL animateInitially
Definition: PromptHelper.h:106
NSInteger currentLocErrorCode
Definition: PromptHelper.h:113
Prompts * promptCache
Definition: PromptHelper.h:96
Definition: PromptHelper.h:30
NSThread * currentThread
Definition: PromptHelper.h:107
BOOL searchRequired
Definition: PromptHelper.h:98
_EnumPromptAnswerStatus
Definition: PromptHelper.h:17
Definition: ElementListController.h:23
MSIObjectInfo * attribute
Definition: PromptHelper.h:95
void willPopViewController()
BOOL isBackgroundNavigationBarHidden
Definition: PromptHelper.h:121
enum _ThemeType ThemeType
CLLocationManager * locationManager
Definition: PromptHelper.h:111
NSMutableArray * prevConstantPromptAnswers
Definition: PromptHelper.h:104
UIView * backgroundCoveringView
Definition: PromptHelper.h:118
NSDictionary * answerModes
Definition: PromptHelper.h:110
BOOL currentlyAnsweringLocPrompts
Definition: PromptHelper.h:114
UIViewController * currentController
Definition: PromptHelper.h:100
PromptsService * promptsService
Definition: PromptHelper.h:105
BOOL containsLocationPrompt
Definition: PromptHelper.h:115