Le Mon, Oct 07, 2002, à 10:00:49PM +0200, Hans Breuer a écrit:
> #ifndef DIA_TYPES_H
> #define DIA_TYPES_H
> typedef struct _Layer Layer;
> typedef struct _DiagramData DiagramData;
> typedef struct _DiaRenderer DiaRenderer;
> This would allow to pass partly known 'class' pointers without
> exposing any details of the concrete class definitions.
> What do others think about this ?
Sounds good, provided this file remains small (for speed of compilation
reasons. Production-grade GCC doesn't have any precompiled header solution at