wvuing/wvuieng/EngSrc/CCAPartialSuccessData.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  holds the partial success information
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CCAPARTIALSUCCESSDATA_H
       
    20 #define CCAPARTIALSUCCESSDATA_H
       
    21 
       
    22 // INCLUDES
       
    23 #include    <e32base.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class       CCAErrorData;
       
    27 class       MCAError;
       
    28 class       CImpsDetailed;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  CCAPartialSuccessData holds the message information.
       
    34 *
       
    35 *
       
    36 *  @lib CAEngine.lib
       
    37 *  @since 1.2
       
    38 */
       
    39 class CCAPartialSuccessData : public CBase
       
    40     {
       
    41     public:  // Constructors and destructor
       
    42 
       
    43         /**
       
    44         * Two-phased constructor.
       
    45         */
       
    46         static CCAPartialSuccessData* NewL();
       
    47 
       
    48         /**
       
    49         * Destructor.
       
    50         */
       
    51         virtual ~CCAPartialSuccessData();
       
    52 
       
    53     public: // New functions
       
    54 
       
    55         /**
       
    56         * Set the partial success data. There can be only one of these
       
    57         * structures at a single moment. So when calling this function
       
    58         * it overrides any existing data.
       
    59         * @param aDetailedResults holds the information from the
       
    60         * partial success.
       
    61         */
       
    62         void SetPartialSuccessDataL(
       
    63             const CImpsDetailed& aDetailedResults );
       
    64 
       
    65         /**
       
    66         * Returns the partial success data array.
       
    67         * @return Partial success array (non-modifiable).
       
    68         */
       
    69         const RPointerArray<MCAError>* PartialSuccessData() const;
       
    70 
       
    71     private:
       
    72 
       
    73         /**
       
    74         * C++ default constructor.
       
    75         * @see CCAPartialSuccessData::ConstructL.
       
    76         */
       
    77         CCAPartialSuccessData();
       
    78 
       
    79     private:    // Data
       
    80 
       
    81         // Error data holder
       
    82         RPointerArray<MCAError> iErrorData;
       
    83     };
       
    84 
       
    85 #endif      // CCAPARTIALSUCCESSDATA_H
       
    86 
       
    87 // End of File