phonesrv_plat/ss_settings_api/inc/RSSSettings.h
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
    21 #ifndef RSSSETTINGS_H
    21 #ifndef RSSSETTINGS_H
    22 #define RSSSETTINGS_H
    22 #define RSSSETTINGS_H
    23 
    23 
    24 //  INCLUDES
    24 //  INCLUDES
    25 #include <etelmm.h>
    25 #include <etelmm.h>
    26 #include <rcustomerserviceprofilecache.h> 
    26 #include <RCustomerServiceProfileCache.h>
    27 
    27 
    28 // DATA TYPES
    28 // DATA TYPES
    29 
    29 
    30 /**
    30 /**
    31 * All enumerations are fixed - DO NOT CHANGE!!
    31 * All enumerations are fixed - DO NOT CHANGE!!
   191         *
   191         *
   192         * @param aSetting setting.
   192         * @param aSetting setting.
   193         * @param aObserver observer.
   193         * @param aObserver observer.
   194         * @return error code. KErrNone: observer is added
   194         * @return error code. KErrNone: observer is added
   195         *                     KErrAlreadyExists: observer is already added
   195         *                     KErrAlreadyExists: observer is already added
   196         *                     KErrNotReady: Possible when BT SAP is on.
   196 		*					  KErrNotReady: Possible when BT SAP is on.
   197         *                     KErrNotSupported: Possible with ALS.
   197         *                     KErrNotSupported: Possible with ALS.
   198         *                     other: observer not registered
   198         *                     other: observer not registered
   199         */
   199         */
   200         IMPORT_C TInt Register( 
   200         IMPORT_C TInt Register( 
   201             TSSSettingsSetting aSetting, 
   201             TSSSettingsSetting aSetting, 
   299         * @return error code. KErrNone in case of ALS supported.
   299         * @return error code. KErrNone in case of ALS supported.
   300         *                     KErrNotSupported in case if ME doesn't support
   300         *                     KErrNotSupported in case if ME doesn't support
   301         */    
   301         */    
   302         TInt IsALSSupported( TInt aPpAlsValue, TInt aSimAlsValue, 
   302         TInt IsALSSupported( TInt aPpAlsValue, TInt aSimAlsValue, 
   303             TBool aAlsCspSupport, TInt aAlsCspError ) const;
   303             TBool aAlsCspSupport, TInt aAlsCspError ) const;
   304             
   304 			
   305         // Gets ALS setting value.
   305 	    // Gets ALS setting value.
   306         TInt GetALSSettingValue( TInt& aValue, const TInt aSimState );
   306         TInt GetALSSettingValue( TInt& aValue, const TInt aSimState );
   307 
   307 
   308         // Prohibit copy constructor if not deriving from CBase.
   308         // Prohibit copy constructor if not deriving from CBase.
   309         RSSSettings( const RSSSettings& );
   309         RSSSettings( const RSSSettings& );
   310         // Prohibit assigment operator if not deriving from CBase.
   310         // Prohibit assigment operator if not deriving from CBase.