instantmessagesalert/tsrc/testinstantmsgalert/src/stubs/s_ximppresenceauthorization.cpp
changeset 0 5e5d6b214f4f
equal deleted inserted replaced
-1:000000000000 0:5e5d6b214f4f
       
     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.cpp
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "s_ximppresenceauthorization.h"
       
    20 
       
    21 TInt32 gMXIMPPresenceAuthorizationInterfaceId = 0;
       
    22 
       
    23 
       
    24 
       
    25 TXIMPRequestId MPresenceAuthorizationStub::SubscribePresenceGrantRequestListL()
       
    26     {
       
    27     TXIMPRequestId requestId;
       
    28     return requestId;
       
    29     }
       
    30 
       
    31 TXIMPRequestId MPresenceAuthorizationStub::UnsubscribePresenceGrantRequestListL()
       
    32     {
       
    33     TXIMPRequestId requestId;
       
    34     return requestId;
       
    35     }
       
    36 
       
    37 TXIMPRequestId MPresenceAuthorizationStub:: GrantPresenceForPresentityL(
       
    38     const MXIMPIdentity& /*aPresentityId*/,
       
    39     const MPresenceInfoFilter& /*aPif*/ )
       
    40     {
       
    41     TXIMPRequestId requestId;
       
    42     return requestId;
       
    43     }
       
    44 
       
    45 TXIMPRequestId MPresenceAuthorizationStub:: WithdrawPresenceGrantFromPresentityL(
       
    46     const MXIMPIdentity& /*aPresentityId*/ )
       
    47     {
       
    48     TXIMPRequestId requestId;
       
    49     return requestId;
       
    50     }
       
    51 
       
    52 TXIMPRequestId MPresenceAuthorizationStub:: GrantPresenceForPresentityGroupMembersL(
       
    53     const MXIMPIdentity& /*aPresentityId*/,
       
    54     const MPresenceInfoFilter& /*aPif*/ )
       
    55     {
       
    56     TXIMPRequestId requestId;
       
    57     return requestId;
       
    58     }
       
    59 
       
    60 TXIMPRequestId MPresenceAuthorizationStub:: WithdrawPresenceGrantFromPresentityGroupMembersL(
       
    61     const MXIMPIdentity& /*aPresentityId*/ )
       
    62     {
       
    63     TXIMPRequestId requestId;
       
    64     return requestId;
       
    65     }
       
    66 
       
    67 TXIMPRequestId MPresenceAuthorizationStub:: GrantPresenceForEveryoneL(
       
    68     const MPresenceInfoFilter& /*aPif*/ )
       
    69     {
       
    70     TXIMPRequestId requestId;
       
    71     return requestId;
       
    72     }
       
    73 
       
    74 TXIMPRequestId MPresenceAuthorizationStub:: WithdrawPresenceGrantFromEveryoneL()
       
    75     {
       
    76     TXIMPRequestId requestId;
       
    77     return requestId;
       
    78     }
       
    79 
       
    80 TXIMPRequestId MPresenceAuthorizationStub:: SubscribePresenceBlockListL()
       
    81     {
       
    82     TXIMPRequestId requestId;
       
    83     return requestId;
       
    84     }
       
    85 
       
    86 TXIMPRequestId MPresenceAuthorizationStub:: UnsubscribePresenceBlockListL()
       
    87     {
       
    88     TXIMPRequestId requestId;
       
    89     return requestId;
       
    90     }
       
    91 
       
    92 TXIMPRequestId MPresenceAuthorizationStub:: BlockPresenceForPresentityL(
       
    93     const MXIMPIdentity& /*aPresentityId*/ )
       
    94     {
       
    95     TXIMPRequestId requestId;
       
    96     return requestId;
       
    97     }
       
    98 
       
    99 TXIMPRequestId MPresenceAuthorizationStub:: CancelPresenceBlockFromPresentityL(
       
   100     const MXIMPIdentity& /*aPresentityId*/ )
       
   101     {
       
   102     TXIMPRequestId requestId;
       
   103     return requestId;
       
   104     }
       
   105 
       
   106 
       
   107 const TAny* MPresenceAuthorizationStub::GetInterface(
       
   108                         TInt32 /*aInterfaceId*/,
       
   109                         TIfGetOps /*aOps*/ ) const
       
   110     {
       
   111     return this;
       
   112     }
       
   113 
       
   114  TAny* MPresenceAuthorizationStub::GetInterface(
       
   115                         TInt32 /*aInterfaceId*/,
       
   116                         TIfGetOps /*aOps*/ )
       
   117     {
       
   118     return NULL;
       
   119     }
       
   120 
       
   121 TInt32 MPresenceAuthorizationStub::GetInterfaceId() const
       
   122     {
       
   123     return gMXIMPPresenceAuthorizationInterfaceId;
       
   124     }