phonebookengines/VirtualPhonebook/VPbkSimStoreCommon/src/CVPbkSimStateInformationStub.cpp
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2002-2007 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:  A stub for different sim status information
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 
       
    21 #include "cvpbksimstateinformation.h" 
       
    22 
       
    23 // From Virtual Phonebook
       
    24 // System includes
       
    25 
       
    26 // ================= MEMBER FUNCTIONS =======================
       
    27 
       
    28 CVPbkSimStateInformation::CVPbkSimStateInformation()
       
    29     {
       
    30     }
       
    31 
       
    32 // ---------------------------------------------------------------------------
       
    33 // CVPbkSimStateInformation::ConstructL
       
    34 // ---------------------------------------------------------------------------
       
    35 //
       
    36 void CVPbkSimStateInformation::ConstructL()
       
    37     {
       
    38     // empty in stub
       
    39     }
       
    40 
       
    41 // -----------------------------------------------------------------------------
       
    42 // CVPbkSimStateInformation::NewL
       
    43 // -----------------------------------------------------------------------------
       
    44 //
       
    45 EXPORT_C CVPbkSimStateInformation* CVPbkSimStateInformation::NewL()
       
    46     {
       
    47     return new(ELeave) CVPbkSimStateInformation;
       
    48     }
       
    49 
       
    50 // -----------------------------------------------------------------------------
       
    51 // CVPbkSimStateInformation::~CVPbkSimStateInformation
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 CVPbkSimStateInformation::~CVPbkSimStateInformation()
       
    55     {
       
    56     }
       
    57 
       
    58 // -----------------------------------------------------------------------------
       
    59 // CVPbkSimStateInformation::SimInserted
       
    60 // -----------------------------------------------------------------------------
       
    61 //
       
    62 EXPORT_C TBool CVPbkSimStateInformation::SimInsertedL()
       
    63     {
       
    64     /// SIM is always inserted
       
    65     return ETrue;
       
    66     }
       
    67 
       
    68 // -----------------------------------------------------------------------------
       
    69 // CVPbkSimStateInformation::BTSapEnabled
       
    70 // -----------------------------------------------------------------------------
       
    71 //
       
    72 EXPORT_C TBool CVPbkSimStateInformation::BTSapEnabledL()
       
    73     {
       
    74     /// BT SAP always off
       
    75     return EFalse;
       
    76     }
       
    77 
       
    78 // -----------------------------------------------------------------------------
       
    79 // CVPbkSimStateInformation::ActiveFdnBlocksAdnStoreL
       
    80 // -----------------------------------------------------------------------------
       
    81 //
       
    82 EXPORT_C TBool CVPbkSimStateInformation::ActiveFdnBlocksAdnStoreL(
       
    83         MVPbkSimPhone& /*aSimPhone*/)
       
    84     {
       
    85     /// FDN never blocks ADN
       
    86     return EFalse;
       
    87     }
       
    88 
       
    89 // -----------------------------------------------------------------------------
       
    90 // CVPbkSimStateInformation::NewSimCardL
       
    91 // -----------------------------------------------------------------------------
       
    92 //
       
    93 EXPORT_C TBool CVPbkSimStateInformation::NewSimCardL()
       
    94     {
       
    95     /// Always known SIM card
       
    96     return EFalse;
       
    97     }
       
    98     
       
    99 //  End of File