From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e429176c9adb07b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-20 18:10:17 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: [OT] Best way to isolate a GUI? (The final concensous?) Date: Thu, 20 Feb 2003 21:08:59 -0500 Organization: MindSpring Enterprises Message-ID: References: <3E511C15.1040404@acm.org> <3E5121BD.4010200@cogeco.ca> <3E51A55A.3000101@cogeco.ca> <3E52A1BF.1020809@cogeco.ca> <3E53CE60.1030008@cogeco.ca> <3E55501D.9050006@cogeco.ca> NNTP-Posting-Host: d1.56.b6.7b X-Server-Date: 21 Feb 2003 02:10:16 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Xref: archiver1.google.com comp.lang.ada:34323 Date: 2003-02-21T02:10:16+00:00 List-Id: Well, if you use an existing GUI such as Windows or Motif, you are *going* to have callbacks. I'd prefer to isolate them in some kind of wrapper layer and have the "real" app receive messages of some sort. If you were building a GUI from bottom dead center, you could build that sort of thing right in. I'm just saying I think that callbacks are an ugly kludge that I'd prefer were done a different way. You might be able to get there with existing GUIs & glue or wrappers or skins or whatever you like to call it. Just expressing a desire to see an interface to a GUI that doesn't have to know anything about the code *I* write. :-) MDC -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jsf.mil/ Send Replies To: m c o n d i c @ a c m . o r g "Going cold turkey isn't as delicious as it sounds." -- H. Simpson ====================================================================== Warren W. Gay VE3WWG wrote in message news:3E55501D.9050006@cogeco.ca... > > I was thinking of the requirements of the OP query, about > the isolation factor. Perhaps this has already been stated, but the > task & entry idea is not a bad one if you use the callbacks do > the rendezvous with the task. The callbacks handle the dynamic > linkage between the GUI and the task (callbacks = glue or wiring). > This is perhaps what you've been saying all along.. >