[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-freeqt
Subject:    Re: [freeqt] policy for putting function implementation in .h file
From:       Jo Dillon <emily () thelonious ! new ! ox ! ac ! uk>
Date:       1998-11-10 10:39:01
[Download RAW message or body]

Preston Brown (pbrown@redhat.com) spake thusly:
> What's the policy for when to stick a function in the header file?  For
> instance, I'm working on the drawText routines in qpainter right now.  The
> one that is there right now is in the header.  Should they all be there?
> Should the one that is there be moved?

  I think the policy is something like 'if it's small, put it in the
header file' :)
 
> In general, looking at the source files, it is QUITE apparent that there
> are several programmers working on the project.  While I don't think that
> strict RULES of coding/commenting style are appropriate, some suggested
> guidelines that would be available on the website would be a very good
> idea.

  Seems reasonable.
 
> Comments?
> 
> ---
>  -Preston Brown
>   Red Hat Software, Inc.
>   pbrown@redhat.com
> 

-- 
	Jo

Harmony - the project to create an LGPL Qt clone
http://harmony.ruhr.de

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic