void LoomWidget::LoomVanish() { if (IsUp()) { Vanish(); } else { LoomUp(); } }
//! Returns if this protocol is allowed to send a packet (enabled, up, etc.). bool KPPPProtocol::IsAllowedToSend() const { return IsEnabled() && IsUp() && IsProtocolAllowed(*this); }