32 #include "ClientIfcCommon.h" 34 #include "ClientIfcBase.h" 36 #include "ConnectPromptInfo.h" 37 #include "Preference.h" 38 #include "PreferenceInfo.h" 45 friend class ClientIfcData;
125 bool attach(ClientType clientType = ClientType_GUI,
126 bool requestFullCapabilities =
true,
127 bool suppressAutoConnect =
true);
148 void ProcessEvents();
158 bool hasFullCapabilities();
165 bool isConnected(
bool bSilent =
false);
181 bool isVPNServiceAvailable();
196 std::list<tstring> getHostNames();
228 #if defined(HOST_DATA_SUPPORTED) 230 const IHostData& host);
234 #
if defined(HOST_DATA_SUPPORTED)
235 const IHostData& host,
239 unsigned int origin);
250 bool setNewTunnelGroup(
const tstring & group);
332 void exportStats(
const tstring &tstrFilePath);
342 void setBannerResponse(
bool bAccepted);
352 void setPreConnectReminderResponse();
362 void setCertBlockedResponse(
bool bUnblock);
376 void setCertWarningResponse(
bool bConnect,
bool bImportCert);
399 std::shared_ptr<PreferenceInfo> getPreferences();
412 unsigned int getPreferencesCount();
419 bool savePreferences(
const std::shared_ptr<PreferenceInfo>& spPreferenceInfo);
432 void setLastVpnError(
VPNError vpnError);
447 bool isConnectRequestActive();
462 #if defined(VPNAPI_EVENT_NOTIFICATION_SUPPORTED) 464 const std::shared_ptr<CEventNotificationTlv>& spEventNtfctnTlv);
467 using ClientIfcBase::ClientIfcTransmigration;
475 ClientIfcData*
const m_pClientIfcData;
VPNDisconnectReason
Definition: api.h:188
Definition: ClientIfcBase.h:63
#define tstring
Definition: api.h:35
Definition: ClientIfc.h:42
OperatingMode
Definition: api.h:545
VPNError
Definition: api.h:597
virtual void EventNotificationInternalCB(const std::shared_ptr< CEventNotificationTlv > &spEventNtfctnTlv)=0