bluetooth/btsdp/database/attrvalueencoded.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2000-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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef ATTRVALUEENCODED_H 
       
    17 #define ATTRVALUEENCODED_H
       
    18 
       
    19 #include <btsdp.h>
       
    20 
       
    21 NONSHARABLE_CLASS(CSdpAttrValueEncoded) : public CSdpAttrValue
       
    22 	{
       
    23 public:
       
    24 	IMPORT_C static CSdpAttrValueEncoded* NewEncodedL(const TDesC8& aString);
       
    25 	virtual ~CSdpAttrValueEncoded();
       
    26 
       
    27 	IMPORT_C void SetEncodedValue(const TDesC8& aValue);
       
    28 	virtual TSdpElementType Type() const;
       
    29 	virtual const TPtrC8 Des() const;
       
    30 	virtual TUint DataSize() const;
       
    31 private:
       
    32 	CSdpAttrValueEncoded();
       
    33 	void ConstructL(const TDesC8& aString);
       
    34 private:
       
    35 	HBufC8 *iBuffer;
       
    36 	};
       
    37 
       
    38 
       
    39 #endif
       
    40