Changeset View
Changeset View
Standalone View
Standalone View
src/vpnconnection.h
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Line(s) | 63 | enum StateChangeReason { | |||
---|---|---|---|---|---|
67 | DeviceDisconnectedReason, /**< The VPN connection changed state because the device it was using was disconnected. */ | 67 | DeviceDisconnectedReason, /**< The VPN connection changed state because the device it was using was disconnected. */ | ||
68 | ServiceStoppedReason, /**< The service providing the VPN connection was stopped. */ | 68 | ServiceStoppedReason, /**< The service providing the VPN connection was stopped. */ | ||
69 | IpConfigInvalidReason, /**< The IP config of the VPN connection was invalid. */ | 69 | IpConfigInvalidReason, /**< The IP config of the VPN connection was invalid. */ | ||
70 | ConnectTimeoutReason, /**< The connection attempt to the VPN service timed out. */ | 70 | ConnectTimeoutReason, /**< The connection attempt to the VPN service timed out. */ | ||
71 | ServiceStartTimeoutReason, /**< A timeout occurred while starting the service providing the VPN connection. */ | 71 | ServiceStartTimeoutReason, /**< A timeout occurred while starting the service providing the VPN connection. */ | ||
72 | ServiceStartFailedReason, /**< Starting the service starting the service providing the VPN connection failed. */ | 72 | ServiceStartFailedReason, /**< Starting the service starting the service providing the VPN connection failed. */ | ||
73 | NoSecretsReason, /**< Necessary secrets for the VPN connection were not provided. */ | 73 | NoSecretsReason, /**< Necessary secrets for the VPN connection were not provided. */ | ||
74 | LoginFailedReason, /**< Authentication to the VPN server failed. */ | 74 | LoginFailedReason, /**< Authentication to the VPN server failed. */ | ||
75 | ConnectionRemovedReason /**< The connection was deleted from settings. */ | 75 | ConnectionRemovedReason, /**< The connection was deleted from settings. */ | ||
76 | DependencyFailedReason, /**< Master connection of this connection failed to activate. */ | ||||
77 | DeviceRealizeFailedReason, /**< Could not create the software device link. */ | ||||
78 | DeviceRemoved /** < The device this connection depended on disappeared. */ | ||||
76 | }; | 79 | }; | ||
77 | 80 | | |||
78 | /** | 81 | /** | ||
79 | * Creates a new VpnConnection object. | 82 | * Creates a new VpnConnection object. | ||
80 | * | 83 | * | ||
81 | * @param path the DBus path of the device | 84 | * @param path the DBus path of the device | ||
82 | */ | 85 | */ | ||
83 | explicit VpnConnection(const QString &path, QObject *parent = nullptr); | 86 | explicit VpnConnection(const QString &path, QObject *parent = nullptr); | ||
Show All 37 Lines |