|
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: Connection UI interprocess signaller. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __CCNUISIGNALLER_H |
|
19 #define __CCNUISIGNALLER_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <E32Base.h> |
|
23 #include "MCnUiSignaller.h" |
|
24 #include "CCnUiGroupChannel.h" |
|
25 |
|
26 |
|
27 //FORWARD DECLARATION |
|
28 |
|
29 |
|
30 |
|
31 // CLASS DECLARATION |
|
32 /** |
|
33 * Connection UI signaller. |
|
34 * |
|
35 * Connection UI interprocess signalling implementation. |
|
36 * Connection UI signaller is used to do IPC signal between |
|
37 * different Connection Ui client process. |
|
38 * |
|
39 * Implements the MCnUiSignaller interface. |
|
40 * |
|
41 * @since 2.1 |
|
42 */ |
|
43 NONSHARABLE_CLASS( CCnUiSignaller ) : public CBase, |
|
44 public MCnUiSignaller |
|
45 { |
|
46 public: // Two-phased constructors and destructor |
|
47 |
|
48 /** |
|
49 * Two-phased constructor. |
|
50 */ |
|
51 static CCnUiSignaller* NewL(); |
|
52 |
|
53 /** |
|
54 * Destructor. |
|
55 */ |
|
56 virtual ~CCnUiSignaller(); |
|
57 |
|
58 |
|
59 private: |
|
60 |
|
61 /** |
|
62 * C++ constructor. |
|
63 */ |
|
64 CCnUiSignaller(); |
|
65 |
|
66 |
|
67 /** |
|
68 * Symbian OS constructor. |
|
69 */ |
|
70 void ConstructL(); |
|
71 |
|
72 |
|
73 public: // Functions from MCnUiSignaller |
|
74 |
|
75 |
|
76 /** |
|
77 * From MCnUiSignaller. |
|
78 * |
|
79 * @see MCnUiSignaller. |
|
80 * @since 2.1 |
|
81 */ |
|
82 TInt SignalOperationL( const TDesC& aDetailDesc ); |
|
83 |
|
84 |
|
85 /** |
|
86 * From MCnUiSignaller. |
|
87 * |
|
88 * @see MCnUiSignaller. |
|
89 * @since 2.1 |
|
90 */ |
|
91 void CancelOperationSignal(); |
|
92 |
|
93 |
|
94 /** |
|
95 * From MCnUiSignaller. |
|
96 * |
|
97 * @see MCnUiSignaller. |
|
98 * @since 2.1 |
|
99 */ |
|
100 TBool OperationRunning(); |
|
101 |
|
102 |
|
103 /** |
|
104 * From MCnUiSignaller. |
|
105 * |
|
106 * @see MCnUiSignaller. |
|
107 * @since 2.1 |
|
108 */ |
|
109 void OperationDetailsL( HBufC*& aDetailDesc ); |
|
110 |
|
111 |
|
112 private: // data |
|
113 |
|
114 ///<Flag for holding the operation signal notification state, owned |
|
115 TBool iOperationSignalRequested; |
|
116 |
|
117 ///<Operation signal channel, owned |
|
118 CCnUiGroupChannel* iOperationSignalChannel; |
|
119 }; |
|
120 |
|
121 #endif // __CCNUISIGNALLER_H |
|
122 |
|
123 // End of File |
|
124 |