[prev in list] [next in list] [prev in thread] [next in thread]
List: kopete-devel
Subject: [Kopete-devel] KMM question
From: Andres Krapf <dae () chez ! com>
Date: 2002-04-29 18:09:04
[Download RAW message or body]
hello,
another question on the KMM design. KMM is in charge of emitting messageSent
when a message is sent from the message window.
but when (if at any) is it deleted ? (it emits a dying() signal... i suppose
it's for something). i wouldn't expect a KMM to have the same lifecycle as
Kopete... at least if it models a "chat session".
are the plugins expected to keep track of the KMMs they use ?
- if they don't, do they create one on each incoming message with the help of
the factory ? that's a problem because the factory doesn't tell us if it's a
newly created KMM or an existing reused KMM. so how do we know if we have to
reconnect the messageSent ?
- if they do, it defeats some of the purpose of having the factory that helps
reuse opened chat sessions, because the plugin has to find out if it a KMM
for some chat session already existed anyways.
one solution would be for the factory to tell us wheter it's a new KMM or not
somehow.
i've looked at how jabber does it, and storing KMMs in Contacts won't work for
multiuser chats...
--
Andres
_______________________________________________
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