camerauis/cameraapp/generic/inc/CamUserSceneSetupItemArray.h
branchRCL_3
changeset 24 bac7acad7cb3
parent 0 1ddebce53859
equal deleted inserted replaced
23:61bc0f252b2b 24:bac7acad7cb3
       
     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:  Array of user scene setup items.*
       
    15 */
       
    16 
       
    17 
       
    18 #ifndef CAMUSERSCENESETUPITEMARRAY_H
       
    19 #define CAMUSERSCENESETUPITEMARRAY_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <bamdesca.h>
       
    23 #include "CamUserSceneSetupListItem.h"
       
    24    
       
    25 // FORWARD DECLARATIONS
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 *  CCamUserSceneSetupItemArray  container control class.
       
    31 *  
       
    32 */
       
    33 class CCamUserSceneSetupItemArray : public CArrayPtrFlat<CCamUserSceneSetupListItem>,
       
    34                                     public MDesCArray //, public MEikListBoxObserver, public MCoeControlObserver
       
    35     {
       
    36     public: // Constructors and destructor
       
    37 
       
    38 	    /**
       
    39 	    * C++ Constructor
       
    40 	    * @param	Number of items to initialise array size with.
       
    41         * @since 2.8
       
    42 	    */
       
    43         CCamUserSceneSetupItemArray( TInt aGranularity );
       
    44 
       
    45 	    /**
       
    46 	    * 2nd phase Constructor
       
    47         * @since 2.8
       
    48 	    */
       
    49         void ConstructL();
       
    50         /**
       
    51         * Destructor.
       
    52         * @since 2.8
       
    53         */
       
    54         ~CCamUserSceneSetupItemArray();
       
    55 
       
    56     public: // New functions
       
    57 
       
    58     public: // Functions from base class MDesC16Array
       
    59 	    /**
       
    60 	    * Method by which the CAknSetStyleListBox accesses the number of items in the array
       
    61 	    * @return	number of items in the array
       
    62         * @since 2.8
       
    63 	    */ 
       
    64 	    TInt MdcaCount() const;
       
    65 
       
    66 	    /**
       
    67 	    * Method by which the setting item list accesses the text for the aIndex-th item in the 
       
    68 	    * array.
       
    69 	    *
       
    70 	    * @param	aIndex	index at which to access the listbox text
       
    71 	    * @return	Descriptor for this item to be used by the listbox.
       
    72         * @since 2.8
       
    73 	    */
       
    74 	    TPtrC16 MdcaPoint( TInt aIndex ) const;
       
    75 
       
    76     private: // Constructors
       
    77 
       
    78      
       
    79     private: //data
       
    80     };
       
    81 
       
    82 #endif // CAMUSERSCENESETUPITEMARRAY_H
       
    83 
       
    84 // End of File