locationsystemui/locationsysui/locverifier/inc/lpdbasemodel.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 14 Apr 2010 16:23:43 +0300
branchRCL_3
changeset 17 e000e7e1f1b1
parent 0 667063e416a2
permissions -rw-r--r--
Revision: 201013 Kit: 201015

/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Model base class.
*
*/


#ifndef CLPDBASEMODEL_H
#define CLPDBASEMODEL_H

//  INCLUDES
#include <e32base.h>
#include <bamdesca.h>

// FORWARD DECLARATIONS
class CLpdRequestorProcessor;
class CLocRequestorUtilsResolver;

// CLASS DECLARATION

/**
*  @lib locverifierdlg.dll
*  @since 2.1
*/
class CLpdBaseModel : public CBase, public MDesCArray
    {
    public:  // Constructors and destructor
        
        /**
        * Destructor.
        */
        virtual ~CLpdBaseModel();
        
    public: // Functions from base classes
        
        // Inherited from MDesCArray.
        TPtrC16 MdcaPoint( TInt aIndex ) const;

    protected: // New functions

        // Leaving method, wrapped by MdcaPoint
        virtual void MdcaPointL( TInt aIndex ) const = 0;

    protected: // Constructors and destructors

        /**
        * C++ constructor.
        */
        CLpdBaseModel( const CLpdRequestorProcessor& aRtorProcessor );

        /**
        * By default Symbian 2nd phase constructor is private.
        */
        void BaseConstructL();

    protected:    // Data
        
        const CLpdRequestorProcessor& iRtorProcessor;

        HBufC* iBuffer; // owns

        CLocRequestorUtilsResolver* iUtils; // owns
    };

#endif      // CLPDBASEMODEL_H   
            
// End of File