|
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: Music Player Settings view Stub. |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "stub/inc/mpmediawallview.h" |
|
19 |
|
20 |
|
21 MpMediaWallView::MpMediaWallView() : |
|
22 mInitializeViewCount(0), |
|
23 mActivateViewCount(0), |
|
24 mDeactivateViewCount(0) |
|
25 { |
|
26 } |
|
27 |
|
28 /*! |
|
29 Destructs the media wall view. |
|
30 */ |
|
31 MpMediaWallView::~MpMediaWallView() |
|
32 { |
|
33 } |
|
34 |
|
35 /*! |
|
36 Initializes the media wall view. |
|
37 */ |
|
38 void MpMediaWallView::initializeView() |
|
39 { |
|
40 mInitializeViewCount++; |
|
41 } |
|
42 |
|
43 /*! |
|
44 Activates the media wall view. |
|
45 */ |
|
46 void MpMediaWallView::activateView() |
|
47 { |
|
48 mActivateViewCount++; |
|
49 } |
|
50 |
|
51 /*! |
|
52 Deactivates the media wall view. |
|
53 */ |
|
54 void MpMediaWallView::deactivateView() |
|
55 { |
|
56 mDeactivateViewCount++; |
|
57 } |
|
58 |
|
59 /*! |
|
60 Resets counters |
|
61 */ |
|
62 void MpMediaWallView::resetCounters() |
|
63 { |
|
64 mInitializeViewCount = 0; |
|
65 mActivateViewCount = 0; |
|
66 mDeactivateViewCount = 0; |
|
67 } |
|
68 |