|
1 /* |
|
2 * Copyright (c) 2004 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 |
|
20 |
|
21 #ifndef __CREATEMCETESTSETTINGSDIALOG_H__ |
|
22 #define __CREATEMCETESTSETTINGSDIALOG_H__ (0x1) |
|
23 |
|
24 // INCLUDES |
|
25 #include <E32Base.h> |
|
26 #include <eikbutb.h> |
|
27 #include <eikenv.h> |
|
28 #include <eikdialg.h> |
|
29 #include <eikedwin.h> |
|
30 #include <in_sock.h> // for TInetAddr |
|
31 #include <es_sock.h> // for SetPort() |
|
32 #include <utf.h> |
|
33 #include <coeinput.h> |
|
34 #include <eikmfne.h> |
|
35 |
|
36 #include <akndialog.h> |
|
37 #include <aknform.h> |
|
38 #include "MCETestUI.hrh" |
|
39 #include "CMCETestUIEngine.h" |
|
40 #include <AknPopupFieldText.h> |
|
41 |
|
42 /** |
|
43 * @class CCreateAudioCodecDialog |
|
44 * |
|
45 * A dialog that uses a CAknForm control |
|
46 * and allows a the user to edit session type parameters |
|
47 */ |
|
48 |
|
49 class CCreateMceSettingsDialog: public CAknForm |
|
50 { |
|
51 public: |
|
52 /** |
|
53 Perform the first phase of two phase construction |
|
54 @param aParams Receive parameters |
|
55 */ |
|
56 CCreateMceSettingsDialog(CMCETestUIEngine& aEngine); |
|
57 |
|
58 /** |
|
59 Destroy the object |
|
60 */ |
|
61 ~CCreateMceSettingsDialog(); |
|
62 |
|
63 private: // from CEikDialog |
|
64 /** |
|
65 Exit and return values |
|
66 @param aKeyCode Key that terminated dialog |
|
67 @result Always returns ETrue, Ok to exit |
|
68 */ |
|
69 TBool OkToExitL(TInt aKeyCode); |
|
70 |
|
71 /** |
|
72 Perform dynamic initialisation prior to displaying dialog |
|
73 */ |
|
74 void PreLayoutDynInitL(); |
|
75 |
|
76 private: |
|
77 /** @var iParams Return item after dialog has run, owned by caller */ |
|
78 CMCETestUIEngine& iEngine; |
|
79 }; |
|
80 |
|
81 /** |
|
82 Append two message and pass it to a single message dialog. |
|
83 @param aMessage1 |
|
84 @param aMessage2 |
|
85 */ |
|
86 extern void MessageBox( const TDesC& aMessage1, const TDesC& aMessage2 ); |
|
87 |
|
88 /** |
|
89 Display message box dialog. |
|
90 @param aMessage |
|
91 */ |
|
92 extern void MessageBox( const TDesC& aMessage ); |
|
93 |
|
94 #endif // __CREATESESSIONDIALOG_H__ |
|
95 |
|
96 // End of File |