mmshplugins/mmshaoplugin/tsrc/ut_aoplugin/Stubs/src/spsettings_stub.cpp
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 2007-2008 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:  STUB implementation for SP Settings.
       
    15 *
       
    16 */
       
    17 
       
    18 #include "spsettings.h"
       
    19 
       
    20 
       
    21 // ======== MEMBER FUNCTIONS ========
       
    22 
       
    23 // ---------------------------------------------------------------------------
       
    24 // Default Constructor 
       
    25 // ---------------------------------------------------------------------------
       
    26 //
       
    27 CSPSettings::CSPSettings() 
       
    28     {
       
    29     // Nothing to be done
       
    30     }
       
    31 
       
    32 // ---------------------------------------------------------------------------
       
    33 // Destructor
       
    34 // ---------------------------------------------------------------------------
       
    35 //
       
    36 EXPORT_C CSPSettings::~CSPSettings()
       
    37     {
       
    38     // Nothing to be done
       
    39     }
       
    40 
       
    41 
       
    42 // ---------------------------------------------------------------------------
       
    43 // Constructor
       
    44 // ---------------------------------------------------------------------------
       
    45 //
       
    46 EXPORT_C CSPSettings* CSPSettings::NewL()
       
    47     {
       
    48     CSPSettings* self = CSPSettings::NewLC();
       
    49     CleanupStack::Pop( self );
       
    50     return self;
       
    51     }
       
    52 
       
    53 
       
    54 // ---------------------------------------------------------------------------
       
    55 // Constructor
       
    56 // ---------------------------------------------------------------------------
       
    57 //
       
    58 EXPORT_C CSPSettings* CSPSettings::NewLC()
       
    59     {
       
    60     CSPSettings* self = new( ELeave ) CSPSettings;
       
    61     CleanupStack::PushL( self );
       
    62     self->ConstructL();
       
    63     return self;
       
    64     }
       
    65 
       
    66 // ---------------------------------------------------------------------------
       
    67 // Constructor
       
    68 // ---------------------------------------------------------------------------
       
    69 //
       
    70 void CSPSettings::ConstructL()
       
    71     {
       
    72     //Nothing to be done
       
    73     }
       
    74 
       
    75 // ---------------------------------------------------------------------------
       
    76 // Find service provider settings entry by service ID
       
    77 // ---------------------------------------------------------------------------
       
    78 //
       
    79 EXPORT_C TInt CSPSettings::FindEntryL( TServiceId aServiceId, CSPEntry& /*aEntry*/ )
       
    80     {
       
    81     TInt serviceID = 5;
       
    82     aServiceId = serviceID;
       
    83     return KErrNone;
       
    84     }
       
    85 
       
    86 
       
    87 // End of File
       
    88