taskswitcher/testapplications/generator/generator/common/inc/helloworldbasicquerydialog.h
changeset 117 c63ee96dbe5f
equal deleted inserted replaced
115:3ab5c078b490 117:c63ee96dbe5f
       
     1 /*
       
     2 * ==============================================================================
       
     3 *  Name        : helloworldbasicquerydialog.h
       
     4 *  Part of     : helloworldbasic
       
     5 *  Interface   :
       
     6 *  Description :
       
     7 *  Version     :
       
     8 *
       
     9 *  Copyright (c) 2006 Nokia Corporation.
       
    10 *  This material, including documentation and any related
       
    11 *  computer programs, is protected by copyright controlled by
       
    12 *  Nokia Corporation.
       
    13 * ==============================================================================
       
    14 */
       
    15 
       
    16 #ifndef HELLOWORLDQUERYDIALOG_H
       
    17 #define HELLOWORLDQUERYDIALOG_H
       
    18 
       
    19 
       
    20 //  INCLUDES
       
    21 #include <aknquerydialog.h>
       
    22 
       
    23 // CLASS DECLARATION
       
    24 
       
    25 /**
       
    26 *  CHelloWorldQueryDialog class.
       
    27 *  This class is used to query the user for text information
       
    28 */
       
    29 class CHelloWorldQueryDialog : public CAknTextQueryDialog
       
    30     {
       
    31     public:  // Constructors and destructor
       
    32 
       
    33         /**
       
    34         * C++ default constructor.
       
    35         * @param aBuf buffer to store the input
       
    36         * @param aDefInput default input for the dialog
       
    37         */
       
    38         CHelloWorldQueryDialog( TDes& aBuf, HBufC *aDefInput );
       
    39 
       
    40         /**
       
    41         * Destructor.
       
    42         */
       
    43         virtual ~CHelloWorldQueryDialog() {};
       
    44 
       
    45     private:    // from CEikDialog
       
    46 
       
    47         /**
       
    48         * sets the default value to the dialog.
       
    49         */
       
    50         void  PreLayoutDynInitL();
       
    51 
       
    52     private:    // Data
       
    53 
       
    54        /**
       
    55         * the default input for the dialog
       
    56         */
       
    57         HBufC&  iDefInput;
       
    58     };
       
    59 
       
    60 #endif // HELLOWORLDQUERYDIALOG_H
       
    61 
       
    62 // End of File
       
    63