|
1 /* |
|
2 * Copyright (c) 2009 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef IA_UPDATE_SPECIAL_NODE_H |
|
21 #define IA_UPDATE_SPECIAL_NODE_H |
|
22 |
|
23 |
|
24 #include "iaupdatenodeimpl.h" |
|
25 |
|
26 |
|
27 /** |
|
28 * CIAUpdateSpecialNode |
|
29 * |
|
30 * This node is created for the self update content. |
|
31 */ |
|
32 class CIAUpdateSpecialNode : public CIAUpdateNode |
|
33 { |
|
34 |
|
35 public: |
|
36 |
|
37 /** |
|
38 * @see CIAUpdateNode::NewLC |
|
39 **/ |
|
40 static CIAUpdateSpecialNode* NewLC( MNcdNode* aNode, |
|
41 CIAUpdateController& aController ); |
|
42 |
|
43 /** |
|
44 * @see CIAUpdateSpecialNode::NewLC |
|
45 **/ |
|
46 static CIAUpdateSpecialNode* NewL( MNcdNode* aNode, |
|
47 CIAUpdateController& aController ); |
|
48 |
|
49 |
|
50 /** |
|
51 * Destructor |
|
52 **/ |
|
53 virtual ~CIAUpdateSpecialNode(); |
|
54 |
|
55 |
|
56 public: // CIAUpdateNode |
|
57 |
|
58 /** |
|
59 * This implementation always returns ETrue. |
|
60 * @see MIAUpdateNode::IsSelfUpdate |
|
61 */ |
|
62 virtual TBool IsSelfUpdate() const; |
|
63 |
|
64 /** |
|
65 * @see CIAUpdateNode::SetInstallStatusToPurchaseHistoryL |
|
66 */ |
|
67 virtual void SetInstallStatusToPurchaseHistoryL( |
|
68 TInt aErrorCode, TBool aForceVisibleInHistory ); |
|
69 |
|
70 |
|
71 private: |
|
72 |
|
73 // Prevent these if not implemented |
|
74 CIAUpdateSpecialNode( const CIAUpdateSpecialNode& aObject ); |
|
75 CIAUpdateSpecialNode operator =( const CIAUpdateSpecialNode& aObject ); |
|
76 |
|
77 |
|
78 /** |
|
79 * @see CIAUpdateNode::NewLC |
|
80 */ |
|
81 CIAUpdateSpecialNode( CIAUpdateController& aController ); |
|
82 |
|
83 /** |
|
84 * @see CIAUpdateNode::NewLC |
|
85 */ |
|
86 void ConstructL( MNcdNode* aNode ); |
|
87 |
|
88 |
|
89 private: // data |
|
90 |
|
91 }; |
|
92 |
|
93 |
|
94 #endif // IA_UPDATE_SPECIAL_NODE_H |