S60 5th Edition SDK
Example Applications Guide

helloworldbasicquerydialog.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : helloworldbasicquerydialog.h
00004 *  Part of     : helloworldbasic
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2006 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 #ifndef HELLOWORLDQUERYDIALOG_H
00017 #define HELLOWORLDQUERYDIALOG_H
00018 
00019 
00020 //  INCLUDES
00021 #include <aknquerydialog.h>
00022 
00023 // CLASS DECLARATION
00024 
00025 /**
00026 *  CHelloWorldQueryDialog class.
00027 *  This class is used to query the user for text information
00028 */
00029 class CHelloWorldQueryDialog : public CAknTextQueryDialog
00030     {
00031     public:  // Constructors and destructor
00032 
00033         /**
00034         * C++ default constructor.
00035         * @param aBuf buffer to store the input
00036         * @param aDefInput default input for the dialog
00037         */
00038         CHelloWorldQueryDialog( TDes& aBuf, HBufC *aDefInput );
00039 
00040         /**
00041         * Destructor.
00042         */
00043         virtual ~CHelloWorldQueryDialog() {};
00044 
00045     private:    // from CEikDialog
00046 
00047         /**
00048         * sets the default value to the dialog.
00049         */
00050         void  PreLayoutDynInitL();
00051 
00052     private:    // Data
00053 
00054        /**
00055         * the default input for the dialog
00056         */
00057         HBufC&  iDefInput;
00058     };
00059 
00060 #endif // HELLOWORLDQUERYDIALOG_H
00061 
00062 // End of File
00063 

© Nokia 2009

Back to top