equal
deleted
inserted
replaced
|
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 |
|
32 public: |
|
33 QContactManager& contactManager( const QString& aType ); |
|
34 CntAbstractViewManager& viewManager(); |
|
35 CntExtensionManager& extensionManager(); |
|
36 CntThumbnailManager& thumbnailManager(); |
|
37 |
|
38 private: |
|
39 QList<QContactManager*> mBackends; |
|
40 CntAbstractViewManager& mViewManager; |
|
41 CntExtensionManager* mExtManager; |
|
42 CntThumbnailManager* mThumbnail; |
|
43 }; |
|
44 |
|
45 #endif /* CNTDEFAULTENGINE_H_ */ |