javaextensions/pim/versit/inc.s60/cpimvcardparser.h
changeset 21 2a9601315dfc
equal deleted inserted replaced
18:e8e63152f320 21:2a9601315dfc
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Helper class to access CVersitParser protected methods
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPIMVCARDPARSER_H
       
    20 #define CPIMVCARDPARSER_H
       
    21 
       
    22 // EXTERNAL INCLUDES
       
    23 #include <versit.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28  * Class deriving from CVersitParser to access its protected methods.
       
    29  * @since S60 3.1
       
    30  */
       
    31 NONSHARABLE_CLASS(CPIMVCardParser) : public CVersitParser
       
    32 {
       
    33 public: // Constructor
       
    34 
       
    35     /**
       
    36      * Static two-phase constructor. Creates an instance
       
    37      * of this class
       
    38      */
       
    39     static CPIMVCardParser* NewLC();
       
    40 
       
    41     /**
       
    42      * Destructor
       
    43      */
       
    44     virtual ~CPIMVCardParser();
       
    45 
       
    46 public: // Interface
       
    47 
       
    48     /**
       
    49      * MakePropertyValueCDesCArrayL
       
    50      * Creates an array of properties for a string buffer
       
    51      *
       
    52      * @param aStringValue Value from which the array is generated
       
    53      * @return Array of properties. Ownership is transferred to the caller
       
    54      */
       
    55     CDesCArray* MakePropertyValueCDesCArrayL(TPtr16 aStringValue);
       
    56 
       
    57 private:
       
    58 
       
    59     /**
       
    60      * Default C++ constructor. Calls the constructor of the base class
       
    61      */
       
    62     CPIMVCardParser();
       
    63 };
       
    64 
       
    65 #endif // CPIMVCARDPARSER_H
       
    66 // End of File