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