equal
deleted
inserted
replaced
142 // ----------------------------------------------------------------------------- |
142 // ----------------------------------------------------------------------------- |
143 // |
143 // |
144 // ----------------------------------------------------------------------------- |
144 // ----------------------------------------------------------------------------- |
145 // |
145 // |
146 void CCPClient::RegisterObserverL( MLiwNotifyCallback* aObserver, |
146 void CCPClient::RegisterObserverL( MLiwNotifyCallback* aObserver, |
147 const CLiwGenericParamList& aInParamList, TInt32 aTransactionId ) |
147 const CLiwGenericParamList& aInParamList, |
|
148 TInt32 aTransactionId, |
|
149 TUint aCmdOptions ) |
148 { |
150 { |
149 CP_DEBUG( _L8("CCPClient::RegisterObserverL()") ); |
151 CP_DEBUG( _L8("CCPClient::RegisterObserverL()") ); |
150 CP_EXTENDED_DEBUG( "RegisterObserver()" , aInParamList ); |
152 CP_EXTENDED_DEBUG( "RegisterObserver()" , aInParamList ); |
151 CheckMapL( aInParamList, KFilter ); |
153 CheckMapL( aInParamList, KFilter ); |
152 CCPLiwMap* inMapForServer = CCPLiwMap::NewL( aInParamList ); |
154 CCPLiwMap* inMapForServer = CCPLiwMap::NewL( aInParamList ); |
154 inMapForServer->IsValidForNotificationL( ); |
156 inMapForServer->IsValidForNotificationL( ); |
155 if ( !iActiveNotifier ) |
157 if ( !iActiveNotifier ) |
156 { |
158 { |
157 iActiveNotifier = CCPActiveNotifier::NewL( iServerClient ); |
159 iActiveNotifier = CCPActiveNotifier::NewL( iServerClient ); |
158 } |
160 } |
159 iActiveNotifier->RegisterL( aObserver, aTransactionId, inMapForServer ); |
161 iActiveNotifier->RegisterL( aObserver, aTransactionId, inMapForServer, |
|
162 aCmdOptions ); |
160 CleanupStack::PopAndDestroy( inMapForServer ); |
163 CleanupStack::PopAndDestroy( inMapForServer ); |
161 } |
164 } |
162 |
165 |
163 // ----------------------------------------------------------------------------- |
166 // ----------------------------------------------------------------------------- |
164 // |
167 // |