s60oplruntimedialog.cpp

来自「在手机操作系统symbina上使用的一个脚本扩展语言的代码实现,可以参考用于自己」· C++ 代码 · 共 31 行

CPP
31
字号

#include "OplStartUpDialog.h"

#include <avkon.hrh>
#include <aknappui.h>
#include <EikFUtil.h>
#include <MsvIds.h>

COplRuntimeStartUpDialog::~COplRuntimeStartUpDialog()
    {
    }

// This function is called when either of the two softkeys is pressed.

TBool COplRuntimeStartUpDialog::OkToExitL(TInt aButtonId)
	{
    if (aButtonId == EAknSoftkeyOptions)
        iAvkonAppUi->ProcessCommandL(EAknSoftkeyOptions);
    else if (aButtonId == EAknSoftkeyExit)
        iAvkonAppUi->ProcessCommandL(EEikCmdExit);
    
    return EFalse;
	}

void COplRuntimeStartUpDialog::PreLayoutDynInitL()
    {
    }



⌨️ 快捷键说明

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