38class VPN_VPNAPI PreferenceBase
47 ApiStringMap* pOptions = NULL,
55 const tstring& getPreferenceValue()
const;
56 bool setPreferenceValue(
const tstring& value);
58 bool getPreferenceAttribute(
const PreferenceAttribute& attribute);
59 void setPreferenceAttribute(
const PreferenceAttribute& attribute,
bool value);
61 const PreferenceList& getChildren()
const;
72 static PreferenceAttribute getAttributeIdFromName(
const tstring& attributeName);
73 static tstring getAttributeNameFromId(
const PreferenceAttribute attrId);
78 PreferenceAttribute attribute);
79 static bool isParentPreference(
const PreferenceId prefId);
80 static bool isPreferenceDefined(
const PreferenceId prefId);
81 static bool isValidPreference(
const PreferenceId prefId);
86 PreferenceBase& operator=(
const PreferenceBase& existingPref)
88 return deepCopy(existingPref);
93 explicit PreferenceBase(
const PreferenceBase& existingPref)
95 deepCopy(existingPref);
97 virtual ~PreferenceBase();
99 static const tstring PreferenceEnabled;
100 static const tstring PreferenceDisabled;
102 static const tstring DisconnectOnSuspend;
103 static const tstring ReconnectAfterResume;
105 static const tstring AllStores;
106 static const tstring MachineStore;
107 static const tstring UserStore;
108 static const tstring SystemStore;
109 static const tstring LoginStore;
110 static const tstring UserFirefoxNSS;
111 static const tstring UserPEMFile;
113 static const tstring Automatic;
114 static const tstring SoftwareToken;
115 static const tstring HardwareToken;
117 static const tstring SingleLogon;
118 static const tstring SingleLocalLogon;
119 static const tstring SingleLogonNoRemote;
121 static const tstring LocalUsersOnly;
122 static const tstring AllowRemoteUsers;
124 static const tstring ProxyNative;
125 static const tstring ProxyIgnoreProxy;
126 static const tstring ProxyOverride;
128 static const tstring PPPExclusionAutomatic;
129 static const tstring PPPExclusionDisable;
130 static const tstring PPPExclusionOverride;
134 static const tstring Disconnect;
135 static const tstring DoNothing;
137 static const tstring SameUserOnly;
140 static const tstring PasswordComplexityAlpha;
141 static const tstring PasswordComplexityPin;
142 static const tstring PasswordComplexityStrong;
149 static const tstring IPv4_IPv6;
150 static const tstring IPv6_IPv4;
153 PreferenceBase& deepCopy(
const PreferenceBase& existingPref);
157 PreferenceList m_childPreferences;
159 bool mb_attributes[ATTRIBUTE_COUNT];
161 static const char* sm_attributeStrs[];
162 static const DEFAULT_PREFERENCE sm_defaultPreferences[];
Definition PromptEntry.h:40