uiresources_pub/pictograph_api/tsrc/inc/testsdkpictographcontrol.h
changeset 0 05e9090e2422
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     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:  test aknpictographinterface.h
       
    15                       akniconsrvclient.h
       
    16                       akniconutils.h
       
    17                       akninternaliconutils.h
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 #ifndef C_TESTSDKPICTOGRAPHCONTROL_H
       
    24 #define C_TESTSDKPICTOGRAPHCONTROL_H
       
    25 
       
    26 
       
    27 #include <coecntrl.h>
       
    28 
       
    29 class CTestSDKPicToGraphControl: public CCoeControl
       
    30     {
       
    31 public: // constructor and destructor
       
    32 
       
    33     /**
       
    34      * Symbian 2nd constructor
       
    35      */
       
    36     static CTestSDKPicToGraphControl* NewL();
       
    37 
       
    38     /**
       
    39      * Destructor
       
    40      */
       
    41     virtual ~CTestSDKPicToGraphControl();
       
    42 
       
    43 private:
       
    44 
       
    45     /**
       
    46      * C++ default constructor
       
    47      */
       
    48     CTestSDKPicToGraphControl();
       
    49 
       
    50     /**
       
    51      * Symbian 2nd constructor
       
    52      */
       
    53     void ConstructL();
       
    54 
       
    55 private: // from CCoeControl
       
    56 
       
    57     /**
       
    58      * Return count of component controls
       
    59      */
       
    60     TInt CountComponentControls() const;
       
    61 
       
    62     /**
       
    63      * Return pointer to component control specified by index
       
    64      * @param aIndex, a index to specify a component control
       
    65      */
       
    66     CCoeControl* ComponentControl( TInt aIndex ) const;
       
    67 
       
    68     /**
       
    69     * From CCoeControl, Draw.
       
    70     * Fills the window's rectangle.
       
    71     * @param aRect Region of the control to be (re)drawn.
       
    72     */
       
    73     void Draw( const TRect& aRect ) const;  
       
    74 
       
    75     /**
       
    76      * Resize screen.
       
    77      */
       
    78     void SizeChanged();
       
    79 
       
    80     };
       
    81 
       
    82 
       
    83 #endif // C_TESTSDKPICTOGRAPHCONTROL_H