[Gammaray-interest] sub-namespacing

Christian Gagneraud chgans at gmail.com
Wed Jun 5 16:58:44 CEST 2019


On Wed, 5 Jun 2019 at 19:25, Volker Krause <volker.krause at kdab.com> wrote:
>
> On Wednesday, 5 June 2019 00:04:26 CEST Christian Gagneraud wrote:
> > Is there any special requirement for client/server code about namespacing?
> > I would like to use a sub-namespace for my plugin. But it seems that
> > no code does that.
> > Is it allowed/desirable?
>
> I don't think there is any requirement beyond having everything namespaced so
> we don't collide with symbols of the target application (and that includes
> client code due to the still available old in-process mode). The top-level
> namespace should always be "GammaRay" as the meta type filtering for internal
> stuff relies on this IIRC, sub-namespaces for individual plugins are fine.

Great, I'll use GammaRay::ConnectivityInspector namespace for all my code then.

Thanks,
Chris


>
> Regards,
> Volker


More information about the Gammaray-interest mailing list