|
1 /** Copyright (c) 2010 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 "Eclipse Public License v1.0" |
|
5 * which accompanies this distribution, and is available |
|
6 * at the URL "http://www.eclipse.org/legal/epl-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 <hbinstantfeedback.h> |
|
19 |
|
20 // ============================ MEMBER FUNCTIONS =============================== |
|
21 |
|
22 // ----------------------------------------------------------------------------- |
|
23 // HbInstantFeedback::HbInstantFeedback |
|
24 // ----------------------------------------------------------------------------- |
|
25 // |
|
26 HbInstantFeedback::HbInstantFeedback( ) |
|
27 //: |
|
28 //HbAbstractFeedback( /**/ ) |
|
29 { |
|
30 |
|
31 } |
|
32 |
|
33 |
|
34 // ----------------------------------------------------------------------------- |
|
35 // HbInstantFeedback::HbInstantFeedback |
|
36 // ----------------------------------------------------------------------------- |
|
37 // |
|
38 HbInstantFeedback::HbInstantFeedback( |
|
39 HbFeedback::InstantEffect /*effect*/ ) |
|
40 //: |
|
41 //HbAbstractFeedback( /*effect*/ ) |
|
42 { |
|
43 |
|
44 } |
|
45 |
|
46 |
|
47 // ----------------------------------------------------------------------------- |
|
48 // HbInstantFeedback::~HbInstantFeedback |
|
49 // ----------------------------------------------------------------------------- |
|
50 // |
|
51 HbInstantFeedback::~HbInstantFeedback( ) |
|
52 { |
|
53 |
|
54 } |
|
55 |
|
56 |
|
57 // ----------------------------------------------------------------------------- |
|
58 // HbInstantFeedback::play |
|
59 // ----------------------------------------------------------------------------- |
|
60 // |
|
61 void HbInstantFeedback::play( ) |
|
62 { |
|
63 SMC_MOCK_METHOD0( void ) |
|
64 } |
|
65 |
|
66 |
|
67 // ----------------------------------------------------------------------------- |
|
68 // HbInstantFeedback::play |
|
69 // ----------------------------------------------------------------------------- |
|
70 // |
|
71 void HbInstantFeedback::play( |
|
72 HbFeedback::InstantEffect effect ) |
|
73 { |
|
74 SMC_MOCK_METHOD1( void, HbFeedback::InstantEffect, effect ) |
|
75 } |
|
76 |
|
77 |
|
78 // ----------------------------------------------------------------------------- |
|
79 // HbInstantFeedback::type |
|
80 // ----------------------------------------------------------------------------- |
|
81 // |
|
82 /*HbFeedback::Type HbInstantFeedback::type( ) const |
|
83 { |
|
84 SMC_MOCK_METHOD0( HbFeedback::Type ) |
|
85 } |
|
86 */ |
|
87 |
|
88 // ----------------------------------------------------------------------------- |
|
89 // HbInstantFeedback::isValid |
|
90 // ----------------------------------------------------------------------------- |
|
91 // |
|
92 bool HbInstantFeedback::isValid( ) const |
|
93 { |
|
94 SMC_MOCK_METHOD0( bool ) |
|
95 } |
|
96 |
|
97 |
|
98 // ----------------------------------------------------------------------------- |
|
99 // HbInstantFeedback::instantEffect |
|
100 // ----------------------------------------------------------------------------- |
|
101 // |
|
102 HbFeedback::InstantEffect HbInstantFeedback::instantEffect( ) const |
|
103 { |
|
104 SMC_MOCK_METHOD0( HbFeedback::InstantEffect ) |
|
105 } |
|
106 |
|
107 |
|
108 // ----------------------------------------------------------------------------- |
|
109 // HbInstantFeedback::setInstantEffect |
|
110 // ----------------------------------------------------------------------------- |
|
111 // |
|
112 void HbInstantFeedback::setInstantEffect( |
|
113 HbFeedback::InstantEffect effect ) |
|
114 { |
|
115 SMC_MOCK_METHOD1( void, HbFeedback::InstantEffect, effect ) |
|
116 } |
|
117 |
|
118 |
|
119 // ----------------------------------------------------------------------------- |
|
120 // HbInstantFeedback::operator= |
|
121 // ----------------------------------------------------------------------------- |
|
122 // |
|
123 HbInstantFeedback & HbInstantFeedback::operator=( |
|
124 const HbInstantFeedback & feedback ) |
|
125 { |
|
126 SMC_MOCK_METHOD1( HbInstantFeedback &, const HbInstantFeedback &, feedback ) |
|
127 } |
|
128 |
|
129 |
|
130 // ----------------------------------------------------------------------------- |
|
131 // HbInstantFeedback::operator== |
|
132 // ----------------------------------------------------------------------------- |
|
133 // |
|
134 bool HbInstantFeedback::operator==( |
|
135 const HbInstantFeedback & feedback ) const |
|
136 { |
|
137 SMC_MOCK_METHOD1( bool, const HbInstantFeedback &, feedback ) |
|
138 } |
|
139 |
|
140 |
|
141 // ----------------------------------------------------------------------------- |
|
142 // HbInstantFeedback::operator!= |
|
143 // ----------------------------------------------------------------------------- |
|
144 // |
|
145 bool HbInstantFeedback::operator!=( |
|
146 const HbInstantFeedback & feedback ) const |
|
147 { |
|
148 SMC_MOCK_METHOD1( bool, const HbInstantFeedback &, feedback ) |
|
149 } |
|
150 |
|
151 |