24 #ifndef __ActiveScriptState__ 25 #define __ActiveScriptState__ 27 #include "IAMSPManager.h" 28 #include "IApplication.h" 29 #include "IDialogMgr.h" 30 #include "IScriptEngine.h" 33 #include "ProgressBar.h" 41 ActiveScriptState(
IScriptEngine* eng) : fEng(eng), fShowAlerts(kFalse), fSuppressProgressBars(nil), fSuppressDialogs(kFalse), fShowWGAuthenticationUI(kFalse)
43 ASSERT_MSG( fEng != nil,
"ActiveScriptState is missing IScriptEngine" ) ;
50 ISession* session = GetExecutionContextSession();
55 fSuppressDialogs = dialogMgr->GetSuppressDialogs();
58 if ( iAMSPManager != nil )
64 if (dialogMgr && !fSuppressDialogs)
69 if ( iAMSPManager != nil )
85 if ( iAMSPManager != nil )
91 if (fSuppressProgressBars)
92 delete fSuppressProgressBars;
105 bool16 fSuppressDialogs ;
106 bool16 fShowWGAuthenticationUI;