uiqoplruntimeappui.cpp

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

CPP
35
字号
#include <eikmenup.h>#include "Oplr.h"#include "OplStartUpDialog.h" //#include "Opl.rsg"#include "OplStartUpDialog.hrh"#include <uikon.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 + =
减小字号Ctrl + -
显示快捷键?