Complete.Org: Mailing Lists: Archives: freeciv-dev: July 1999:
[Freeciv-Dev] patch: more gui includes fixes
Home

[Freeciv-Dev] patch: more gui includes fixes

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] patch: more gui includes fixes
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Sat, 17 Jul 1999 00:00:12 +1000 (EST)

This patch does some more fixes to client gui includes, splitting
client headers into gui-dependent and gui-independent parts.

Specifically, for helpdlg, plrdlg, messagewin and citrep modules,
at the time the client was originally split the header files for 
these modules were gui-indep, so they were placed in include.  
Then later it became necessary to have some gui-dependent protos 
for these modules (for the Xaw client, for functions with protos 
needed by gui-xaw/gui_main.c) and there was no-where good to put 
the new protos.

This patch follows the method of the previous client gui includes 
re-org, having gui-indep include/foo_g.h, and gui-dep gui-*/foo.h, 
where the latter include the former.  (For the gtk client, since 
there are still no gui-dep protos for these modules, that is _all_ 
the gui-dep foo.h files do.)

I also took the opportunity, since meswindlg.h was being renamed, 
to rename it to messagewin.h (and new messagewin_g.h), to match 
the corresponding messagewin.c.  (Its still a bit unclear having 
both messagedlg.[ch] and messagewin.[ch] (the former is for the 
Message Options dialog, the latter the Messages Window), but I 
found it even more confusing that meswindlg.h had a different 
basename to both.)

Regards,
-- David

Attachment: gui_inc2.diff.gz
Description: GNU Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] patch: more gui includes fixes, David Pfitzner <=