equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1999 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 |
|
18 |
|
19 #ifndef __EIKDBCOB_H__ |
|
20 #define __EIKDBCOB_H__ |
|
21 |
|
22 #if !defined(__E32BASE_H__) |
|
23 #include <e32base.h> |
|
24 #endif |
|
25 |
|
26 #ifndef __EIKCMOBS_H__ |
|
27 #include <eikcmobs.h> |
|
28 #endif |
|
29 |
|
30 class CEikDialog; |
|
31 |
|
32 /** |
|
33 * The CEikDialogButtonCommandObserver class handles commands issued from a dialog's buttons |
|
34 * for a dialog. This allows a dialog to directly observe commands issued by controls on its pages or |
|
35 * from menus which it launches. |
|
36 * |
|
37 * @since ER5U |
|
38 * @internal |
|
39 */ |
|
40 NONSHARABLE_CLASS(CEikDialogButtonCommandObserver) : public CBase, public MEikCommandObserver |
|
41 { |
|
42 public: |
|
43 static CEikDialogButtonCommandObserver* NewLC(CEikDialog& aDialog); |
|
44 static CEikDialogButtonCommandObserver* NewL(CEikDialog& aDialog); |
|
45 ~CEikDialogButtonCommandObserver(); |
|
46 public: // from MEikCommandObserver: |
|
47 virtual void ProcessCommandL(TInt aCommandId); |
|
48 private: |
|
49 CEikDialogButtonCommandObserver(CEikDialog& aDialog); |
|
50 private: |
|
51 CEikDialog& iDialog; |
|
52 }; |
|
53 |
|
54 #endif |