/*
* Copyright (c) 2009 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:
*
*/
#ifndef CNTDEFAULTENGINE_H_
#define CNTDEFAULTENGINE_H_
#include <QObject>
#include <QList>
#include <cntabstractengine.h>
class CntDefaultEngine : public QObject, public CntAbstractEngine
{
Q_OBJECT
public:
CntDefaultEngine( CntAbstractViewManager& aManager );
~CntDefaultEngine();
public: // From CntAbstractEngine
QContactManager& contactManager( const QString& type );
CntAbstractViewManager& viewManager();
CntExtensionManager& extensionManager();
CntThumbnailManager& thumbnailManager();
CntSaveManager& saveManager();
private:
QList<QContactManager*> mBackends; // own list content
CntAbstractViewManager& mViewManager;
CntExtensionManager* mExtManager; // own
CntThumbnailManager* mThumbnail; // own
CntSaveManager* mSaveManager; // own
};
#endif /* CNTDEFAULTENGINE_H_ */