classicui_pub/notes_api/tsrc/inc/testsdknotesnotecontrol.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2002 - 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:  Test aknnotecontrol.h
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef C_TESTSDKNOTESNOTECONTROL_H
       
    19 #define C_TESTSDKNOTESNOTECONTROL_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <aknnotecontrol.h>
       
    23 
       
    24 #include "testsdknotes.h"
       
    25     /**
       
    26     *  CTestSDKNotesNoteControl test class for CAknNoteDialog protected API.
       
    27     */
       
    28 class CTestSDKNotesNoteControl : public CAknNoteControl
       
    29     {
       
    30 public:// Constructors and destructor
       
    31     
       
    32     /**
       
    33     * C++ default constructor.
       
    34     */
       
    35     CTestSDKNotesNoteControl();
       
    36 
       
    37     /**
       
    38     *  MopSupplyObject test function for testing the 
       
    39     * Test MopSupplyObject function
       
    40     */
       
    41     TTypeUid::Ptr MopSupplyObject(TTypeUid aId);
       
    42 
       
    43     /**
       
    44     *  ConstructFromResourceL test function for testing the 
       
    45     * Test ConstructFromResourceL function
       
    46     */
       
    47     void ConstructFromResourceL(TResourceReader& aRes);
       
    48 
       
    49     /**
       
    50     *  Draw test function for testing the 
       
    51     * Test Draw function
       
    52     */
       
    53     void Draw(const TRect& aRect) const;
       
    54 
       
    55     /**
       
    56     *  SizeChanged test function for testing the 
       
    57     * Test SizeChanged function
       
    58     */
       
    59     void SizeChanged();
       
    60 
       
    61     /**
       
    62     *  DoLayout test function for testing the 
       
    63     * Test DoLayout function
       
    64     */
       
    65     TSize MinimumSize();
       
    66 
       
    67     /**
       
    68     *  CountComponentControls test function for testing the 
       
    69     * Test CountComponentControls function
       
    70     */
       
    71     TInt CountComponentControls() const;
       
    72 
       
    73     /**
       
    74     *  ComponentControl test function for testing the 
       
    75     * Test ComponentControl function
       
    76     */
       
    77     CCoeControl* ComponentControl(TInt anIndex) const;
       
    78     };
       
    79 #endif /*C_TESTSDKNOTESNOTECONTROL_H*/