Re: [gnomemm] foocanvasmm



On Sat, 2003-02-15 at 17:16, ERDI Gergo wrote:
> Hi,
> 
> So, yesterday I went on and with minimal work created a copy of
> libgnomecanvasmm that uses foocanvas. It's not finished yet since I
> prioritized the bits taht I actually use in Guikachu, so there are a
> couple of missing canvas items.
> 
> So, the question is, what should I do with it? First of all, before it
> hits any CVS repository, we should come up with a name/namespace.
> 
> 1. foocanvasmm vs. libfoocanvasmm

If the C project is called foocanvas then the C++ wrapper should be
called foocanvasmm.

> 
> 2. The namespace
> Gnome::FooCanvas would be the obvious answer,

But foocanvas isn't part of GNOME.

>  however, since the canvas
> widget itself is called FooCanvas, this doesn't really fly (a conflict
> between namespace Gnome::FooCanvas and type FooCanvas, when inside
> Gnome::FooCanvas). I went with Gnome::FCanvas but obviously this is
> sub-optimal.

I suggest FooCanvas::Canvas and FooCanvas::Item, etc.


-- 
Murray Cumming
murray usa net
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]