|
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: Interface Ui information |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CPHCLTUSSDINT_H |
|
20 #define CPHCLTUSSDINT_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include <CPhCltUssd.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 // CLASS DECLARATION |
|
28 |
|
29 |
|
30 /** |
|
31 * Interface for sending messages. |
|
32 * |
|
33 * @lib phoneclient.lib |
|
34 * @since 1.0 |
|
35 */ |
|
36 class CPhCltUssdInt : |
|
37 public CPhCltUssd |
|
38 |
|
39 { |
|
40 public: // Constructors and destructor |
|
41 |
|
42 |
|
43 // CPhCltUssdInt(); |
|
44 |
|
45 /** |
|
46 * Two-phased constructor. |
|
47 * |
|
48 * @param aShowNotes If ETrue, notes are shown. |
|
49 * @return Pointer to created CPhCltUssd instance. |
|
50 */ |
|
51 IMPORT_C static CPhCltUssdInt* NewL( TBool aShowNotes = ETrue ); |
|
52 |
|
53 |
|
54 protected: |
|
55 //--------------------- From app ------------------------------ |
|
56 |
|
57 /** |
|
58 * UI informs that it is been created |
|
59 * |
|
60 * @return Error code. |
|
61 */ |
|
62 virtual TInt AppStarting() = 0; |
|
63 |
|
64 /** |
|
65 * UI informs that it is terminating. |
|
66 * |
|
67 * @param aExitReason The reason why the application was terminated. |
|
68 * @return Error code. |
|
69 */ |
|
70 IMPORT_C virtual TInt AppTerminating( |
|
71 TPhCltUssdAppExitReason aExitReason ) = 0; |
|
72 |
|
73 /** |
|
74 * UI informs that it is brougth to foreground. |
|
75 * |
|
76 * @return Should the editor be emptied? |
|
77 */ |
|
78 virtual TBool AppToForeground() = 0; |
|
79 |
|
80 /** |
|
81 * UI informs that it is gone background. |
|
82 * |
|
83 * @return Error code. |
|
84 */ |
|
85 virtual TInt AppToBackground() = 0; |
|
86 |
|
87 /** |
|
88 * C++ constructor. |
|
89 */ |
|
90 CPhCltUssdInt(); |
|
91 |
|
92 protected: |
|
93 |
|
94 // CUssdComms can call the protected functions mentioned above. |
|
95 friend class CUssdComms; |
|
96 |
|
97 }; |
|
98 |
|
99 #endif // CPHCLTUSSDINT_H |
|
100 |
|
101 // End of File |