ImagePrint/ImagePrintUI/imageprinteng/inc/clistcapability.h
branchGCC_SURGE
changeset 25 59ea2209bb67
parent 23 08cc4cc059d4
parent 15 a92d00fca574
equal deleted inserted replaced
23:08cc4cc059d4 25:59ea2209bb67
     1 /*
       
     2 * Copyright (c) 2004-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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CLISTCAPABILITY_H
       
    20 #define CLISTCAPABILITY_H
       
    21 
       
    22 #include "cbasecapability.h"
       
    23 
       
    24 class CRealFactory;
       
    25 
       
    26 /**
       
    27  *
       
    28  *  Capability type for list type of settings
       
    29  *
       
    30  */
       
    31 class CListCapability :
       
    32     public CBaseCapability
       
    33     {
       
    34     public:     //  Constructors and destructors
       
    35         
       
    36         CListCapability ( CRealFactory* aFactory );
       
    37         
       
    38         /**
       
    39          *  Destructor
       
    40          */
       
    41         virtual ~CListCapability();
       
    42 
       
    43     public:     //  Methods derived from CBaseCapability
       
    44 
       
    45         virtual HBufC* ListBoxTextL();
       
    46         virtual TBool LaunchPopupListL();
       
    47         virtual CBaseCapability* CloneL();
       
    48 
       
    49     public:     // Data
       
    50 
       
    51         // Enumeration IDs and the texts associated to the ids
       
    52         RArray<TInt> iEnumIDs;
       
    53         RPointerArray<HBufC> iTexts;      
       
    54         
       
    55         CRealFactory* iFactory; //not owned  
       
    56     };
       
    57 
       
    58 #endif  //  CLISTCAPABILITY_H
       
    59 
       
    60 //  End of File