📄 puttyapp.cpp
字号:
/* puttyapp.cpp * * Putty UI Application class * * Copyright 2003 Sergei Khloupnov * Copyright 2002,2006 Petteri Kangaslampi * * See license.txt for full copyright and license information.*/#ifdef EKA2#include <eikstart.h>#endif#include "puttyapp.h"#include "puttydoc.h"#ifdef EKA2const TUid KUidPutty = { 0xf01f9075 };#elseconst TUid KUidPutty = { 0x101f9075 };#endif#ifndef PUTTY_S60#error Symbol PUTTY_S60 not defined -- build environment is incorrect#endifTUid CPuttyApplication::AppDllUid() const { return KUidPutty;}CApaDocument* CPuttyApplication::CreateDocumentL() { return new (ELeave) CPuttyDocument(*this);}// Application entry pointEXPORT_C CApaApplication *NewApplication() { return new CPuttyApplication;}#ifdef EKA2// EXE pointGLDEF_C TInt E32Main() { return EikStart::RunApplication( NewApplication );}#else// DLL entry pointGLDEF_C TInt E32Dll(TDllReason /*aReason*/) { return KErrNone;}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -