puttyapp.cpp
来自「大名鼎鼎的远程登录软件putty的Symbian版源码」· C++ 代码 · 共 56 行
CPP
56 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?