instantmessagesalert/tsrc/testinstantmsgalert/src/stubs/s_ximppresenceauthorization.h
branchRCL_3
changeset 28 3104fc151679
parent 27 2b7283837edb
child 29 9a48e301e94b
equal deleted inserted replaced
27:2b7283837edb 28:3104fc151679
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: s_ximppresenceauthorization.h
       
    15 *
       
    16 */
       
    17 #ifndef MXIMPFWPRESENCEAUTHORIZATIONSTUB_H
       
    18 #define MXIMPFWPRESENCEAUTHORIZATIONSTUB_H
       
    19 
       
    20 #include <presenceauthorization.h>
       
    21 
       
    22 
       
    23 class MPresenceAuthorizationStub : public MPresenceAuthorization
       
    24     {
       
    25     TXIMPRequestId SubscribePresenceGrantRequestListL();
       
    26     
       
    27     TXIMPRequestId UnsubscribePresenceGrantRequestListL();
       
    28     
       
    29     TXIMPRequestId GrantPresenceForPresentityL(
       
    30                    const MXIMPIdentity& aPresentityId,
       
    31                    const MPresenceInfoFilter& aPif );
       
    32     
       
    33     TXIMPRequestId WithdrawPresenceGrantFromPresentityL(
       
    34                    const MXIMPIdentity& aPresentityId );
       
    35 
       
    36     TXIMPRequestId GrantPresenceForPresentityGroupMembersL(
       
    37                   const MXIMPIdentity& aGroupId,
       
    38                   const MPresenceInfoFilter& aPif );
       
    39 
       
    40     TXIMPRequestId WithdrawPresenceGrantFromPresentityGroupMembersL(
       
    41                   const MXIMPIdentity& aGroupId );
       
    42   
       
    43     TXIMPRequestId GrantPresenceForEveryoneL(
       
    44                   const MPresenceInfoFilter& aPif );
       
    45 
       
    46     TXIMPRequestId WithdrawPresenceGrantFromEveryoneL();
       
    47   
       
    48     TXIMPRequestId SubscribePresenceBlockListL();
       
    49 
       
    50     TXIMPRequestId UnsubscribePresenceBlockListL();
       
    51   
       
    52     TXIMPRequestId BlockPresenceForPresentityL(
       
    53                  const MXIMPIdentity& aPresentityId );
       
    54     
       
    55     TXIMPRequestId CancelPresenceBlockFromPresentityL(
       
    56                  const MXIMPIdentity& aPresentityId );
       
    57 
       
    58    
       
    59     const TAny* GetInterface(
       
    60                          TInt32 aInterfaceId,
       
    61                          TIfGetOps aOps ) const;
       
    62 
       
    63      TAny* GetInterface(
       
    64                          TInt32 aInterfaceId,
       
    65                          TIfGetOps aOps );
       
    66 
       
    67      TInt32 GetInterfaceId() const;
       
    68     };
       
    69 
       
    70 
       
    71 
       
    72 #endif // MXIMPFWPRESENCEAUTHORIZATIONSTUB_H