Re: IDL Enum expansion



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]