applicationmanagement/server/inc/amdeploymentcomponentdata.h
branchRCL_3
changeset 25 5b858729772b
parent 24 6757f1e2efd2
equal deleted inserted replaced
24:6757f1e2efd2 25:5b858729772b
    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 
    24 #include "ApplicationManagementCommon.h"
    25 #include "ApplicationManagementCommon.h"
    25 const TInt KMaxUrlLength = 2048;
    26 
    26 namespace NApplicationManagement
    27 namespace NApplicationManagement
    27     {
    28     {
    28 
    29 
    29     /**
    30     /**
    30      *  Data class to Data access
    31      *  Data class to Data access
    46         void ConstructLoadL(RReadStream &aStream);
    47         void ConstructLoadL(RReadStream &aStream);
    47         /**
    48         /**
    48          Possibly changes mutable iData
    49          Possibly changes mutable iData
    49          */
    50          */
    50         void LoadDataL() const;
    51         void LoadDataL() const;
    51         
    52 
    52         TBool IsSISInstallFile(const TDesC8 &aMimeType);
    53         TBool IsSISInstallFile(const TDesC8 &aMimeType);
    53 
    54 
    54 public:
    55 public:
    55         static CDeploymentComponentData* NewL(TType aType,
    56         static CDeploymentComponentData* NewL(TType aType,
    56                 const TDesC8 &aData, const TDesC8 &aMime,
    57                 const TDesC8 &aData, const TDesC8 &aMime,
    95 private:
    96 private:
    96         mutable HBufC8 *iData;
    97         mutable HBufC8 *iData;
    97         TBuf8<KMaxFileName> iDataFileName;
    98         TBuf8<KMaxFileName> iDataFileName;
    98         TMimeType iMimeType;
    99         TMimeType iMimeType;
    99         TType iType;
   100         TType iType;
   100         TBuf<15> iExtn;
   101 
   101         };
   102         };
   102 
   103 
   103     inline CDeploymentComponentData::TType CDeploymentComponentData::Type() const
   104     inline CDeploymentComponentData::TType CDeploymentComponentData::Type() const
   104         {
   105         {
   105         return iType;
   106         return iType;