locationsystemui/locationsysui/locverifier/inc/lpdbasemodel.h
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     1 /*
       
     2 * Copyright (c) 2002 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:  Model base class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CLPDBASEMODEL_H
       
    20 #define CLPDBASEMODEL_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <bamdesca.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CLpdRequestorProcessor;
       
    28 class CLocRequestorUtilsResolver;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  @lib locverifierdlg.dll
       
    34 *  @since 2.1
       
    35 */
       
    36 class CLpdBaseModel : public CBase, public MDesCArray
       
    37     {
       
    38     public:  // Constructors and destructor
       
    39         
       
    40         /**
       
    41         * Destructor.
       
    42         */
       
    43         virtual ~CLpdBaseModel();
       
    44         
       
    45     public: // Functions from base classes
       
    46         
       
    47         // Inherited from MDesCArray.
       
    48         TPtrC16 MdcaPoint( TInt aIndex ) const;
       
    49 
       
    50     protected: // New functions
       
    51 
       
    52         // Leaving method, wrapped by MdcaPoint
       
    53         virtual void MdcaPointL( TInt aIndex ) const = 0;
       
    54 
       
    55     protected: // Constructors and destructors
       
    56 
       
    57         /**
       
    58         * C++ constructor.
       
    59         */
       
    60         CLpdBaseModel( const CLpdRequestorProcessor& aRtorProcessor );
       
    61 
       
    62         /**
       
    63         * By default Symbian 2nd phase constructor is private.
       
    64         */
       
    65         void BaseConstructL();
       
    66 
       
    67     protected:    // Data
       
    68         
       
    69         const CLpdRequestorProcessor& iRtorProcessor;
       
    70 
       
    71         HBufC* iBuffer; // owns
       
    72 
       
    73         CLocRequestorUtilsResolver* iUtils; // owns
       
    74     };
       
    75 
       
    76 #endif      // CLPDBASEMODEL_H   
       
    77             
       
    78 // End of File