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: Orbit stubs for Live Comms UI unit tests |
|
15 * |
|
16 */ |
|
17 #ifndef HBINSTANCE_H |
|
18 #define HBINSTANCE_H |
|
19 |
|
20 #include <hbglobal.h> |
|
21 #include <hbmainwindow.h> |
|
22 #include <QList.h> |
|
23 |
|
24 #define hbInstance (HbInstance::instance()) |
|
25 |
|
26 class HbInstance |
|
27 { |
|
28 public: |
|
29 static HbInstance *instance(); |
|
30 QList<HbMainWindow *> allMainWindows() const; |
|
31 |
|
32 private: |
|
33 HbInstance(); |
|
34 ~HbInstance(); |
|
35 |
|
36 private: // Data added for the unit testing stub |
|
37 QList<HbMainWindow *> mAllMainWindows; |
|
38 }; |
|
39 |
|
40 #endif // HBINSTANCE_H |