panic.cpp
来自「Symbian OS C++ for Mobile Phones v3 Exam」· C++ 代码 · 共 23 行
CPP
23 行
// Copyright (c) 2004 - 2007, Symbian Software Ltd. All rights reserved.
#include "bluetoothtransport.h"
#ifdef _DEBUG
void BttPanic(TBttPanicReason aReason)
/**
This function is called when Bluetooth transport
functions detect an invalid state. It panicks the
current thread with the category "BTTPANIC" and
the supplied reason.
@param aReason Panic reason.
*/
{
_LIT(KPanicCat, "BTTPANIC");
User::Panic(KPanicCat, aReason);
}
#endif // #ifdef _DEBUG
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?