diff -r 000000000000 -r 094583676ce7 wvuing/wvuistorage/src/CCAStorageManagerFactory.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wvuing/wvuistorage/src/CCAStorageManagerFactory.cpp Thu Dec 17 08:41:52 2009 +0200 @@ -0,0 +1,62 @@ +/* +* Copyright (c) 2003 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: Implementationf for contact and group list factory +* +*/ + + + +// INCLUDE FILES +#include + +#include "CCAStorageManagerFactory.h" +#include "CCAStorageManager.h" +#include "MCAStoredContacts.h" +#include "MCAStoredGroups.h" +#include "CCAStorageDefs.h" +#include "ChatDebugPrint.h" + +// ============================ MEMBER FUNCTIONS =============================== + +// ----------------------------------------------------------------------------- +// CCAStorageManagerFactory::ContactListInterface +// ----------------------------------------------------------------------------- +// +EXPORT_C MCAStoredContacts* CCAStorageManagerFactory::ContactListInterfaceL() + { + return ( MCAStoredContacts* ) CCAStorageManager::InstanceL(); + } + +// ----------------------------------------------------------------------------- +// CCAStorageManagerFactory::GroupListInterface +// ----------------------------------------------------------------------------- +// +EXPORT_C MCAStoredGroups* CCAStorageManagerFactory::GroupListInterfaceL() + { + return ( MCAStoredGroups* ) CCAStorageManager::InstanceL(); + } + + +// ----------------------------------------------------------------------------- +// CCAStorageManagerFactory::ReleaseL +// ----------------------------------------------------------------------------- +// +EXPORT_C void CCAStorageManagerFactory::ReleaseL() + { + CCAStorageManager::ReleaseL(); + } + +// ========================== OTHER EXPORTED FUNCTIONS ========================= + +// End of File