diff -r 000000000000 -r 5e5d6b214f4f uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/src/stub/s_vimpststoragemanagerfactory.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/src/stub/s_vimpststoragemanagerfactory.cpp Tue Feb 02 10:12:18 2010 +0200 @@ -0,0 +1,81 @@ +/* +* Copyright (c) 2006, 2007 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: s_enginecontmgtextfeatures.cpp +* +*/ + +// INCLUDE FILES +#include "cvimpststoragemanagerfactory.h" +#include "s_vimpststoragecontact.h" +#include "mvimpststoragecontact.h" +#include "s_vimpststorageserviceview.h" +#include "s_storageitemmodel.h" + +// ============================ MEMBER FUNCTIONS =============================== + +// ----------------------------------------------------------------------------- +// CVIMPSTStorageManagerFactory::InitialiseLibraryL +// Factory method that initialises the vimpststorage library +// used by CVIMPSTViewIdFactory +// ----------------------------------------------------------------------------- +// +EXPORT_C void CVIMPSTStorageManagerFactory::InitialiseLibraryL() + { + + } + +// ----------------------------------------------------------------------------- +// CVIMPSTStorageManagerFactory::Release +// Factory method to release the resource owned by the vimpststorage library +// ----------------------------------------------------------------------------- +// +EXPORT_C TInt CVIMPSTStorageManagerFactory::Release() + { + return 1; + } + +// ----------------------------------------------------------------------------- +// CVIMPSTStorageManager::InitialiseViewL() +// ----------------------------------------------------------------------------- +// +EXPORT_C void CVIMPSTStorageManagerFactory::InitialiseViewL( + TUint32 aServiceId, + const TDesC& aStoreName, + const TDesC& aServiceName) + { + + } + + +// ----------------------------------------------------------------------------- +// CVIMPSTStorageManager::ContactListInterfaceL() +// ----------------------------------------------------------------------------- +// +EXPORT_C MVIMPSTStorageServiceView* CVIMPSTStorageManagerFactory::ContactListInterfaceL(TUint32 aServiceId) + { + MVIMPSTStorageServiceView *contact = vimpstserviceview_stub::NewL(); + return contact ; + } + +// ----------------------------------------------------------------------------- +// CVIMPSTStorageManagerFactory::ItemModelInterfaceL +// ----------------------------------------------------------------------------- +// +EXPORT_C MVIMPSTStorageItemModel* CVIMPSTStorageManagerFactory::ItemModelInterfaceL( TUint32 aServiceId ) + { + //MVIMPSTStorageItemModel* model = vimpststorageitemlist_stub::NewL(); + return NULL; + } + +// End of File