epoc32/include/delimitedpathsegment8.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/delimitedpathsegment8.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/delimitedpathsegment8.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,85 @@
     1.4 -delimitedpathsegment8.h
     1.5 +// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description:
    1.18 +//
    1.19 +
    1.20 +#ifndef __DELIMITEDPATHSEGMENT8_H__
    1.21 +#define __DELIMITEDPATHSEGMENT8_H__
    1.22 +
    1.23 +/**
    1.24 +	@file DelimitedPathSegment8.h
    1.25 +	Comments :	This file contains the API definition for the classes TDelimitedPathSegmentParser8
    1.26 +				and CDelimitedPathSegment8. 
    1.27 +	@publishedAll
    1.28 +	@released
    1.29 + */
    1.30 +
    1.31 +// System includes
    1.32 +//
    1.33 +#include <e32base.h>
    1.34 +#include <delimitedparser8.h>
    1.35 +
    1.36 +
    1.37 +/**
    1.38 +Dependencies : TDelimitedParserBase8
    1.39 +Comments : Derived class from TDelimitedParserBase providing a class for parsing 
    1.40 +path segments delimited by a ';' as defined in RFC2396.
    1.41 +@publishedAll
    1.42 +@released
    1.43 +@since 6.0
    1.44 +*/
    1.45 +class TDelimitedPathSegmentParser8 : public TDelimitedParserBase8
    1.46 +	{
    1.47 +public:	// Methods
    1.48 +
    1.49 +
    1.50 +	IMPORT_C TDelimitedPathSegmentParser8();
    1.51 +
    1.52 +	IMPORT_C void Parse(const TDesC8& aPathSegment);
    1.53 +
    1.54 +	IMPORT_C void ParseReverse(const TDesC8& aPathSegment);
    1.55 +	};
    1.56 +
    1.57 +/**
    1.58 +Dependencies : CDelimitedStringBase8
    1.59 +Comments : Provides functionality to create a delimited path segment where components of the 
    1.60 +path segment delimited by '/' as defined in RFC2396.
    1.61 +@publishedAll
    1.62 +@released
    1.63 +@since 6.0
    1.64 +*/
    1.65 +class CDelimitedPathSegment8 : public CDelimitedDataBase8
    1.66 +	{
    1.67 +public:	// Methods
    1.68 +
    1.69 +	IMPORT_C static CDelimitedPathSegment8* NewL(const TDesC8& aPathSegment);
    1.70 +
    1.71 +	IMPORT_C static CDelimitedPathSegment8* NewLC(const TDesC8& aPathSegment);
    1.72 +
    1.73 +	IMPORT_C ~CDelimitedPathSegment8();
    1.74 +
    1.75 +	IMPORT_C void InsertAndEscapeCurrentL(const TDesC8& aParam);
    1.76 +
    1.77 +	IMPORT_C void PushAndEscapeFrontL(const TDesC8& aParam);
    1.78 +
    1.79 +	IMPORT_C void PushAndEscapeBackL(const TDesC8& aParam);
    1.80 +
    1.81 +private:	// Methods
    1.82 +
    1.83 +	CDelimitedPathSegment8();
    1.84 +
    1.85 +	void ConstructL(const TDesC8& aPathSegment);
    1.86 +
    1.87 +	};
    1.88 +
    1.89 +#endif // __DELIMITEDPATHSEGMENT8_H__