public void SetOption(OSDOption opt, bool on) { if (on) { option = (byte)(option | _BV((int)opt)); } else { option = (byte)(option & ~_BV((int)opt)); } }
public void SetOption(OSDOption opt, bool on) { if (on) option = (byte)(option | _BV((int)opt)); else option = (byte)(option & ~_BV((int)opt)); }
public bool GetOption(OSDOption opt) { return (option & _BV((int)opt)) != 0; }
public void SetOption(OSDOption opt, bool on) { mod = true; setting.SetOption(opt, on); }
public bool GetOption(OSDOption opt) { return(setting.GetOption(opt)); }
public bool GetOption(OSDOption opt) { return setting.GetOption(opt); }
public bool GetOption(OSDOption opt) { return((option & _BV((int)opt)) != 0); }