<div dir="ltr"><div dir="ltr">Hi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 26, 2022 at 7:12 AM James Ring <<a href="mailto:sjr@jdns.org">sjr@jdns.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
Would there be any objection if I did some work on tidying up the<br>
scanimage frontend implementation? Currently, there are some deeply<br>
nested parts of the scanning code interspersed with ifdefs that make<br>
it pretty hard to follow.<br>
<br>
More controversial question, what about writing some parts of it in<br>
C++? Applied judiciously, it could make the code easier to maintain.<br>
My plan would be to use a small subset of C++ (no exceptions, for<br>
example).<br>
<br>
Thanks,<br>
James<br>
<br></blockquote><div>Submissions are always welcome. <br></div><div>If it could be made simpler and easier to read and maintain, then I think that would be a worthwhile improvement.</div><div></div><div>We do support C++ in SANE now (notably in the genesys backend).</div><div><br></div><div>Would be interesting to see what you have in mind.</div><div><br></div><div>Cheers,</div><div>Ralph<br></div><div><br></div><div><br></div></div></div>