wvuing/wvuistorage/src/CCAStorageManagerFactory.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 18 Jan 2010 20:12:18 +0200
changeset 1 9018c32e7116
parent 0 094583676ce7
permissions -rw-r--r--
Revision: 201001 Kit: 201003

/*
* 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 <e32std.h>

#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