classicui_pub/popups_api/tsrc/inc/testsdkpopupspf.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 aknpopupfader.h aknpopupfield.h aknpopupsettingpage.h
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_TESTSDKPOPUPSPF_H
       
    20 #define C_TESTSDKPOPUPSPF_H
       
    21 
       
    22 #include <coecobs.h>
       
    23 #include <aknpopupfader.h>
       
    24 #include <aknpopupfield.h>
       
    25 #include <aknpopupsettingpage.h> 
       
    26 
       
    27 
       
    28 class CTestSDKPopupsPF : public CBase,
       
    29                          public MAknFadedComponent,
       
    30                          public MAknPopupFieldObserver,
       
    31                          public MAknPopupSettingListObserver
       
    32     {
       
    33 public:// Constructors and destructor
       
    34     /**
       
    35     * C++ default constructor.
       
    36     */
       
    37     CTestSDKPopupsPF();
       
    38     
       
    39     /**
       
    40     * Destructor.
       
    41     */
       
    42     ~CTestSDKPopupsPF();
       
    43     
       
    44 public://from MAknFadedComponent
       
    45     /**
       
    46     *  CountFadedComponents test function for testing the 
       
    47     * Test CountFadedComponents function
       
    48     */
       
    49     TInt CountFadedComponents();
       
    50 
       
    51     /**
       
    52     *  FadedComponent test function for testing the 
       
    53     * Test FadedComponent function
       
    54     */
       
    55     CCoeControl* FadedComponent( TInt aIndex );
       
    56     
       
    57 public://from MAknPopupFieldObserver
       
    58     void HandlePopupFieldEventL ( CAknPopupField* aPopupField, 
       
    59              TAknPopupFieldEvent aEventType, TInt aHint );
       
    60     
       
    61 public://from MAknPopupSettingListObserver
       
    62     void HandlePopupSettingListEventL( CAknPopupSettingList* aPopupSettingList, 
       
    63              TAknPopupSettingListEvent aEventType, TInt aHint);
       
    64     };
       
    65 
       
    66 #endif /*C_TESTSDKPOPUPSPF_H*/