equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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: Drop shadow handler |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef ALFSRVDROPSHADOWHANDLER_H |
|
21 #define ALFSRVDROPSHADOWHANDLER_H |
|
22 |
|
23 #include <e32base.h> |
|
24 |
|
25 class CHuiDropShadow; |
|
26 |
|
27 /** |
|
28 * Drop shadow handler |
|
29 * |
|
30 * @since S60 v5.0.1 |
|
31 */ |
|
32 NONSHARABLE_CLASS( AlfSrvDropShadowHandler ) |
|
33 { |
|
34 public: |
|
35 |
|
36 /** |
|
37 * Checks if the command can be handled by this class |
|
38 * |
|
39 * @param aCommand Command to check. |
|
40 * |
|
41 * @return ETrue if this class can handle the command. |
|
42 */ |
|
43 static TBool CanHandleCommand( TInt aCommand ); |
|
44 |
|
45 /** |
|
46 * Handles the command |
|
47 * |
|
48 * @param aDropShadow Drop shadow handler which is controlled by the command. |
|
49 * @param aCommandId Command to execute. |
|
50 * @param aInputBuffer Input parameter buffer for the command. |
|
51 * @param aResponse Response buffer. |
|
52 */ |
|
53 static void HandleCommandL( |
|
54 CHuiDropShadow& aDropShadow, |
|
55 TInt aCommandId, |
|
56 const TDesC8& aInputBuffer, |
|
57 TDes8& aResponse ); |
|
58 |
|
59 }; |
|
60 |
|
61 #endif // ALFSRVDROPSHADOWHANDLER_H |