Andre Poenitz wrote:
On Tue, Jun 13, 2006 at 11:36:09AM +0100, Angus Leeming wrote:
Why not have namespaces to reflect the directory
structure?

lyx
lyx::frontends
lyx::frontends::qt4
lyx::support

Well, maybe better than what we have now, but having classes of the same
name only distinguished by namespace is still a pain maintanance wise.
No decent searching e.g.

I am not sure I understand why it is a pain but OK I will do the change one last time. I'd like nevertheless to point out that I like very much this directory+namespace separation. It's maybe because I am now used to it but for me, there is no room for confusion and it is clean.

So this is my last proposal and this is non negotiable:

in src/: lyx
in src/frontends/: lyx::frontend::

  Gui : virtual interface for all Gui operation
  View: virtual interface for Views
  WorkArea: virtual interface for WorkAreas
  Clipboard: virtual interface for clipboard operation
  GuiCursor: this one is special because it does not need a frontend
             specialisation.

in src/frontends/[qt3,qt4,gtk,xforms]/: in the respective namespace we have lyx::frontend::[qt3,qt4,gtk,xforms]::

  TheGui, GuiView, GuiWorkArea, GuiClipboard,

I will also change cursor() to guiCursor() to please JMarc.

Comments?

Abdel.

Reply via email to