Beispiel #1
0
 public void SetOption(OSDOption opt, bool on)
 {
     if (on)
     {
         option = (byte)(option | _BV((int)opt));
     }
     else
     {
         option = (byte)(option & ~_BV((int)opt));
     }
 }
Beispiel #2
0
 public void SetOption(OSDOption opt, bool on)
 {
     if (on)
         option = (byte)(option | _BV((int)opt));
     else
         option = (byte)(option & ~_BV((int)opt));
 }
Beispiel #3
0
 public bool GetOption(OSDOption opt)
 {
     return (option & _BV((int)opt)) != 0;
 }
Beispiel #4
0
 public void SetOption(OSDOption opt, bool on)
 {
     mod = true;
     setting.SetOption(opt, on);
 }
Beispiel #5
0
 public bool GetOption(OSDOption opt)
 {
     return(setting.GetOption(opt));
 }
Beispiel #6
0
 public void SetOption(OSDOption opt, bool on)
 {
     mod = true;
     setting.SetOption(opt, on);
 }
Beispiel #7
0
 public bool GetOption(OSDOption opt)
 {
     return setting.GetOption(opt);
 }
Beispiel #8
0
 public bool GetOption(OSDOption opt)
 {
     return((option & _BV((int)opt)) != 0);
 }