?? bluetoothdefinitions.h
字號(hào):
#ifndef __BLUETOOTHDEFINITIONS_H__
#define __BLUETOOTHDEFINITIONS_H__
#include <e32std.h>
/**
* Variables utilised by several classes in the Bluetooth Chat application
*/
const TUint KServiceClass = 0x101F6148;
_LIT(KServiceName,"EMCC Chat");
_LIT(KServiceDescription,"Bluetooth Chat Application");
_LIT(KServerTransportName,"RFCOMM");
const TInt KListeningQueSize = 1;
const TInt KMaxMessageLength = 60;
const TInt KMaxMessageSizeDesc16 = KMaxMessageLength * 2;
// App-wide panic code
enum TBluetoothChatPanic
{
EInvalidClientState,
EInvalidServerState,
EErrorStoppingServer,
EErrorInNextRecordRequestComplete,
EErrorInAttributeRequestResult,
EErrorInAttributeRequestComplete,
EBadAttributeValue
};
_LIT(KBluetoothChatPanicString, "BLUETOOTHCHAT");
inline void Panic(TBluetoothChatPanic aPanicCode)
{
User::Panic(KBluetoothChatPanicString, (TInt)(aPanicCode));
}
#endif // __BLUETOOTHDEFINITIONS_H__
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -