[PATCH] Bigger Chooser Part 3 In Super 3-D: RECTPP

Robert Collins rbcollins@cygwin.com
Sat Apr 5 23:27:00 GMT 2003


On Sun, 2003-04-06 at 09:22, Max Bowsher wrote:

> > PP doesn't evoke 'Memory compatible wrapper'. It doesn't even evoke
> > Wrapper. Or Adapter.
> 
> RECTPP - a C++ version of RECT.

If it was that, then we could change field, give it child classes (which
implies virtual destructors ...) We can't. It's *not* a C++ version of
RECT. It's a limited function wrapper. Does it need to be that limited?
Maybe not, but for now, if I proposed any changes, potentially large
amounts of Garys other code would have to change (beyond the search n
replace the class renaming will cause), and that would be unreasonable
of me.

> If that's not enough to convince you, then how about:
> RECT<you suggest something to put here>.
> 
> Maybe RECTWrapper

Exactly.

> , and make new files (winwrap.h,.cc ?) to house
> RECTWrapper, and your SIDWrapper and HANDLEWrapper ?

One file per class is best. So RECTWrapper.h is fine.

Rob

-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20030405/6c8aca36/attachment.sig>


More information about the Cygwin-apps mailing list