lark_rtptdialog.cpp

来自「symbian平台S60_2nd_FP2_SC rtp实现」· C++ 代码 · 共 61 行

CPP
61
字号
/*
* ============================================================================
*  Name     : CLark_RtpTDialog from Lark_RtpTDialog.h
*  Part of  : Lark_RtpT
*  Created  : 08.10.2007 by 
*  Implementation notes:
*     Initial content was generated by Series 60 Application Wizard.
*  Version  :
*  Copyright: 
* ============================================================================
*/

// INCLUDE FILES
#include    "Lark_RtpTDialog.h"

#include <eiklabel.h>  // for example label control
#include <avkon.hrh>
#include <aknappui.h>

// ================= MEMBER FUNCTIONS =======================


// Destructor
CLark_RtpTDialog::~CLark_RtpTDialog()
    {
    }

// ---------------------------------------------------------
// CLark_RtpTDialog::OkToExitL(TInt aButtonId)
// called by framework when the softkey is pressed
// ---------------------------------------------------------
//
TBool CLark_RtpTDialog::OkToExitL(TInt aButtonId)
{
    // Translate the button presses into commands for the appui & current
    // view to handle
    if ( aButtonId == EAknSoftkeyOptions )
        {
        iAvkonAppUi->ProcessCommandL( EAknSoftkeyOptions );
        }
    else if ( aButtonId == EAknSoftkeyBack )
        {
        iAvkonAppUi->ProcessCommandL( EEikCmdExit );
        }
    
    return EFalse;
}

// ---------------------------------------------------------
// CLark_RtpTDialog::PreLayoutDynInitL();
// called by framework before dialog is shown 
// ---------------------------------------------------------
//
void CLark_RtpTDialog::PreLayoutDynInitL()
    {
    }


// End of File

⌨️ 快捷键说明

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