cmmanager/cmmgr/database/inc/datamobilitycommsdattypes.h
branchRCL_3
changeset 57 05bc53fe583b
parent 2 086aae6fc07e
child 58 83ca720e2b9a
equal deleted inserted replaced
55:fc7b30ed2058 57:05bc53fe583b
    41 //SNAP Metadata table and fields
    41 //SNAP Metadata table and fields
    42 #define KCDTypeNameSNAPMetadata _S( "SNAPMetadata" )
    42 #define KCDTypeNameSNAPMetadata _S( "SNAPMetadata" )
    43 #define KCDTypeNameSNAPMetadataSNAP _S( "SNAP" )
    43 #define KCDTypeNameSNAPMetadataSNAP _S( "SNAP" )
    44 #define KCDTypeNameSNAPMetadataMetadata _S( "Metadata" )
    44 #define KCDTypeNameSNAPMetadataMetadata _S( "Metadata" )
    45 #define KCDTypeNameSNAPMetadataIcon _S( "Icon" )
    45 #define KCDTypeNameSNAPMetadataIcon _S( "Icon" )
       
    46 #define KCDTypeNameSNAPMetadataIconFileName _S( "IconFileName" )
    46 
    47 
    47 //Global bearer priorization table and fields
    48 //Global bearer priorization table and fields
    48 #define KCDTypeNameGlobalService _S( "GlobalBearerTypePriorization" )
    49 #define KCDTypeNameGlobalService _S( "GlobalBearerTypePriorization" )
    49 #define KCDTypeNameGlobalServiceType _S( "ServiceType" )
    50 #define KCDTypeNameGlobalServiceType _S( "ServiceType" )
    50 #define KCDTypeNameGlobalServicePriority _S( "Priority" )
    51 #define KCDTypeNameGlobalServicePriority _S( "Priority" )
    58 //IAP Metadata table and fields
    59 //IAP Metadata table and fields
    59 #define KCDTypeNameIAPMetadata _S( "IAPMetadata" )
    60 #define KCDTypeNameIAPMetadata _S( "IAPMetadata" )
    60 #define KCDTypeNameIAPMetadataIAP _S( "IAP" )
    61 #define KCDTypeNameIAPMetadataIAP _S( "IAP" )
    61 #define KCDTypeNameIAPMetadataMetadata _S( "Metadata" )
    62 #define KCDTypeNameIAPMetadataMetadata _S( "Metadata" )
    62 #define KCDTypeNameIAPMetadataSeamlessness _S( "Seamlessness" )
    63 #define KCDTypeNameIAPMetadataSeamlessness _S( "Seamlessness" )
       
    64 #define KCDTypeNameIAPMetadataIconFileName _S( "IconFileName" )
    63 
    65 
    64 //MIP4 table and fields
    66 //MIP4 table and fields
    65 #define KCDTypeNameMIP4 _S( "MIP4" )
    67 #define KCDTypeNameMIP4 _S( "MIP4" )
    66 #define KCDTypeNameMIP4HomeAddress _S( "HomeAddress" )
    68 #define KCDTypeNameMIP4HomeAddress _S( "HomeAddress" )
    67 #define KCDTypeNameMIP4MaxRegRetries _S( "MaxRegRetries" ) 
    69 #define KCDTypeNameMIP4MaxRegRetries _S( "MaxRegRetries" ) 
   122 
   124 
   123     //SNAP Metadata 
   125     //SNAP Metadata 
   124 const CommsDat::TMDBElementId KCDTIdSNAPMetadataSNAP  = 0x00120000;
   126 const CommsDat::TMDBElementId KCDTIdSNAPMetadataSNAP  = 0x00120000;
   125 const CommsDat::TMDBElementId KCDTIdSNAPMetadataMetadata  = 0x00130000;
   127 const CommsDat::TMDBElementId KCDTIdSNAPMetadataMetadata  = 0x00130000;
   126 const CommsDat::TMDBElementId KCDTIdSNAPMetadataIcon  = 0x00140000;
   128 const CommsDat::TMDBElementId KCDTIdSNAPMetadataIcon  = 0x00140000;
       
   129 const CommsDat::TMDBElementId KCDTIdSNAPMetadataIconFileName  = 0x00150000;
   127 
   130 
   128     //mip service extension table
   131     //mip service extension table
   129 const CommsDat::TMDBElementId KCDTIdMIPMIP4  = 0x00120000;
   132 const CommsDat::TMDBElementId KCDTIdMIPMIP4  = 0x00120000;
   130 const CommsDat::TMDBElementId KCDTIdMIPMIP6  = 0x00130000;
   133 const CommsDat::TMDBElementId KCDTIdMIPMIP6  = 0x00130000;
   131 
   134 
   136 
   139 
   137     //IAP Metadata
   140     //IAP Metadata
   138 const CommsDat::TMDBElementId KCDTIdIAPMetadataIAP  = 0x00120000;
   141 const CommsDat::TMDBElementId KCDTIdIAPMetadataIAP  = 0x00120000;
   139 const CommsDat::TMDBElementId KCDTIdIAPMetadataMetadata  = 0x00130000;
   142 const CommsDat::TMDBElementId KCDTIdIAPMetadataMetadata  = 0x00130000;
   140 const CommsDat::TMDBElementId KCDTIdIAPMetadataSeamlessness  = 0x00140000;
   143 const CommsDat::TMDBElementId KCDTIdIAPMetadataSeamlessness  = 0x00140000;
       
   144 const CommsDat::TMDBElementId KCDTIdIAPMetadataIconFileName  = 0x00150000;
   141 
   145 
   142 //MIP4 Metadata
   146 //MIP4 Metadata
   143 const CommsDat::TMDBElementId KCDTIdMIP4HomeAddress = 0x00120000;
   147 const CommsDat::TMDBElementId KCDTIdMIP4HomeAddress = 0x00120000;
   144 const CommsDat::TMDBElementId KCDTIdMIP4MaxRegRetries = 0x00130000;
   148 const CommsDat::TMDBElementId KCDTIdMIP4MaxRegRetries = 0x00130000;
   145 const CommsDat::TMDBElementId KCDTIdMIP4FirstRetryTimeout = 0x00140000;
   149 const CommsDat::TMDBElementId KCDTIdMIP4FirstRetryTimeout = 0x00140000;
   257     DATA_VTABLE
   261     DATA_VTABLE
   258     
   262     
   259     public:
   263     public:
   260     CommsDat::CMDBField<TInt> iSNAP;
   264     CommsDat::CMDBField<TInt> iSNAP;
   261     CommsDat::CMDBField<TUint32> iMetadata;
   265     CommsDat::CMDBField<TUint32> iMetadata;
   262     CommsDat::CMDBField<TUint32> iIcon;       
   266     CommsDat::CMDBField<TUint32> iIcon;         //< Not used.
       
   267     CommsDat::CMDBField<TDesC> iIconFileName;   //< May contain path information also.
   263     
   268     
   264      private:
   269      private:
   265     
   270     
   266         static const CommsDat::SRecordTypeInfo iRecordInfo[];
   271         static const CommsDat::SRecordTypeInfo iRecordInfo[];
   267 };
   272 };
   353     
   358     
   354     public:
   359     public:
   355     CommsDat::CMDBRecordLink<CommsDat::CCDIAPRecord> iIAP;
   360     CommsDat::CMDBRecordLink<CommsDat::CCDIAPRecord> iIAP;
   356     CommsDat::CMDBField<TUint32> iMetadata;
   361     CommsDat::CMDBField<TUint32> iMetadata;
   357     CommsDat::CMDBField<TInt> iSeamlessness;
   362     CommsDat::CMDBField<TInt> iSeamlessness;
       
   363     CommsDat::CMDBField<TDesC> iIconFileName;   //< May contain path information also.
   358 
   364 
   359      private:
   365      private:
   360     
   366     
   361         static const CommsDat::SRecordTypeInfo iRecordInfo[];
   367         static const CommsDat::SRecordTypeInfo iRecordInfo[];
   362 };
   368 };
   471     IMPORT_C static CommsDat::TMDBElementId TableIdL( CommsDat::CMDBSession& aSession );
   477     IMPORT_C static CommsDat::TMDBElementId TableIdL( CommsDat::CMDBSession& aSession );
   472     
   478     
   473     DATA_VTABLE
   479     DATA_VTABLE
   474         
   480         
   475     public:
   481     public:
   476     CommsDat::CMDBField<TUint> iDefConnType;
   482     CommsDat::CMDBField<TUint> iDefConnType;    //< Not used.
   477     CommsDat::CMDBField<TUint> iDefConnUid;    
   483     CommsDat::CMDBField<TUint> iDefConnUid;     //< Not used.
   478     CommsDat::CMDBField<TUint> iUsageOfWlan;
   484     CommsDat::CMDBField<TUint> iUsageOfWlan;
   479     CommsDat::CMDBField<TUint> iCellularDataUsageHome;
   485     CommsDat::CMDBField<TUint> iCellularDataUsageHome;
   480     CommsDat::CMDBField<TUint> iCellularDataUsageVisitor;
   486     CommsDat::CMDBField<TUint> iCellularDataUsageVisitor;
   481     
   487     
   482     private:
   488     private: