dialler.cpp
来自「大名鼎鼎的远程登录软件putty的Symbian版源码」· C++ 代码 · 共 51 行
CPP
51 行
/* dialler.cpp
*
* A dial-up connection setup class
*
* Copyright 2002-2004 Petteri Kangaslampi
*
* See license.txt for full copyright and license information.
*/
#include <e32std.h>
#include "dialler.h"
_LIT(KAssertPanic, "dialler.cpp");
#define assert(x) __ASSERT_ALWAYS(x, User::Panic(KAssertPanic, __LINE__))
// FIXME: Need an implementation for S80 2.0 using RConnection
CDialler *CDialler::NewL(MDialObserver *aObserver) {
CDialler *self = new (ELeave) CDialler(aObserver);;
CleanupStack::PushL(self);
self->ConstructL();
CleanupStack::Pop();
return self;
}
CDialler::CDialler(MDialObserver *aObserver) {
iObserver = aObserver;
}
CDialler::~CDialler() {
}
void CDialler::ConstructL() {
}
void CDialler::DialL() {
iObserver->DialCompleted(KErrNone);
}
void CDialler::CancelDial() {
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?