[Telepathy] [Bug 14828] TpChannel: make the struct layout public for read-only access

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 5 23:38:47 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=14828





--- Comment #1 from Alberto Mardegan <mardy at users.sourceforge.net>  2008-03-05 23:38:47 PST ---
Since we cannot know for sure that in the future we'd add some interfaces or
data that might turn out to be extremely useful to have them as public
read-only members in the struct, what about adding a

const TpChannelXxxData *tp_channel_get_xxx_interface_data (TpChannel *);

that returns a pointer to an read-only structure containing data specific to
the Xxx (Group, for instance) interface?
In this way we can add data structs for all interfaces for which this might be
useful.

This is only about interfaces; I also think that the base properties of
TpChannel should be exposed in its structure, but probably not any
interface-specific data.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Telepathy mailing list