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

List:       kopete-devel
Subject:    Re: [Kopete-devel] KMM question
From:       Martijn Klingens <klingens () kde ! org>
Date:       2002-04-29 20:33:27
[Download RAW message or body]

On Monday 29 April 2002 21:59, Andres Krapf wrote:
> On Monday 29 April 2002 21:52, Martijn Klingens wrote:
> > > why give the send() the manager, btw ? all a protocol needs to send a
> > > message is the KopeteMessage...
> >
> > The manager holds the list of people participating in the chat, that
> > would save the protocol very likely a *lot* of internal bookkeeping...
>
> not so, i think Duncan wanted the whole list to be in the KopeteMessage.
> hey, why not include a QMap ? just kidding :-))

Oh... that's another approach. I hope the list is passed by (const!) reference 
then or it would be painfully slow copying lists for each message, not to 
mention the unnecessary memory footprint...

But that's cleaner indeed.

Martijn

_______________________________________________
Kopete-devel mailing list
Kopete-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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