e32main.cpp.svn-base
来自「S60 2nd环境下往手机中添加wap浏览器书签的例子。」· SVN-BASE 代码 · 共 36 行
SVN-BASE
36 行
/* Copyright (c) 2006, Nokia. All rights reserved */
/* developed by wayne chen, entel corp. */
/* date : 2006.08.22 */
#include "GenBookmark.h"
_LIT(KAppName, "GenBookmark");
// Entry Point
GLDEF_C TInt E32Main()
{
// create a clean-up stack
CTrapCleanup* cleanup = CTrapCleanup::New();
// create an instance of the class CGenBookmark, and call this classes
// DoFunctionL method to perform any processing
TRAPD(error,
CGenBookmark* app = CGenBookmark::NewLC();
app->DoFunctionL();
CleanupStack::PopAndDestroy(); // CGenBookmark
);
// check if an error occurred
__ASSERT_ALWAYS(error == KErrNone, User::Panic(KAppName, error));
// destroy clean-up stack
delete cleanup;
cleanup = NULL;
// return
return 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?