epoc32/include/delimitedpathsegment16.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/delimitedpathsegment16.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/delimitedpathsegment16.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,98 @@
     1.4 -delimitedpathsegment16.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 __DELIMITEDPATHSEGMENT16_H__
    1.21 +#define __DELIMITEDPATHSEGMENT16_H__
    1.22 +
    1.23 +/**
    1.24 +	@file DelimitedPathSegment16.h
    1.25 +	Comments :	This file contains the API definition for the classes TDelimitedPathSegmentParser16
    1.26 +				and CDelimitedPathSegment16.
    1.27 +	@publishedAll
    1.28 +	@released 
    1.29 + */
    1.30 +
    1.31 +// System includes
    1.32 +//
    1.33 +#include <e32base.h>
    1.34 +#include <delimitedparser16.h>
    1.35 +
    1.36 +
    1.37 +/**
    1.38 +Dependencies : TDelimitedParserBase16
    1.39 +Comments : Derived class from TDelimitedParserBase providing a class for parsing path segments
    1.40 +delimited by '/' as defined in RFC2396.
    1.41 +@publishedAll
    1.42 +@released
    1.43 +@since 6.0
    1.44 +*/
    1.45 +class TDelimitedPathSegmentParser16 : public TDelimitedParserBase16
    1.46 +	{
    1.47 +public:	// Methods
    1.48 +
    1.49 +	IMPORT_C TDelimitedPathSegmentParser16();
    1.50 +
    1.51 +	IMPORT_C void Parse(const TDesC16& aPathSegment);
    1.52 +
    1.53 +	IMPORT_C void ParseReverse(const TDesC16& aPathSegment);
    1.54 +	};
    1.55 +
    1.56 +/**
    1.57 +Dependencies : CDelimitedStringBase16
    1.58 +Comments : Provides functionality to create a delimited path segment where components of the 
    1.59 +path segment delimited by '/' as defined in RFC2396.
    1.60 +@publishedAll
    1.61 +@released
    1.62 +@since 6.0
    1.63 +*/
    1.64 +class CDelimitedPathSegment16 : public CDelimitedDataBase16
    1.65 +	{
    1.66 +public:	// Methods
    1.67 +
    1.68 +	IMPORT_C static CDelimitedPathSegment16* NewL(const TDesC16& aPathSegment);
    1.69 +
    1.70 +	IMPORT_C static CDelimitedPathSegment16* NewLC(const TDesC16& aPathSegment);
    1.71 +
    1.72 +	IMPORT_C ~CDelimitedPathSegment16();
    1.73 +
    1.74 +	IMPORT_C void InsertAndEscapeCurrentL(const TDesC16& aParam);
    1.75 +
    1.76 +	IMPORT_C void PushAndEscapeBackL(const TDesC16& aParam);
    1.77 +	
    1.78 +	IMPORT_C void PushAndEscapeFrontL(const TDesC16& aParam);
    1.79 +
    1.80 +private:	// Methods
    1.81 +
    1.82 +	CDelimitedPathSegment16();
    1.83 +
    1.84 +	void ConstructL(const TDesC16& aPathSegment);
    1.85 +
    1.86 +	};
    1.87 +
    1.88 +/**
    1.89 +typedef 
    1.90 +@publishedAll
    1.91 +@released
    1.92 +*/
    1.93 +typedef TDelimitedPathSegmentParser16	TDelimitedPathSegmentParser;
    1.94 +
    1.95 +/**
    1.96 +typedef 
    1.97 +@publishedAll
    1.98 +@released
    1.99 +*/
   1.100 +typedef CDelimitedPathSegment16			CDelimitedPathSegment;
   1.101 +
   1.102 +#endif	// __DELIMITEDPATHSEGMENT16_H__