예제 #1
0
 /*public void setStatus(API.SANE_Status s)
 {
     setStatus(Status.wrap(s));
 }*/
 private void _fireStatusChanged(Status s)
 {
     if(s.Equals(pStatus))return;
     pStatus=s;
     if(statusChanged!=null)
         statusChanged(this,s);
 }
 public InvalidStatusException(string message,Sane.Status innerStatus)
     : base(message)
 {
     _innerStatus = innerStatus;
 }
 public InvalidStatusException(string message,API.SANE_Status innerStatus)
     : base(message)
 {
     this._innerStatus=Sane.Status.wrap(innerStatus);
 }
 public InvalidStatusException(API.SANE_Status innerStatus)
     : base(Sane.Status.wrap(innerStatus).description)
 {
     _innerStatus=Sane.Status.wrap(innerStatus);
 }
 public InvalidStatusException(Sane.Status innerStatus)
     : base(innerStatus.description)
 {
     _innerStatus=innerStatus;
 }
예제 #6
0
 protected void setStatus(Status s)
 {
     _fireStatusChanged(s);
 }
예제 #7
0
 public Core()
 {
     pStatus = new Status(API.SANE_Status.SANE_STATUS_GOOD);
 }