equal
deleted
inserted
replaced
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
12 // |
12 // |
13 // Description: |
13 // Description: |
|
14 // apsnnappupdates.h |
14 // |
15 // |
15 |
16 |
16 #ifndef APSNNAPPUPDATES_H |
17 #ifndef APSNNAPPUPDATES_H |
17 #define APSNNAPPUPDATES_H |
18 #define APSNNAPPUPDATES_H |
18 |
19 |
21 |
22 |
22 |
23 |
23 |
24 |
24 // classes referenced |
25 // classes referenced |
25 class CApaAppData; |
26 class CApaAppData; |
26 class CApaAppListServer; |
27 class CApaAppArcServer; |
27 class RApsUpdateLog; |
28 class RApsUpdateLog; |
28 class RWriteStream; |
29 class RWriteStream; |
29 |
30 |
30 /** |
31 /** |
31 This class keeps track of a resource file or icon file, |
32 This class keeps track of a resource file or icon file, |
249 @internalComponent |
250 @internalComponent |
250 */ |
251 */ |
251 NONSHARABLE_CLASS(CApsDeregisterNonNativeApplication) : public CApsNonNativeApplicationsUpdate |
252 NONSHARABLE_CLASS(CApsDeregisterNonNativeApplication) : public CApsNonNativeApplicationsUpdate |
252 { |
253 { |
253 public: |
254 public: |
254 static CApsDeregisterNonNativeApplication* NewL(RFs& aFs, CApaAppListServer& aServ, TUid aUid, TState aState = ENew); |
255 static CApsDeregisterNonNativeApplication* NewL(RFs& aFs, CApaAppArcServer& aServ, TUid aUid, TState aState = ENew); |
255 ~CApsDeregisterNonNativeApplication(); |
256 ~CApsDeregisterNonNativeApplication(); |
256 |
257 |
257 private: |
258 private: |
258 CApsDeregisterNonNativeApplication(RFs& aFs, CApaAppListServer& aServ, TUid aUid, TState aState); |
259 CApsDeregisterNonNativeApplication(RFs& aFs, CApaAppArcServer& aServ, TUid aUid, TState aState); |
259 |
260 |
260 private: |
261 private: |
261 void RenameToTemporaryL(TFileDetails& aFile, RApsUpdateLog& aUpdateLog); |
262 void RenameToTemporaryL(TFileDetails& aFile, RApsUpdateLog& aUpdateLog); |
262 CApaAppData* FindAppDataLC(RApsUpdateLog& aUpdateLog); |
263 CApaAppData* FindAppDataLC(RApsUpdateLog& aUpdateLog); |
263 |
264 |
275 EInvalidContinuation = 0, |
276 EInvalidContinuation = 0, |
276 EResourceFileUpdate, |
277 EResourceFileUpdate, |
277 ELocalisableResourceFileUpdate, |
278 ELocalisableResourceFileUpdate, |
278 EIconFileUpdate |
279 EIconFileUpdate |
279 }; |
280 }; |
280 CApaAppListServer& iServ; |
281 CApaAppArcServer& iServ; |
281 TFileDetails iResourceFile; |
282 TFileDetails iResourceFile; |
282 TFileDetails iLocalisableResourceFile; |
283 TFileDetails iLocalisableResourceFile; |
283 TFileDetails iIconFile; |
284 TFileDetails iIconFile; |
284 }; |
285 }; |
285 |
286 |
342 }; |
343 }; |
343 #endif // _DEBUG |
344 #endif // _DEBUG |
344 |
345 |
345 |
346 |
346 #endif // APSNNAPPUPDATES_H |
347 #endif // APSNNAPPUPDATES_H |
|
348 |