Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
// Copyright (c) 2001-2009 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:
//
/**
@file
@warning : This file contains Rose Model ID comments - please do not delete
*/
#ifndef __RHTTPPROPERTYSET_H__
#define __RHTTPPROPERTYSET_H__
// System includes
#include <http/thttphdrval.h>
// Forward declarations
class CHeaderFieldPart;
//##ModelId=3C4C188201EA
class RHTTPPropertySet
/**
A set of named THTTPHdrVal objects. Used for storing arbitrary
collections of information.
@publishedAll
@released
*/
{
public:
/** Default (uninitialised) constructor. An object constructed in this way
means 'use text-mode HTTP with default settings'
*/
//##ModelId=3A63217800E0
IMPORT_C RHTTPPropertySet();
/** Returns a property.
@param aPropertyName The name of the property.
@param aVal The returned value of the property (if defined)
@return ETrue if the property exists
*/
//##ModelId=3C4C1882021F
IMPORT_C TBool Property(RStringF aPropertyName, THTTPHdrVal& aVal) const;
/** Sets or creates a property.
@param aPropertyName The name of the property
@param aValue The new value of the property
@leave KErrNoMemory There was not enough memory.
*/
//##ModelId=3C4C1882021C
IMPORT_C void SetPropertyL(RStringF aPropertyName, THTTPHdrVal aValue);
IMPORT_C TInt SetProperty(RStringF aPropertyName, THTTPHdrVal aValue);
/** Removes a named property.
@param aPropertyName The name of the property
*/
//##ModelId=3C4C18820213
IMPORT_C void RemoveProperty(RStringF aPropertyName);
/** Removes all properties
*/
//##ModelId=3C4C18820212
IMPORT_C void RemoveAllProperties();
protected:
//##ModelId=3C4C18820208
CHeaderFieldPart* iImplementation;
friend class CHeaderFieldPart;
friend class CHTTPSession;
};
#endif // __RHTTPPROPERTYSET_H__