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

📄 s60oplruntimeappui.cpp

📁 在手机操作系统symbina上使用的一个脚本扩展语言的代码实现,可以参考用于自己的开发
💻 CPP
字号:
#include <eikmenup.h>

#include "Oplr.h"
#include "OplStartUpDialog.h" 
//#include "Opl.rsg"
#include "OplStartUpDialog.hrh"

#include <avkon.hrh>


EXPORT_C void COplRuntime::DynInitMenuPaneL(TInt /*aResourceId*/, CEikMenuPane* /*aMenuPane*/)
    {
    }

EXPORT_C TKeyResponse COplRuntime::HandleKeyEventL(const TKeyEvent& /*aKeyEvent*/,
											TEventCode /*aType*/)
    {
    return EKeyWasNotConsumed;
    }

EXPORT_C void COplRuntime::HandleCommandL(TInt aCommand)
    {
    if (aCommand == EEikCmdExit)
        {
        Exit();
        }
	else if (aCommand == EOplStartUpDialogCmdIdStart)
		{
		iStartUpAO->StartItUpL();
		}
	else if (aCommand == EOplStartUpDialogCmdIdDebug)
		{
		_LIT(KDebugMsg,"Debug start N/A.");
		User::InfoPrint(KDebugMsg);
		}
	}

// End of file

⌨️ 快捷键说明

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