equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
62 enum TIAUpdateType |
62 enum TIAUpdateType |
63 { |
63 { |
64 /** |
64 /** |
65 * No operation is going on. |
65 * No operation is going on. |
66 */ |
66 */ |
67 EIAUpdateIdle, |
67 EIAUpdateIdle, |
|
68 /** |
|
69 * SWUpdate app start requested. |
|
70 */ |
|
71 |
|
72 EIAUpdateStartServer, |
68 |
73 |
69 /** |
74 /** |
70 * Update check has been requested. |
75 * Update check has been requested. |
71 */ |
76 */ |
72 EIAUpdateCheck, |
77 EIAUpdateCheck, |
240 |
245 |
241 /** |
246 /** |
242 * Handles the application going into the background. |
247 * Handles the application going into the background. |
243 */ |
248 */ |
244 void HandleLosingForeground(); |
249 void HandleLosingForeground(); |
245 |
250 |
|
251 private:// new functions |
|
252 |
|
253 void CheckUpdatesContinue(); |
|
254 |
|
255 void CopyUpdateParamsL( const CIAUpdateParameters& aUpdateParameters ); |
246 |
256 |
247 private: // data |
257 private: // data |
248 |
258 |
|
259 CIAUpdateParameters* iUpdateParameters; |
|
260 |
249 // Observer who will be informed about the completion of the operations. |
261 // Observer who will be informed about the completion of the operations. |
250 MIAUpdateObserver& iObserver; |
262 MIAUpdateObserver& iObserver; |
251 |
263 |
252 // Handles the client server communication. |
264 // Handles the client server communication. |
253 RIAUpdateClient iUpdateClient; |
265 RIAUpdateClient iUpdateClient; |