⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cmmsldialog.h

📁 The MMS List example demonstrates how to: List the MMS messages in the Inbox and sort them by sen
💻 H
字号:
/* Copyright (c) 2003, Nokia. All rights reserved */

#ifndef __CMMSLDIALOG_H__
#define __CMMSLDIALOG_H__

// INCLUDES
#include <eikdialg.h>
#include "MMmslObsInterface.h"

// CONSTANTS
const TInt KMaxTelephoneNumberLength    = 32; // max telephone number length
const TInt KMaxMessageLength            = 256; // max mms message length

// CLASS DECLARATION

/**
* CMmslDialog dialog class.
*
*/
class CMmslDialog : public CEikDialog
    {
    public: // Constructors and destructor

        /**
        * CMmslDialog
        * Constructor.
        * @param aObserver Address of observer. Observer knows message data.
        * @param aItem Listbox text. Used to find message id.
        */
        CMmslDialog( MMmslObsInterface* aObserver, const TDesC& aItem );

        /**
        * ~CMmslDialog
        * Destructor is always virtual.
        */
        virtual ~CMmslDialog();

    protected:  // Functions from base classes

        /**
        * From CEikDialog,PreLayoutDynInitL.
        * This method is called in CEikDialog::ExecuteLD()
        * before a form is drawn.
        */
        void PreLayoutDynInitL();

        /**
        * From CEikDialog,OkToExitL.
        * This method is called by the dialog framework.
        * @param aButtonId, id of the softkey which was pressed
        * @return ETrue if the dialog can exit, EFalse otherwise
        */
        TBool OkToExitL( TInt aButtonId );


    private: //data
        /**
        * Where all questions are asked from.
        * Owned by CMmslAppUi object.
        */
        MMmslObsInterface* iObserver;

        /**
        * MLisbox item.
        * Owned by CEikTextListBox object.
        */
        const TDesC& iItem;
    };

#endif	// __CMMSLDIALOG_H__

// End of File

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -