applicationmanagement/omascomoadapter/inc/omascomoadapter.h
branchRCL_3
changeset 57 6757f1e2efd2
parent 55 c4687ff85147
child 58 5b858729772b
equal deleted inserted replaced
55:c4687ff85147 57:6757f1e2efd2
    32 #include "nsmldmtreedbclient.h"
    32 #include "nsmldmtreedbclient.h"
    33 #endif
    33 #endif
    34 
    34 
    35 #include "ApplicationManagementClient.h"
    35 #include "ApplicationManagementClient.h"
    36 
    36 
       
    37 const TInt KMaxUrlLength = 2048;
       
    38 
    37 namespace NApplicationManagement
    39 namespace NApplicationManagement
    38     {
    40     {
    39 
    41 
    40     const TUint KAMAdapterImplUid = 0x20021336;
    42     const TUint KAMAdapterImplUid = 0x20021336;
    41     
    43     
   178 _LIT8( KAMDeliveredOperationChilds, "Install/InstallInactive/Remove" );
   180 _LIT8( KAMDeliveredOperationChilds, "Install/InstallInactive/Remove" );
   179 _LIT8( KAMInventoryDeliveredDynaChilds, "PkgID/Data/Name/Description/Status/State/PkgType/Operations" );
   181 _LIT8( KAMInventoryDeliveredDynaChilds, "PkgID/Data/Name/Description/Status/State/PkgType/Operations" );
   180 
   182 
   181     _LIT8( KNSmlDMSCOMOMetaType,"org.openmobilealliance.dm.softwarecomponent.OperationComplete" );
   183     _LIT8( KNSmlDMSCOMOMetaType,"org.openmobilealliance.dm.softwarecomponent.OperationComplete" );
   182     _LIT8( KNSmlDMSCOMOMetaFormat, "text/plain" );
   184     _LIT8( KNSmlDMSCOMOMetaFormat, "text/plain" );
   183     
       
   184     //OMA SCOMO Specific
       
   185     _LIT8(KDownloadState, "./SCOMO/Download/");
       
   186     _LIT8(KDeliveredState, "./SCOMO/Inventory/Delivered/");
       
   187     _LIT8(KDeployedState, "./SCOMO/Inventory/Deployed/");
       
   188     
   185     
   189     _LIT8(KDataStart, "<![CDATA[");
   186     _LIT8(KDataStart, "<![CDATA[");
   190             _LIT8(KDataEnd, "]]>");
   187             _LIT8(KDataEnd, "]]>");
   191             _LIT8(KResultCodeStart, "<ResultCode>");
   188             _LIT8(KResultCodeStart, "<ResultCode>");
   192             _LIT8(KResultCodeEnd, "</ResultCode>");
   189             _LIT8(KResultCodeEnd, "</ResultCode>");
   815 	void GetPredefinedNodeL(TDes8& aNode);
   812 	void GetPredefinedNodeL(TDes8& aNode);
   816 	TInt GetAdapterValue();
   813 	TInt GetAdapterValue();
   817 	void SetAdapterValue(TInt aAdapterValue);
   814 	void SetAdapterValue(TInt aAdapterValue);
   818 	TBool RecognizeMimeType(const TDesC8& aMimeType);
   815 	TBool RecognizeMimeType(const TDesC8& aMimeType);
   819 
   816 
   820 	void SetSCOMOTargetURIL(const TDesC8& aURI, const TDesC8& aMapping,const TError& aErrorStatus);
       
   821 	HBufC8* GetIdentifierIdL(const TUint32 aluid);
       
   822 
       
   823 private:
   817 private:
   824 
   818 
   825 #ifdef __TARM_SYMBIAN_CONVERGENCY
   819 #ifdef __TARM_SYMBIAN_CONVERGENCY
   826         RDmTree iDbSession;
   820         RDmTree iDbSession;
   827 #else
   821 #else