notepad/notepad1/inc/NpdTemplateListBox.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     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:  Declaration of customized Template ListBox control.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NPDTEMPLATELISTBOX_H
       
    20 #define NPDTEMPLATELISTBOX_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <aknlists.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CNotepadDialogBase;
       
    27 
       
    28 // CLASS DECLARATION
       
    29 /**
       
    30 *  Customized control for 'list of Templates'.
       
    31 *  CNotepadTemplateListBox is a customized ListBox control class for 'list of Templates'.
       
    32 *  This class is used only to implement Notepad 'list of Templates'.
       
    33 *  
       
    34 * @lib NpdLib.lib
       
    35 * @see CAknSingleGraphicStyleListBox
       
    36 */
       
    37 class CNotepadTemplateListBox : public CAknSingleGraphicStyleListBox
       
    38     {
       
    39     public:
       
    40 
       
    41         /**
       
    42         * Constructor
       
    43         *
       
    44         */       
       
    45         CNotepadTemplateListBox( CNotepadDialogBase& aParent );
       
    46 
       
    47         /**
       
    48         * Handles pointer events from pen
       
    49         *
       
    50         */
       
    51         void HandlePointerEventL( const TPointerEvent& aPointerEvent );
       
    52 
       
    53     private: // Data
       
    54         CNotepadDialogBase& iParent;
       
    55         TInt iPreviousIndex;
       
    56     };
       
    57 
       
    58 #endif // NPDTEMPLATELISTBOX_H
       
    59 
       
    60 // End of File