uifw/AvKon/tsrc/bc/bctestdom3.2/bctestdomfntlay/inc/bctestdomadapter.h
changeset 0 2f259fa3e83a
child 10 3d340a0166ff
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     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:  adapter of layout
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_CBCTESTDOMADAPTER_H
       
    20 #define C_CBCTESTDOMADAPTER_H
       
    21 
       
    22 #include <aknlayout2def.h>
       
    23 #include <aknlayout2datadef.h>
       
    24 
       
    25 class CBCTestDomAdapter: public CBase
       
    26     {
       
    27 public: // constructor and destructor
       
    28     
       
    29     /**
       
    30     * Symbian 2nd static constructor
       
    31     */
       
    32     static CBCTestDomAdapter* NewL();
       
    33     
       
    34     /**
       
    35     * Destructor
       
    36     */
       
    37     virtual ~CBCTestDomAdapter();
       
    38   
       
    39     
       
    40     /**
       
    41     * Get a pointer to AdpData
       
    42     * 
       
    43     */
       
    44     TUint* GetAdpDataLookup();
       
    45         
       
    46 private: // constructor
       
    47     
       
    48     /**
       
    49     * C++ default constructor
       
    50     */
       
    51     CBCTestDomAdapter();
       
    52     
       
    53     /**
       
    54     * Symbian 2nd constructor
       
    55     */
       
    56     void ConstructL();
       
    57         
       
    58     /**
       
    59     * a callback function
       
    60     * @return return a TAknWindowLineLayout object 
       
    61     */
       
    62     static TAknWindowLineLayout WindowLine0f();
       
    63     
       
    64     /**
       
    65     * a callback function
       
    66     * @param aIndex is index of line 
       
    67     * @return return a TAknWindowLineLayout object 
       
    68     */
       
    69     static TAknWindowLineLayout WindowLine1f( TInt aIndex );
       
    70     
       
    71     /**
       
    72     * a callback function
       
    73     * @return return a TAknTextLineLayout object 
       
    74     */
       
    75     static TAknTextLineLayout TextLine0f();
       
    76    
       
    77     /**
       
    78     * a callback function
       
    79     * @param aIndex is index of line 
       
    80     * @return return a TAknTextLineLayout object 
       
    81     */   
       
    82     static TAknTextLineLayout TextLine1f( TInt aIndex );
       
    83      
       
    84 private: // data
       
    85         
       
    86     /**
       
    87      * Pointer to a TUint array 
       
    88      */
       
    89     TUint*  iAdpDataLookup;
       
    90         
       
    91     };
       
    92 
       
    93 #endif // C_CBCTESTDOMADAPTER_H