calendarui/views/dayview/tsrc/unittests/unittest_calendayitemview/calenservices.h
equal
deleted
inserted
replaced
18 #ifndef CALENSERVICES_H |
18 #ifndef CALENSERVICES_H |
19 #define CALENSERVICES_H |
19 #define CALENSERVICES_H |
20 |
20 |
21 #include "calencontext.h" |
21 #include "calencontext.h" |
22 |
22 |
|
23 extern quint32 SELECTED_COMMAND; |
|
24 |
23 /*! |
25 /*! |
24 Mocked class MCalenServices |
26 Mocked class MCalenServices |
25 */ |
27 */ |
26 class MCalenServices |
28 class MCalenServices |
27 { |
29 { |
34 |
36 |
35 } |
37 } |
36 |
38 |
37 MCalenContext Context() {return MCalenContext();} |
39 MCalenContext Context() {return MCalenContext();} |
38 |
40 |
39 bool IssueCommandL( quint32 aCommand ) {Q_UNUSED(aCommand); return true;} |
41 bool IssueCommandL( quint32 aCommand ) |
|
42 { |
|
43 SELECTED_COMMAND = aCommand; |
|
44 |
|
45 return true; |
|
46 } |
40 }; |
47 }; |
41 |
48 |
42 #endif // CALENSERVICES_H |
49 #endif // CALENSERVICES_H |