~phablet-team/messaging-framework/maintain-connection-state

« back to all changes in this revision

Viewing changes to include/messaging/qt/tp/interfaces/base_channel_roles.h

  • Committer: Tarmac
  • Author(s): Roberto Mier Escandon
  • Date: 2016-08-23 22:33:39 UTC
  • mfrom: (50.1.19 allow-members-have-roles)
  • Revision ID: tarmac-20160823223339-w6d9xjzyqly8k2b6
Fw code modifying Members to use Roles interface so that upper layers receive participants permissions
Also setting roles when added members from the client

NOTE: This MR should be landed along with https://code.launchpad.net/~ningbo-team/ningbo/roles-management/+merge/303265.

Approved by Tiago Salem Herrmann, system-apps-ci-bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
namespace interfaces
33
33
{
34
34
 
35
 
class BaseChannelRolesInterface;
36
 
typedef Tp::SharedPtr<BaseChannelRolesInterface> BaseChannelRolesInterfacePtr;
 
35
/*!
 
36
The spec:
 
37
 
 
38
    org.freedesktop.Telepathy.Channel.Interface.Roles
 
39
 
 
40
    Methods
 
41
    UpdateRoles         (a{uu}:ContactRoles)    -> nothing
 
42
 
 
43
    Signals
 
44
    RolesChanged(a{uu}:Added, a{uu}:Removed)
 
45
 
 
46
    Properties:
 
47
    Roles                       a{uu} (Handle_Roles_Map)        Read only
 
48
    CanUpdateRoles      b                                                       Read only
 
49
 
 
50
    Types:
 
51
    Channel_Roles               Flags   u
 
52
    Handle_Roles_Map    Mapping a{uu}
 
53
*/
 
54
 
37
55
 
38
56
class MESSAGING_FW_PUBLIC BaseChannelRolesInterface : public Tp::AbstractChannelInterface
39
57
{