Re: SANE options

David Mosberger-Tang (David.Mosberger@acm.org)
Fri, 5 Jun 1998 22:20:12 -0700

>>>>> On Thu, 4 Jun 98 21:45 CDT, psfales@earthling.net (Peter Fales) said:

Peter> David, A quick SANE question... Is there any way to force an
Peter> option reload after finishing a read operation?

No, reads are assumed to be "side-effect" free (as far as the options
are concerned).

Peter> On my DC-25 backend, the allowable range of one of the
Peter> options (the number of images stored in the camera) is
Peter> modified by the the read, if the read involves taking a new
Peter> picture. So, I would to be able to reload the options at
Peter> that point.

OK, got it.

Peter> Oh yes, another one, though I suspect I know the answer to
Peter> this one. Is there any way for a backend to put up it's own
Peter> dialog boxes for warnings or confirmations?

Nope, not at this point. Printing messages wouldn't be hard to do,
but dialog boxes are a bit trickier because sometimes there is no user
to dialog with. What exactly did you have in mind?

As a general comment, I fully expect that we'll have to make some
adjustments to the SANE API to better support digital cameras. I'd
suggest that, for now, you hack around problems you encounter as your
progresses. Then, once we're confident we understand what's needed to
support cameras well, we can then add the missing stuff to the API.
Sounds reasonable?

--david

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com