[Bug 28753] New: Helper class(es) for observing text channels
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jun 25 12:00:49 CEST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=28753
Summary: Helper class(es) for observing text channels
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: medium
Component: tp-qt4
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: will.thompson at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
It would be nice to have helper classes for observing text channels for a
particular Tp::Contact, and perhaps for all contacts (which would make writing
a logger much easier, for instance).
Maybe one class could do both, with an optional constructor parameter for the
Tp::Contact you're interested in, and signals:
void messageReceived(Tp::TextChannel *, const Tp::ReceivedMessage &)
void messageSent(Tp::TextChannel *, const Tp::Message &)
or similar, telling you the particular channel on which the event occurred, and
the message itself.
(Later it would also be nice to have a helper on the same class to send a
message on the channel, too.)
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list