|
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: |
|
15 * |
|
16 */ |
|
17 #include "mcsmenuhandler.h" |
|
18 |
|
19 // ================= MEMBER FUNCTIONS ======================= |
|
20 |
|
21 NONSHARABLE_CLASS( CMenuHandler::TData ) |
|
22 { |
|
23 // Future-proofing only. |
|
24 }; |
|
25 |
|
26 // ================= MEMBER FUNCTIONS ======================= |
|
27 |
|
28 // --------------------------------------------------------- |
|
29 // CMenuHandler::~CMenuHandler |
|
30 // --------------------------------------------------------- |
|
31 // |
|
32 EXPORT_C CMenuHandler::~CMenuHandler() |
|
33 { |
|
34 } |
|
35 |
|
36 // --------------------------------------------------------- |
|
37 // CMenuHandler::CMenuHandler |
|
38 // --------------------------------------------------------- |
|
39 // |
|
40 EXPORT_C CMenuHandler::CMenuHandler( RMenu &aMenu ) |
|
41 : iMenu( aMenu ) |
|
42 { |
|
43 } |
|
44 |
|
45 // --------------------------------------------------------- |
|
46 // CMenuHandler::BaseConstructL |
|
47 // --------------------------------------------------------- |
|
48 // |
|
49 EXPORT_C void CMenuHandler::BaseConstructL() |
|
50 { |
|
51 // Future-proofing only. |
|
52 } |
|
53 |
|
54 // --------------------------------------------------------- |
|
55 // CMenuHandler::SupportsType |
|
56 // --------------------------------------------------------- |
|
57 // |
|
58 EXPORT_C TBool CMenuHandler::SupportsType( const TDesC& /*aType*/ ) |
|
59 { |
|
60 return EFalse; |
|
61 } |
|
62 |
|
63 // --------------------------------------------------------- |
|
64 // CMenuHandler::HandleCommandL |
|
65 // --------------------------------------------------------- |
|
66 // |
|
67 EXPORT_C CMenuOperation* CMenuHandler::HandleCommandL( |
|
68 CMenuItem& /*aItem*/, |
|
69 const TDesC8& /*aCommand*/, |
|
70 const TDesC8& /*aParams*/, |
|
71 TRequestStatus& /*aStatus*/ ) |
|
72 { |
|
73 User::Leave( KErrNotSupported ); |
|
74 return NULL; |
|
75 } |