locationsystemui/locationsysui/locverifier/inc/lpdverifnotiflbmodel.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: This  is a header file for verification notifier list box model
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CLPDVERIFNOTIFLBMODEL_H
       
    20 #define CLPDVERIFNOTIFLBMODEL_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "lpdbasemodel.h"
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CLocPhoneNumberFormat;
       
    27 class CEikFormattedCellListBox;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  @lib locverifierdlg.dll
       
    33 *  @since 2.1
       
    34 */
       
    35 class CLpdVerifNotifLBModel : public CLpdBaseModel
       
    36     {
       
    37     public:  // Constructors and destructor
       
    38         
       
    39         /**
       
    40         * Two-phased constructor.
       
    41         * @param aRtorProcessor reference owning the requestor data
       
    42         * @param aListBox reference to the listbox showing the items
       
    43         * @return created object
       
    44         */
       
    45         static CLpdVerifNotifLBModel* NewL(
       
    46                         const CLpdRequestorProcessor& aRtorProcessor,
       
    47                         CEikFormattedCellListBox& aListBox );
       
    48 
       
    49         /**
       
    50         * Destructor.
       
    51         */
       
    52         virtual ~CLpdVerifNotifLBModel();
       
    53         
       
    54     public: // From MDesCArray
       
    55 
       
    56         TInt MdcaCount() const;
       
    57 
       
    58     protected: // From CLpdBaseModel
       
    59 
       
    60         void MdcaPointL( TInt aIndex ) const;
       
    61 
       
    62     protected: // Constructors and destructors
       
    63 
       
    64         /**
       
    65         * C++ constructor.
       
    66         */
       
    67         CLpdVerifNotifLBModel( const CLpdRequestorProcessor& aRtorProcessor,
       
    68                                CEikFormattedCellListBox& aListBox );
       
    69 
       
    70         /**
       
    71         * By default Symbian 2nd phase constructor is private.
       
    72         */
       
    73         void ConstructL();
       
    74 
       
    75     private:    // Data
       
    76 
       
    77         CEikFormattedCellListBox& iListBox;
       
    78 
       
    79         CLocPhoneNumberFormat* iFormatter; // owns
       
    80 
       
    81     };
       
    82 
       
    83 #endif      // CLPDVERIFNOTIFLBMODEL_H   
       
    84             
       
    85 // End of File