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; > #endif > > 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 this moment) -- Cyrille -- _______________________________________________ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.lysator.liu.se/~alla/dia/faq.html Main page at http://www.lysator.liu.se/~alla/dia