|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalTechnology |
|
21 @released |
|
22 */ |
|
23 |
|
24 #ifndef CoreDumpUI_DIALOGS_H |
|
25 #define CoreDumpUI_DIALOGS_H |
|
26 |
|
27 #include <eikdialg.h> |
|
28 #include <coredumpinterface.h> |
|
29 #include <optionconfig.h> |
|
30 |
|
31 class CCoreDumpDialogBase : public CEikDialog |
|
32 { |
|
33 public: |
|
34 // constructor |
|
35 CCoreDumpDialogBase(RCoreDumpSession &aCoreDumpSession); |
|
36 virtual ~CCoreDumpDialogBase(); |
|
37 public: |
|
38 void DisplayErrorL(TDesC& aMessage, TInt aErrorNumber); |
|
39 void DisplayErrorL(TDesC& aMessage); |
|
40 |
|
41 protected: |
|
42 RCoreDumpSession &iCoreDumpSession; |
|
43 RPointerArray<COptionConfig> iConfs; |
|
44 |
|
45 }; |
|
46 |
|
47 |
|
48 class CConfigurePluginDialog : public CCoreDumpDialogBase |
|
49 { |
|
50 public: |
|
51 // constructor |
|
52 CConfigurePluginDialog(TUid aUid, RCoreDumpSession &aCoreDumpSession, TInt aInstance); |
|
53 ~CConfigurePluginDialog(); |
|
54 |
|
55 private: |
|
56 void PreLayoutDynInitL(); |
|
57 void PostLayoutDynInitL(); |
|
58 TBool OkToExitL(TInt aKeycode); |
|
59 void UpdateDialogDataL(void); |
|
60 void UpdatePriorityText(void); |
|
61 void UpdateProcessId(void); |
|
62 |
|
63 private: |
|
64 TUid iUid; |
|
65 TInt iInstance; |
|
66 }; |
|
67 |
|
68 |
|
69 #endif |