uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/src/stub/s_vimpststoragemanagerfactory.cpp
changeset 0 5e5d6b214f4f
equal deleted inserted replaced
-1:000000000000 0:5e5d6b214f4f
       
     1 /*
       
     2 * Copyright (c) 2006, 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:  s_enginecontmgtextfeatures.cpp
       
    15 *
       
    16 */
       
    17 
       
    18 // INCLUDE FILES
       
    19 #include "cvimpststoragemanagerfactory.h"
       
    20 #include "s_vimpststoragecontact.h"
       
    21 #include "mvimpststoragecontact.h"
       
    22 #include "s_vimpststorageserviceview.h"
       
    23 #include "s_storageitemmodel.h"
       
    24 
       
    25 // ============================ MEMBER FUNCTIONS ===============================
       
    26 
       
    27 // -----------------------------------------------------------------------------
       
    28 // CVIMPSTStorageManagerFactory::InitialiseLibraryL
       
    29 // Factory method that initialises the vimpststorage library
       
    30 // used by CVIMPSTViewIdFactory
       
    31 // -----------------------------------------------------------------------------
       
    32 //
       
    33 EXPORT_C void CVIMPSTStorageManagerFactory::InitialiseLibraryL()
       
    34     {
       
    35    
       
    36     }
       
    37 
       
    38 // -----------------------------------------------------------------------------
       
    39 // CVIMPSTStorageManagerFactory::Release
       
    40 // Factory method to release the resource owned by the vimpststorage library
       
    41 // -----------------------------------------------------------------------------
       
    42 //
       
    43 EXPORT_C TInt CVIMPSTStorageManagerFactory::Release()
       
    44     {
       
    45     return 1;  
       
    46     }
       
    47 
       
    48 // -----------------------------------------------------------------------------
       
    49 // CVIMPSTStorageManager::InitialiseViewL()
       
    50 // -----------------------------------------------------------------------------
       
    51 //
       
    52 EXPORT_C void CVIMPSTStorageManagerFactory::InitialiseViewL(
       
    53 												TUint32 aServiceId,
       
    54 												const TDesC& aStoreName,
       
    55 												const TDesC& aServiceName)
       
    56     {
       
    57     
       
    58     }    
       
    59     
       
    60 
       
    61 // -----------------------------------------------------------------------------
       
    62 // CVIMPSTStorageManager::ContactListInterfaceL()
       
    63 // -----------------------------------------------------------------------------
       
    64 //
       
    65 EXPORT_C MVIMPSTStorageServiceView* CVIMPSTStorageManagerFactory::ContactListInterfaceL(TUint32 aServiceId)
       
    66     {
       
    67     MVIMPSTStorageServiceView *contact = vimpstserviceview_stub::NewL();
       
    68     return contact ;
       
    69     }    
       
    70  
       
    71 // -----------------------------------------------------------------------------
       
    72 // CVIMPSTStorageManagerFactory::ItemModelInterfaceL
       
    73 // -----------------------------------------------------------------------------
       
    74 //
       
    75 EXPORT_C MVIMPSTStorageItemModel* CVIMPSTStorageManagerFactory::ItemModelInterfaceL( TUint32 aServiceId )
       
    76 	{
       
    77 	//MVIMPSTStorageItemModel* model = vimpststorageitemlist_stub::NewL();
       
    78 	return NULL;
       
    79     }      
       
    80 
       
    81 //  End of File