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