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