36class VPN_VPNAPI ConnectPromptInfoBase
42 unsigned int countPromptEntry()
const;
44 const tstring &getMessage()
const;
46 const std::list<tstring> &getListPromptNames(
47 std::list<tstring> &listPromptNames)
const;
51 const std::list<PromptEntry *> &getListPromptEntry()
const;
53 bool hasAuthenticationError()
const;
55 const tstring &getSubmitButtonName()
const;
57 bool hasEnrollmentCA()
const;
59 void setUseEnrollmentCA(
bool bUseEnrollmentCA);
67 void setSubmitButtonName(
const tstring &buttonName);
71 bool isCanceled()
const;
73 void setCanceled(
bool bIsCanceled);
76 UserResponseError getResponseError()
const;
78 void setResponseError(UserResponseError err);
80 void setMessage(
const tstring& tstrMessage);
82 void setAuthenticationError(
int iAuthError);
83 int getAuthenticationError()
const;
85 void setAuthenticationErrorMessage(
const tstring &authErrorMessage);
86 tstring getAuthenticationErrorMessage()
const;
93 void removeMatchingPromptEntry(
PromptType promptType);
94 void clearPasswordData();
96 void setHasEnrollmentCA(
bool bHasEnrollmentCA);
98 bool useEnrollmentCA()
const;
103 void setAgentRequest(
bool agentRequest);
105 bool isAgentRequest()
const;
107 bool isAutoSubmit()
const;
108 void setAutoSubmit(
bool bIsAutoSubmit);
114 bool setTunnelGroup(
const tstring &group);
126 void setButtonState(UIControlStateType state) {me_buttonState = state;};
127 UIControlStateType getButtonState() {
return me_buttonState;};
133 ConnectPromptInfoBase(
tstring defaultSubmitButtonName);
134 explicit ConnectPromptInfoBase(
const ConnectPromptInfoBase ©Ctor);
135 ConnectPromptInfoBase& operator=(
const ConnectPromptInfoBase &inst);
136 virtual ~ConnectPromptInfoBase();
142 tstring mso_certificateMessage;
144 tstring ms_defaultSubmitButtonName;
147 std::list<PromptEntry *> mlo_PromptEntry;
152 UserResponseError m_responseError;
153 int mi_AuthenticationError;
154 bool mb_HasEnrollmentCA;
155 bool mb_UseEnrollmentCA;
156 bool mb_AgentRequest;
157 bool mb_isAutoSubmit;
159 UIControlStateType me_buttonState;
Definition PromptEntry.h:40