|
1 /** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 * All rights reserved. |
|
3 * This component and the accompanying materials are made available |
|
4 * under the terms of the License "Symbian Foundation License v1.0" |
|
5 * which accompanies this distribution, and is available |
|
6 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
7 * |
|
8 * Initial Contributors: |
|
9 * Nokia Corporation - initial contribution. |
|
10 * |
|
11 * Contributors: |
|
12 * |
|
13 * Description: |
|
14 * |
|
15 */ |
|
16 #include <QDebug> |
|
17 #include <smcmockclassincludes.h> |
|
18 #include "hbinstance.h" |
|
19 |
|
20 // ============================ MEMBER FUNCTIONS =============================== |
|
21 |
|
22 // ----------------------------------------------------------------------------- |
|
23 // HbInstance::instance |
|
24 // ----------------------------------------------------------------------------- |
|
25 // |
|
26 HbInstance * HbInstance::instance( ) |
|
27 { |
|
28 SMC_MOCK_METHOD0( HbInstance * ) |
|
29 } |
|
30 |
|
31 |
|
32 // ----------------------------------------------------------------------------- |
|
33 // HbInstance::allMainWindows |
|
34 // ----------------------------------------------------------------------------- |
|
35 // |
|
36 QList <HbMainWindow * > HbInstance::allMainWindows( ) const |
|
37 { |
|
38 SMC_MOCK_METHOD0( QList <HbMainWindow * > ) |
|
39 } |
|
40 |
|
41 |
|
42 // ----------------------------------------------------------------------------- |
|
43 // HbInstance::style |
|
44 // ----------------------------------------------------------------------------- |
|
45 // |
|
46 HbStyle * HbInstance::style( ) const |
|
47 { |
|
48 SMC_MOCK_METHOD0( HbStyle * ) |
|
49 } |
|
50 |
|
51 |
|
52 // ----------------------------------------------------------------------------- |
|
53 // HbInstance::theme |
|
54 // ----------------------------------------------------------------------------- |
|
55 // |
|
56 HbTheme * HbInstance::theme( ) const |
|
57 { |
|
58 SMC_MOCK_METHOD0( HbTheme * ) |
|
59 } |
|
60 |
|
61 |
|
62 // ----------------------------------------------------------------------------- |
|
63 // HbInstance::addLibraryPath |
|
64 // ----------------------------------------------------------------------------- |
|
65 // |
|
66 void HbInstance::addLibraryPath( |
|
67 const QString & path ) |
|
68 { |
|
69 SMC_MOCK_METHOD1( void, const QString &, path ) |
|
70 } |
|
71 |
|
72 |
|
73 // ----------------------------------------------------------------------------- |
|
74 // HbInstance::removeLibraryPath |
|
75 // ----------------------------------------------------------------------------- |
|
76 // |
|
77 void HbInstance::removeLibraryPath( |
|
78 const QString & path ) |
|
79 { |
|
80 SMC_MOCK_METHOD1( void, const QString &, path ) |
|
81 } |
|
82 |
|
83 |
|
84 // ----------------------------------------------------------------------------- |
|
85 // HbInstance::libraryPaths |
|
86 // ----------------------------------------------------------------------------- |
|
87 // |
|
88 QStringList HbInstance::libraryPaths( ) const |
|
89 { |
|
90 SMC_MOCK_METHOD0( QStringList ) |
|
91 } |
|
92 |
|
93 |
|
94 // ----------------------------------------------------------------------------- |
|
95 // HbInstance::setLibraryPaths |
|
96 // ----------------------------------------------------------------------------- |
|
97 // |
|
98 void HbInstance::setLibraryPaths( |
|
99 const QStringList & paths ) |
|
100 { |
|
101 SMC_MOCK_METHOD1( void, const QStringList &, paths ) |
|
102 } |
|
103 |
|
104 |