handlerapplication.cpp

来自「symbian的S60平台上文件处理的例子」· C++ 代码 · 共 27 行

CPP
27
字号
/* ====================================================================
 * File: handlerApplication.cpp
 * Created: 09/27/05
 * Author: 
 * Copyright (c): , All rights reserved
 * ==================================================================== */

#include "handlerDocument.h"
#include "handlerApplication.h"

// UID for the application, this should correspond to the uid defined in the mmp file
const TUid KUidhandlerApp = {0x0F084DF7};

CApaDocument* CHandlerApplication::CreateDocumentL()
    {  
    // Create an handler document, and return a pointer to it
    CApaDocument* document = CHandlerDocument::NewL(*this);
    return document;
    }

TUid CHandlerApplication::AppDllUid() const
    {
    // Return the UID for the handler application
    return KUidhandlerApp;
    }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?