Update contrib.
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
26 #ifndef __STRINGATTRIBUTE_H__
27 #define __STRINGATTRIBUTE_H__
31 namespace ContentAccess
34 /** Used by RAttributeSet
39 class CStringAttribute : public CBase
42 static CStringAttribute* NewL(TInt aAttribute, const TDesC& aValue, TInt aError);
43 virtual ~CStringAttribute();
45 TInt Attribute() const;
46 const TDesC& Value() const;
50 CStringAttribute(TInt aAttribute, TInt aError);
51 void ConstructL(const TDesC& aValue);