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);
322 void exportStats(
const tstring &tstrFilePath);
332 void setBannerResponse(
bool bAccepted);
342 void setPreConnectReminderResponse();
352 void setCertBlockedResponse(
bool bUnblock);
366 void setCertWarningResponse(
bool bConnect,
bool bImportCert);
389 std::shared_ptr<PreferenceInfo> getPreferences();
402 unsigned int getPreferencesCount();
409 bool savePreferences(
const std::shared_ptr<PreferenceInfo>& spPreferenceInfo);
422 void setLastVpnError(
VPNError vpnError);
437 bool isConnectRequestActive();
452 #if defined(VPNAPI_EVENT_NOTIFICATION_SUPPORTED)
454 const std::shared_ptr<CEventNotificationTlv>& spEventNtfctnTlv);
465 ClientIfcData*
const m_pClientIfcData;
Definition: ClientIfcBase.h:59
#define tstring
Definition: api.h:35
Definition: ClientIfc.h:42
OperatingMode
Definition: api.h:534
VPNError
Definition: api.h:586
virtual void EventNotificationInternalCB(const std::shared_ptr< CEventNotificationTlv > &spEventNtfctnTlv)=0
void ClientIfcTransmigration()