phonesrv_plat/service_provider_settings_api/inc/spdefinitions.h
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
    22 /**  Maximum length of descriptor data */
    22 /**  Maximum length of descriptor data */
    23 const TInt KSPMaxDesLength = 512;
    23 const TInt KSPMaxDesLength = 512;
    24 
    24 
    25 /** Service attribute mask */
    25 /** Service attribute mask */
    26 enum TPropertyServiceAttributes
    26 enum TPropertyServiceAttributes
    27     {
    27 	{
    28     ESupportsCSVoiceCall            = 0x00000001, // Supports CS voice call
    28 	ESupportsCSVoiceCall 			= 0x00000001, // Supports CS voice call
    29     ESupportsCSVideoCall            = 0x00000002, // Supports CS video call
    29 	ESupportsCSVideoCall			= 0x00000002, // Supports CS video call
    30     ESupportsCSData                 = 0x00000004, // Supports CS data transfer
    30 	ESupportsCSData					= 0x00000004, // Supports CS data transfer
    31     ESupportsFax                    = 0x00000008, // Service supports fax
    31 	ESupportsFax					= 0x00000008, // Service supports fax
    32     ESupportsInternetCall           = 0x00000010, // Service supports internet call
    32 	ESupportsInternetCall			= 0x00000010, // Service supports internet call
    33     ESupportsEmergencyCall          = 0x00000020, // service supports emergency call
    33 	ESupportsEmergencyCall 			= 0x00000020, // service supports emergency call
    34     ESupportsMSISDNAddressing       = 0x00000040, // Service supports MSISDN addressing
    34 	ESupportsMSISDNAddressing		= 0x00000040, // Service supports MSISDN addressing
    35     ESupportsAlphanumericAddressing = 0x00000080, // Service supports alphanumeric addressing
    35 	ESupportsAlphanumericAddressing	= 0x00000080, // Service supports alphanumeric addressing
    36     EIsVisibleInCallMenu            = 0x00000100, // Service is visible in call menu
    36 	EIsVisibleInCallMenu 			= 0x00000100, // Service is visible in call menu
    37     EBootstrapCallProvider          = 0x00000200, // Boostrap call provider
    37 	EBootstrapCallProvider			= 0x00000200, // Boostrap call provider
    38     ESupportVoIPSS                  = 0x00000400, // Supports VoIP SS
    38 	ESupportVoIPSS                  = 0x00000400, // Supports VoIP SS
    39     ESimplifiedConferenceCallBubble = 0x00000800  // Simplified conference call bubble
    39 	ESimplifiedConferenceCallBubble	= 0x00000800  // Simplified conference call bubble
    40     };
    40 	};
    41     
    41 	
    42 /** Supported feature check */  
    42 /** Supported feature check */	
    43 enum TSPServiceFeature
    43 enum TSPServiceFeature
    44     {
    44 	{
    45     ESupportInternetCallFeature,    //ESupportsInternetCall + ESupportsAlphanumericAddressing + EIsVisibleInCallMenu 
    45 	ESupportInternetCallFeature,	//ESupportsInternetCall + ESupportsAlphanumericAddressing + EIsVisibleInCallMenu 
    46     ESupportCallOutFeature,         //ESupportsInternetCall + ESupportsMSISDNAddressing + EIsVisibleInCallMenu
    46 	ESupportCallOutFeature,			//ESupportsInternetCall + ESupportsMSISDNAddressing + EIsVisibleInCallMenu
    47     ESupportVoIPSSFeature,          //ESupportVoIPSS
    47 	ESupportVoIPSSFeature,			//ESupportVoIPSS
    48     ESupportVoIPFeature             //FeatureManager::FeatureSupported()+dynamic voip flag check+with subservice voip
    48 	ESupportVoIPFeature				//FeatureManager::FeatureSupported()+dynamic voip flag check+with subservice voip
    49     };
    49 	};
    50 
    50 
    51 /**  Service provider ID not defined */
    51 /**  Service provider ID not defined */
    52 const TInt KSPNoId = 0;
    52 const TInt KSPNoId = 0;
    53 /**  Types of service provider settings items in settings table
    53 /**  Types of service provider settings items in settings table
    54      - for internal use */
    54      - for internal use */
   133     EPropertyBrandId                        = 0x0002C000, // Brand ID. Links the service to brand information
   133     EPropertyBrandId                        = 0x0002C000, // Brand ID. Links the service to brand information
   134                                                           // stored in the branding server. Set by RCSE
   134                                                           // stored in the branding server. Set by RCSE
   135     EPropertyContactStoreId                 = 0x0002D000, // Virtual phonebook contact store ID. Set by RCSE
   135     EPropertyContactStoreId                 = 0x0002D000, // Virtual phonebook contact store ID. Set by RCSE
   136     EPropertyServiceBookmarkUri             = 0x0002E000, // Service provider bookmark URI. Set by VoIP adapter
   136     EPropertyServiceBookmarkUri             = 0x0002E000, // Service provider bookmark URI. Set by VoIP adapter
   137     EPropertyIncomingEmailserver            = 0x0002F000, // Service incoming e-mail server
   137     EPropertyIncomingEmailserver            = 0x0002F000, // Service incoming e-mail server
   138                 
   138     			
   139 
   139 
   140     // Subproperties
   140     // Subproperties
   141     // VoIP subproperties
   141     // VoIP subproperties
   142     ESubPropertyVoIPRelNumber               = 0x00030000, // VoIP release number
   142     ESubPropertyVoIPRelNumber               = 0x00030000, // VoIP release number
   143     ESubPropertyVoIPBrandDataUri            = 0x00031000, // VoIP branding data URI. Set by VoIP adapter
   143     ESubPropertyVoIPBrandDataUri            = 0x00031000, // VoIP branding data URI. Set by VoIP adapter
   188     ESubPropertyVccDtCSHoHysteresisTimerHigh    = 0x0004B000,
   188     ESubPropertyVccDtCSHoHysteresisTimerHigh    = 0x0004B000,
   189     ESubPropertyVccDtWLANHoTriggerLevel         = 0x0004C000,
   189     ESubPropertyVccDtWLANHoTriggerLevel         = 0x0004C000,
   190     ESubPropertyVccDtWLANHoHysteresis           = 0x0004D000,
   190     ESubPropertyVccDtWLANHoHysteresis           = 0x0004D000,
   191     ESubPropertyVccDtWLANHoHysteresisTimerLow   = 0x0004E000,
   191     ESubPropertyVccDtWLANHoHysteresisTimerLow   = 0x0004E000,
   192     ESubPropertyVccDtWLANHoHysteresisTimerHigh  = 0x0004F000,
   192     ESubPropertyVccDtWLANHoHysteresisTimerHigh  = 0x0004F000,
   193     ESubPropertyVccHoNotificationToneMode       = 0x00050000,
   193     ESubPropertyVccHoNotificationToneMode		= 0x00050000,
   194     ESubPropertyVccDtVoipServiceId              = 0x00051000,
   194     ESubPropertyVccDtVoipServiceId              = 0x00051000,
   195     ESubPropertyVccDtAllowedWhenCsOriginated    = 0x00052000,
   195     ESubPropertyVccDtAllowedWhenCsOriginated    = 0x00052000,
   196     ESubPropertyVccAppId                        = 0x00053000,
   196     ESubPropertyVccAppId                        = 0x00053000,
   197 
   197 
   198     };
   198     };
   216     EDataTypeOnOff,   // TOnOff
   216     EDataTypeOnOff,   // TOnOff
   217     };
   217     };
   218     
   218     
   219 /** List of subservice launching method */
   219 /** List of subservice launching method */
   220 enum TSPSubServiceLaunchMethod
   220 enum TSPSubServiceLaunchMethod
   221     {
   221 	{
   222     ESPFrameWorkPlugin,
   222 	ESPFrameWorkPlugin,
   223     ESPLauncherPlugin,
   223 	ESPLauncherPlugin,
   224     ESPApplication
   224 	ESPApplication
   225     };
   225 	};
   226 
   226 
   227 
   227 
   228 /**  Service ID */
   228 /**  Service ID */
   229 typedef TUint TServiceId;
   229 typedef TUint TServiceId;
   230 
   230 
   236 typedef RArray<TServiceId> RIdArray;
   236 typedef RArray<TServiceId> RIdArray;
   237 
   237 
   238 /**  Array of service provider IDs */
   238 /**  Array of service provider IDs */
   239 typedef RArray<TServicePropertyName> RPropertyNameArray;
   239 typedef RArray<TServicePropertyName> RPropertyNameArray;
   240 
   240 
   241 /**  central repsitory keys array */
   241 /**	 central repsitory keys array */
   242 typedef RArray<TUint32> RKeyArray;
   242 typedef RArray<TUint32> RKeyArray;
   243 
   243 
   244 
   244 
   245 #endif      // SPDEFINITIONS_H
   245 #endif      // SPDEFINITIONS_H
   246 
   246