Re: Don't cvs update now, if ...



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

-- 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]