📄 btservicesdocument.cpp
字号:
// BtServicesDocument.cpp
//
// Copyright (c) 2003 Symbian Ltd. All rights reserved.
//
#include "btservicesdocument.h"
#include "btservicesappui.h"
#include "btservicesapp.h"
#include "btserviceseng.h"
EXPORT_C CApaApplication* NewApplication()
{
return new CBtServicesApplication;
}
GLDEF_C TInt E32Dll(TDllReason)
{
return KErrNone;
}
TUid CBtServicesApplication::AppDllUid() const
{
return KUidBtServices;
}
CApaDocument* CBtServicesApplication::CreateDocumentL()
{
return new (ELeave) CBtServicesDocument(*this);
}
CBtServicesDocument::CBtServicesDocument(CEikApplication& aApp)
: CQikDocument(aApp)
{
}
CEikAppUi* CBtServicesDocument::CreateAppUiL()
{
__ASSERT_ALWAYS(iEngine == 0, CBtServicesEng::Panic(EBtEngineAlreadyExists));
iEngine = CBtServicesEng::NewL();
__ASSERT_ALWAYS(iEngine != 0, CBtServicesEng::Panic(EBtEngineNotCreated));
return new(ELeave) CBtServicesAppUi(*iEngine);
}
CBtServicesDocument::~CBtServicesDocument()
{
delete iEngine;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -