1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
23 #ifndef DATATYPES_INL_
24 #define DATATYPES_INL_
31 const TInt KPluginConfigMaxKeySize = 256;
32 const TInt KPluginConfigMaxValSize = KPluginConfigMaxKeySize;
35 Class to store 'key - value' data on heap.
37 class TPluginConfiguration
40 void SetKey(const TDesC& aKey)
45 void SetKey(const TDesC8& aKey)
50 const TBuf<KPluginConfigMaxKeySize>& Key() const
55 void SetValue(const TDesC& aValue)
60 void SetValue(const TDesC8& aValue)
65 const TBuf<KPluginConfigMaxValSize>& Value() const
71 TBuf<KPluginConfigMaxKeySize> iKey;
72 TBuf<KPluginConfigMaxValSize> iValue;
81 #endif /*DATATYPES_INL_*/