equal
deleted
inserted
replaced
19 #define __AMDEPLOYMENTCOMPONENTDATA_H__ |
19 #define __AMDEPLOYMENTCOMPONENTDATA_H__ |
20 |
20 |
21 #include <e32base.h> |
21 #include <e32base.h> |
22 #include <f32file.h> |
22 #include <f32file.h> |
23 #include <s32strm.h> |
23 #include <s32strm.h> |
24 |
|
25 #include "ApplicationManagementCommon.h" |
24 #include "ApplicationManagementCommon.h" |
26 |
25 const TInt KMaxUrlLength = 2048; |
27 namespace NApplicationManagement |
26 namespace NApplicationManagement |
28 { |
27 { |
29 |
28 |
30 /** |
29 /** |
31 * Data class to Data access |
30 * Data class to Data access |
47 void ConstructLoadL(RReadStream &aStream); |
46 void ConstructLoadL(RReadStream &aStream); |
48 /** |
47 /** |
49 Possibly changes mutable iData |
48 Possibly changes mutable iData |
50 */ |
49 */ |
51 void LoadDataL() const; |
50 void LoadDataL() const; |
52 |
51 |
53 TBool IsSISInstallFile(const TDesC8 &aMimeType); |
52 TBool IsSISInstallFile(const TDesC8 &aMimeType); |
54 |
53 |
55 public: |
54 public: |
56 static CDeploymentComponentData* NewL(TType aType, |
55 static CDeploymentComponentData* NewL(TType aType, |
57 const TDesC8 &aData, const TDesC8 &aMime, |
56 const TDesC8 &aData, const TDesC8 &aMime, |
96 private: |
95 private: |
97 mutable HBufC8 *iData; |
96 mutable HBufC8 *iData; |
98 TBuf8<KMaxFileName> iDataFileName; |
97 TBuf8<KMaxFileName> iDataFileName; |
99 TMimeType iMimeType; |
98 TMimeType iMimeType; |
100 TType iType; |
99 TType iType; |
101 |
100 TBuf<15> iExtn; |
102 }; |
101 }; |
103 |
102 |
104 inline CDeploymentComponentData::TType CDeploymentComponentData::Type() const |
103 inline CDeploymentComponentData::TType CDeploymentComponentData::Type() const |
105 { |
104 { |
106 return iType; |
105 return iType; |