Re: IDL Enum expansion
- From: Dietmar Maurer <dietmar maurer-it com>
- To: Mike Kestner <mkestner ameritech net>, "gnome-components-list gnome org" <gnome-components-list gnome org>
- Subject: Re: IDL Enum expansion
- Date: Fri, 17 Nov 2000 09:00:23 +0100
Mike Kestner wrote:
> Sorry if I'm tripping into a FAQ here...
>
> I'm implementing a namespace altered version of the OpenOffice IDL for
> the Drawing API enum FillStyle in the drawing API. It looks like:
>
> module Gnome {
> module Draw {
> enum FillStyle {
> NONE,
> SOLID,
> GRADIENT,
> HASH,
> BITMAP
> };
> };
> };
>
> This exactly mirrors com::sun::star etc...
>
> The problem is that ORBit generates the enumerations directly in the
> module namespace (e.g. Gnome_Draw_NONE) instead of mangling the enum
> typename as well. This is going to cause collisions.
This is defined in the CORBA C-Language mappings - and
it is not an ORBit problem.
- Dietmar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]