1 /* |
|
2 * Copyright (c) 2002 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: CConnectionMonitorUiApp application class |
|
15 * |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CONNECTIONMONITORUIAPP_H |
|
21 #define CONNECTIONMONITORUIAPP_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <aknapp.h> |
|
25 |
|
26 // CONSTANTS |
|
27 // UID of the application |
|
28 const TUid KUidConnectionMonitorUi = { 0x101F84D0 }; |
|
29 |
|
30 const TInt KErrUnknownConnectionState = -50000; |
|
31 const TInt KErrCorruptedBearerType = -50001; |
|
32 |
|
33 /** |
|
34 * Global panic function |
|
35 */ |
|
36 extern void Panic( TInt aReason ); |
|
37 |
|
38 // CLASS DECLARATION |
|
39 |
|
40 /** |
|
41 * CConnectionMonitorUiApp application class. |
|
42 * Provides factory to create concrete document object. |
|
43 * |
|
44 */ |
|
45 class CConnectionMonitorUiApp : public CAknApplication |
|
46 { |
|
47 public: |
|
48 |
|
49 public: // Functions from base classes |
|
50 |
|
51 private: |
|
52 |
|
53 /** |
|
54 * From CApaApplication, creates CConnectionMonitorUiDocument |
|
55 * @return A pointer to the created document object. |
|
56 */ |
|
57 CApaDocument* CreateDocumentL(); |
|
58 |
|
59 /** |
|
60 * From CApaApplication, returns application's UID |
|
61 * @return The value of KUidConnectionMonitorUi. |
|
62 */ |
|
63 TUid AppDllUid() const; |
|
64 |
|
65 }; |
|
66 |
|
67 #endif // CONNECTIONMONITORUIAPP_H |
|
68 |
|
69 // End of File |
|
70 |
|