homescreensrv_plat/hs_settings_api/inc/propertymap.h
changeset 85 7feec50967db
parent 4 1a2a00e78665
child 86 e492551a0d54
--- a/homescreensrv_plat/hs_settings_api/inc/propertymap.h	Tue Feb 02 00:23:10 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,104 +0,0 @@
-/*
-* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  Encapsulates name and value
-*
-*/
-#ifndef C_CPROPERTYMAP_H
-#define C_CPROPERTYMAP_H
-
-#include <e32base.h>
-
-namespace HSPluginSettingsIf{
-
-/**
- *  Presents property as name and value pair
- *
- *  @code
- *  @endcode
- *
- *  @lib xnlayoutengine.lib
- *  @since S60 v5.0
- */
-class CPropertyMap : public CBase
-    {
-public:
-    /**
-     * Two-phased constructor.
-     */
-    IMPORT_C static CPropertyMap* NewL();
-
-    /**
-     * Two-phased constructor.
-     */
-    IMPORT_C static CPropertyMap* NewLC();
-
-    /**
-    * Destructor.
-    */
-    IMPORT_C virtual ~CPropertyMap();
-
-    /**
-     * Set property name
-     *
-     * @param aName Property nane
-     * @return Reference to this object
-     */
-    IMPORT_C CPropertyMap& SetNameL( const TDesC8& aName );
-    
-    /**
-     * Get property name
-     *
-    * @return Reference to name or KNullDesC8
-     */
-    IMPORT_C const TDesC8& Name()const;
-    
-    /**
-     * Set property value
-     *
-     * @param aValue Property value
-     * @return Reference to this object
-     */
-    IMPORT_C CPropertyMap& SetValueL( const TDesC8& aValue );
-    
-    /**
-     * Get property value
-     *
-    * @return Reference to value or KNullDesC8
-     */
-    IMPORT_C const TDesC8& Value()const;
-
-private:
-    /**
-     * Constructor.
-     */
-    CPropertyMap();
-
-    /**
-     * Second phase constructor.
-     */
-    void ConstructL();
-
-private: // data
-    /**
-     * Own. Property name
-     */
-    HBufC8* iName;
-    /**
-     * Own. Property value
-     */
-    HBufC8* iValue;
-    };
-}
-
-#endif // C_CPROPERTYMAP_H