3 Jul 2010 20:49
file naming conventions (for GtkUIManager and more)
Hi all, the current file names in the bluefish code do not really follow a convention. Only the bftextview* files are named in a logical way. I was thinking of a file name convention, first to be used for the GtkUIManager migration. The convention: - foo.h declares all functions about 'foo' - foo.c implements all public functions about 'foo' - foo_bar.h decares 'bar' helper functions for 'foo' that are only/mostly called from foo_*.c files, not from other files - foo_bar.c implements these helper functions So when we migrate to GtkUIManager, we get rid of menu.c and menu.h, gui.c and gui.h, and we create bfwin.c and bfwin.h and bfwin_uimanager.c for the GtkUIManager and GtkActions. What do you think? 1) do we need a convention? 2) Is this a useful convention? 3) is the bfwin* proposal a good proposal? Olivier
Olivier
(redirect discussion back to the mailinglist)
RSS Feed