On Tue, 2003-11-18 at 00:37, Guy Harris wrote:
> On Nov 17, 2003, at 3:30 PM, Erwin Rol wrote:
>
> > Do i understand right that you wrote a Python program that generates
> > WIN32-SDK code ? If so than it sounds like the work of maintaining two
> > or more GUI's moved to maintaining two of more GUI-code generators (one
> > for WIN32, one for GTK, etc. ).
>
> Yes, but presumably you don't have to change the GUI code generator
> every time you change the Ethereal UI, so there's presumably *less*
> work involved in maintaining the GUI code generators.
true, but you still have to have different "XUL templates" for different
OSes, since people will want other short cut keys etc.
>
> > One thing that i think is still important is to make it possible to
> > write separate ( outside the Ethereal source tree, and not by the
> > Ethereal team) GUI's, by having a well defined interface to the
> > Ethereal
> > core that somehow is put in a DLL/SO.
>
> That would probably also be useful. The C code that's called by the
> generated code (see the "win32-c-sdk" directory in Gerald's sample
> code) would call the "Ethereal core" code.
Another thing that just comes to my mind is special purpose network
monitors. For example someone might be able to write a special protocol
grapher for a certain protocol that won't be very usefull for others and
will just add bloat to Ethereal. When he could write a small GUI and
just use that as frontend that would be very nice. A bit like how the
mozilla render engine is used by different programs to do HTML
rendering.
- Erwin
--
Erwin Rol Software Engineering - http://www.erwinrol.com/