equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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: Mocked classes for testing CalenDayItem class |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CALENSERVICES_H |
|
19 #define CALENSERVICES_H |
|
20 |
|
21 /*! |
|
22 Mocked class MCalenServices |
|
23 */ |
|
24 class MCalenServices |
|
25 { |
|
26 public: |
|
27 MCalenServices() { |
|
28 |
|
29 } |
|
30 |
|
31 ~MCalenServices() { |
|
32 |
|
33 } |
|
34 }; |
|
35 |
|
36 #endif // CALENSERVICES_H |
|
37 |
|
38 #ifndef CALEDAYVIEW_H |
|
39 #define CALEDAYVIEW_H |
|
40 |
|
41 #include <HbView> |
|
42 |
|
43 enum TCalenCommandId |
|
44 { |
|
45 ECalenMonthView = 0, |
|
46 ECalenWeekView, |
|
47 ECalenAgendaView |
|
48 }; |
|
49 |
|
50 /*! |
|
51 Mocked class CalenDayView |
|
52 */ |
|
53 class CalenDayView : public HbView |
|
54 { |
|
55 public: |
|
56 |
|
57 CalenDayView(MCalenServices &services) { |
|
58 Q_UNUSED(services) |
|
59 } |
|
60 |
|
61 virtual ~CalenDayView() { |
|
62 |
|
63 } |
|
64 |
|
65 void changeView(TCalenCommandId viewId) { |
|
66 Q_UNUSED(viewId) |
|
67 } |
|
68 }; |
|
69 |
|
70 #endif // CALEDAYVIEW_H |
|
71 |
|
72 //End of file |
|
73 |