72
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 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:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef CNTDEFAULTENGINE_H_
|
|
19 |
#define CNTDEFAULTENGINE_H_
|
|
20 |
|
|
21 |
#include <QObject>
|
|
22 |
#include <QList>
|
|
23 |
#include <cntabstractengine.h>
|
|
24 |
|
|
25 |
class CntDefaultEngine : public QObject, public CntAbstractEngine
|
|
26 |
{
|
|
27 |
Q_OBJECT
|
|
28 |
public:
|
|
29 |
CntDefaultEngine( CntAbstractViewManager& aManager );
|
|
30 |
~CntDefaultEngine();
|
|
31 |
|
81
|
32 |
public: // From CntAbstractEngine
|
|
33 |
QContactManager& contactManager( const QString& type );
|
72
|
34 |
CntAbstractViewManager& viewManager();
|
|
35 |
CntExtensionManager& extensionManager();
|
|
36 |
CntThumbnailManager& thumbnailManager();
|
81
|
37 |
CntSaveManager& saveManager();
|
72
|
38 |
|
|
39 |
private:
|
81
|
40 |
QList<QContactManager*> mBackends; // own list content
|
72
|
41 |
CntAbstractViewManager& mViewManager;
|
81
|
42 |
CntExtensionManager* mExtManager; // own
|
|
43 |
CntThumbnailManager* mThumbnail; // own
|
|
44 |
CntSaveManager* mSaveManager; // own
|
72
|
45 |
};
|
|
46 |
|
|
47 |
#endif /* CNTDEFAULTENGINE_H_ */
|