phonesrv_plat/service_provider_settings_api/inc/spproperty.h
branchRCL_3
changeset 19 7d48bed6ce0c
parent 0 ff3b6d0fd310
child 20 987c9837762f
--- a/phonesrv_plat/service_provider_settings_api/inc/spproperty.h	Thu Aug 19 10:28:14 2010 +0300
+++ b/phonesrv_plat/service_provider_settings_api/inc/spproperty.h	Tue Aug 31 15:45:17 2010 +0300
@@ -34,217 +34,217 @@
 NONSHARABLE_CLASS( CSPProperty ): public CBase
     {
 
-	public: // Constructor and destructor
+    public: // Constructor and destructor
 
-	    /**
-	    * Two-phased constructor.
-	    */
-	    IMPORT_C static CSPProperty* NewL();
+        /**
+        * Two-phased constructor.
+        */
+        IMPORT_C static CSPProperty* NewL();
 
-	    /**
-	    * Two-phased constructor.
-	    */
-	    IMPORT_C static CSPProperty* NewLC();
+        /**
+        * Two-phased constructor.
+        */
+        IMPORT_C static CSPProperty* NewLC();
 
-	    /**
-	    * Destructors.
-	    */
-	    IMPORT_C virtual ~CSPProperty();
+        /**
+        * Destructors.
+        */
+        IMPORT_C virtual ~CSPProperty();
 
-	public: // member functions
-	    /**
-	     * Returns the name of this property
-	     *
-	     * @since S60 V3.2
-	     * @return Name of property
-	     */
-	    IMPORT_C TServicePropertyName GetName() const;
+    public: // member functions
+        /**
+         * Returns the name of this property
+         *
+         * @since S60 V3.2
+         * @return Name of property
+         */
+        IMPORT_C TServicePropertyName GetName() const;
 
-	    /**
-	     * Sets the name for this property
-	     *
-	     * @since S60 V3.2
-	     * @param aPropertyname new property name
-	     */
-	    IMPORT_C TInt SetName( TServicePropertyName aPropertyname );
+        /**
+         * Sets the name for this property
+         *
+         * @since S60 V3.2
+         * @param aPropertyname new property name
+         */
+        IMPORT_C TInt SetName( TServicePropertyName aPropertyname );
 
-	    /**
-	     * Returns the type of this property
-	     *
-	     * @since S60 V3.2
-	     * @return Type of property
-	     */
-		IMPORT_C TSPItemType GetPropertyType() const;
+        /**
+         * Returns the type of this property
+         *
+         * @since S60 V3.2
+         * @return Type of property
+         */
+        IMPORT_C TSPItemType GetPropertyType() const;
 
-	    /**
-	     * Sets the type for this property
-	     *
-	     * @since S60 V3.2
-	     * @param aPropertyType property type
-	     */
-		TInt SetPropertyType( TSPItemType aPropertyType );
+        /**
+         * Sets the type for this property
+         *
+         * @since S60 V3.2
+         * @param aPropertyType property type
+         */
+        TInt SetPropertyType( TSPItemType aPropertyType );
 
 
-	    /**
-	     * Returns the datatype of this property
-	     * No imported, set automatically.
-	     *
-	     * @since S60 V3.2
-	     * @return Datatype of property
-	     */
-	    IMPORT_C TPropertyDataType GetDataType() const;
+        /**
+         * Returns the datatype of this property
+         * No imported, set automatically.
+         *
+         * @since S60 V3.2
+         * @return Datatype of property
+         */
+        IMPORT_C TPropertyDataType GetDataType() const;
 
-	    /**
-	     * Sets the datatype of this property
-	     *
-	     * @since S60 V3.2
-	     * @param aDataType new data type
-	     */
-	    void SetDataType( TPropertyDataType aDataType );
+        /**
+         * Sets the datatype of this property
+         *
+         * @since S60 V3.2
+         * @param aDataType new data type
+         */
+        void SetDataType( TPropertyDataType aDataType );
 
-	    /**
-	     * Returns value of property
-	     *
-	     * @since S60 V3.2
-	     * @param aValue on return, TInt value
-	     * @return Error code
-	     */
-	    IMPORT_C TInt GetValue( TInt& aValue ) const;
+        /**
+         * Returns value of property
+         *
+         * @since S60 V3.2
+         * @param aValue on return, TInt value
+         * @return Error code
+         */
+        IMPORT_C TInt GetValue( TInt& aValue ) const;
 
-	    /**
-	     * Sets value of property. Value must match to datatype.
-	     *
-	     * @since S60 V3.2
-	     * @param aValue new TInt value to be set
-	     * @return Error code
-	     */
-	    IMPORT_C TInt SetValue( TInt aValue );
+        /**
+         * Sets value of property. Value must match to datatype.
+         *
+         * @since S60 V3.2
+         * @param aValue new TInt value to be set
+         * @return Error code
+         */
+        IMPORT_C TInt SetValue( TInt aValue );
 
-	    /**
-	     * Returns value of property
-	     *
-	     * @since S60 V3.2
-	     * @param aValue on return, descriptor value
-	     * @return Error code
-	     */
-	    IMPORT_C TInt GetValue( TDes& aValue ) const;
+        /**
+         * Returns value of property
+         *
+         * @since S60 V3.2
+         * @param aValue on return, descriptor value
+         * @return Error code
+         */
+        IMPORT_C TInt GetValue( TDes& aValue ) const;
 
-	    /**
-	     * Sets the value of property. Value must match to datatype.
-	     *
-	     * @since S60 V3.2
-	     * @param aValue new descriptor
-	     * @return Error code
-	     */
-	    IMPORT_C TInt SetValue( const TDesC& aValue );
+        /**
+         * Sets the value of property. Value must match to datatype.
+         *
+         * @since S60 V3.2
+         * @param aValue new descriptor
+         * @return Error code
+         */
+        IMPORT_C TInt SetValue( const TDesC& aValue );
 
 
-	    /**
-	     * Returns value of property
-	     *
-	     * @since S60 V3.2
-	     * @param aValue on return, On/Off value
-	     * @return Error code
-	     */
-	    IMPORT_C TInt GetValue( TOnOff& aValue ) const;
+        /**
+         * Returns value of property
+         *
+         * @since S60 V3.2
+         * @param aValue on return, On/Off value
+         * @return Error code
+         */
+        IMPORT_C TInt GetValue( TOnOff& aValue ) const;
 
-	    /**
-	     * Sets the value of property. Value must match to datatype.
-	     *
-	     * @since S60 V3.2
-	     * @param aValue new On/Off value
-	     * @return Error code
-	     */
-	    IMPORT_C TInt SetValue( TOnOff aValue );
+        /**
+         * Sets the value of property. Value must match to datatype.
+         *
+         * @since S60 V3.2
+         * @param aValue new On/Off value
+         * @return Error code
+         */
+        IMPORT_C TInt SetValue( TOnOff aValue );
 
-	    /**
-	     * Sets the value of this property without datatype check
-	     *
-	     * @since S60 V3.2
-	     * @param aValue new value
-	     * @return Error code
-	     */
-	    TInt SetValueNoDataTypeCheck( const TDesC& aValue );
+        /**
+         * Sets the value of this property without datatype check
+         *
+         * @since S60 V3.2
+         * @param aValue new value
+         * @return Error code
+         */
+        TInt SetValueNoDataTypeCheck( const TDesC& aValue );
 
-	    /**
-	     * Returns datatype of given property
-	     *
-	     * @since S60 V3.2
-	     * @param aProperty property name
-	     * @return Datatype of given property
-	     */
-	    IMPORT_C static TPropertyDataType DataType( TServicePropertyName aProperty );
-	    
-	    /**
-	     * Returns property type of given property
-	     *
-	     * @since S60 V3.2
-	     * @param aProperty property name
-	     * @return property type of given property
-	     */
-	    IMPORT_C static TSPItemType PropertyType( TServicePropertyName aProperty );
+        /**
+         * Returns datatype of given property
+         *
+         * @since S60 V3.2
+         * @param aProperty property name
+         * @return Datatype of given property
+         */
+        IMPORT_C static TPropertyDataType DataType( TServicePropertyName aProperty );
+        
+        /**
+         * Returns property type of given property
+         *
+         * @since S60 V3.2
+         * @param aProperty property name
+         * @return property type of given property
+         */
+        IMPORT_C static TSPItemType PropertyType( TServicePropertyName aProperty );
 
-	    /**
-	     * Copies data from source property // to be removed?
-	     *
-	     * @since S60 V3.2
-	     * @param aSource source property
-	     */
-	    IMPORT_C void CopyL( const CSPProperty& aSource );
+        /**
+         * Copies data from source property // to be removed?
+         *
+         * @since S60 V3.2
+         * @param aSource source property
+         */
+        IMPORT_C void CopyL( const CSPProperty& aSource );
 
-	    /**
-	     * Compares data of this property to another.
-	     *
-	     * @since S60 V3.2
-	     * @param aProperty property to be compared
-	     * @return ETrue if properties have same data
-	     */
-	    IMPORT_C TBool operator==( 
-	                const CSPProperty& aProperty ) const;
+        /**
+         * Compares data of this property to another.
+         *
+         * @since S60 V3.2
+         * @param aProperty property to be compared
+         * @return ETrue if properties have same data
+         */
+        IMPORT_C TBool operator==( 
+                    const CSPProperty& aProperty ) const;
 
-	private:
+    private:
 
-	    /**
-	    * C++ default constructor.
-	    */
-	    CSPProperty();
-	    
-	    /**
-	    * By default Symbian 2nd phase constructor is private.
-	    */
-	    void ConstructL();
+        /**
+        * C++ default constructor.
+        */
+        CSPProperty();
+        
+        /**
+        * By default Symbian 2nd phase constructor is private.
+        */
+        void ConstructL();
 
-	    /**
-	     * Sets default value of property if defined
-	     *
-	     * @since S60 V3.2
-	     * @param aProperty property name
-	     * @return An error code
-	     */
-	    TInt SetDefaultValue( TServicePropertyName aProperty );
+        /**
+         * Sets default value of property if defined
+         *
+         * @since S60 V3.2
+         * @param aProperty property name
+         * @return An error code
+         */
+        TInt SetDefaultValue( TServicePropertyName aProperty );
 
-	private: // data
+    private: // data
 
-	    /**
-	     * Descriptor of property value
-	     * Own.
-	     */
-	    RBuf               iPropertyValue;
+        /**
+         * Descriptor of property value
+         * Own.
+         */
+        RBuf               iPropertyValue;
 
-	    /**
-	     * Name of property
-	     */
-	    TServicePropertyName        iPropertyName;
+        /**
+         * Name of property
+         */
+        TServicePropertyName        iPropertyName;
 
-	    /**
-	     * Datatype of property
-	     */
-	    TPropertyDataType        iDataType;
-	    
-	    /**
-	     * Property type
-	     */
-	    TSPItemType        		iPropertyType;
+        /**
+         * Datatype of property
+         */
+        TPropertyDataType        iDataType;
+        
+        /**
+         * Property type
+         */
+        TSPItemType             iPropertyType;
     
     };