emailuis/uicomponents/inc/fstextviewerselectline.h
changeset 0 8466d47a6819
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Whole line highlight class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_FSTEXTVIEWERSELECTLINE_H
       
    20 #define C_FSTEXTVIEWERSELECTLINE_H
       
    21 
       
    22 //#include <fsconfig.h> // <cmail>
       
    23 #include "fstextviewerselect.h"
       
    24 
       
    25 class CAlfLayout;
       
    26 class CAlfImageVisual;
       
    27 
       
    28 class CFsTextViewerSelectLine : public CFsTextViewerSelect
       
    29     {
       
    30     public:
       
    31         static CFsTextViewerSelectLine* NewL( 
       
    32                 CFsTextViewerSelectsManager* aManager );
       
    33         void SelectL();
       
    34         void DeselectL();
       
    35         void SelectedL();
       
    36         void HideActionButton();
       
    37         void ShowActionButtonL();
       
    38         
       
    39     public:
       
    40         ~CFsTextViewerSelectLine();
       
    41         
       
    42     protected:
       
    43         CFsTextViewerSelectLine( CFsTextViewerSelectsManager* aManager );
       
    44 
       
    45     private:
       
    46         CAlfLayout* iLayout;
       
    47         CAlfImageVisual* iActionButton;
       
    48         
       
    49         RArray<CAlfImageVisual*> iHighlightLines;
       
    50         TBool iIsShown;
       
    51         TBool iIsActionButton;
       
    52     };
       
    53 
       
    54 #endif //C_FSTEXTVIEWERSELECTLINE_H