styluspopupmenuexapp.cpp

来自「symbian touch popup示例」· C++ 代码 · 共 42 行

CPP
42
字号
/**
 * Copyright (c) 2007 Nokia Corporation.
 * This material, including documentation and any related
 * computer programs, is protected by
 * copyright controlled by Nokia Corporation.
 */

// INCLUDE FILES
#include "styluspopupmenuexapp.h"
#include "styluspopupmenuexdoc.h"


// ============================ MEMBER FUNCTIONS ===============================

// UID for the application;
// this should correspond to the uid defined in the mmp file
static const TUid KUidStylusPopupMenuExApp = {0xA0000284};

// -----------------------------------------------------------------------------
// CStylusPopupMenuExApp::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CStylusPopupMenuExApp::CreateDocumentL()
    {  
    // Create an StylusPopupMenuEx document, and return a pointer to it
    CApaDocument* document = CStylusPopupMenuExDoc::NewL( *this );
    return document;
    }

// -----------------------------------------------------------------------------
// CStylusPopupMenuExApp::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CStylusPopupMenuExApp::AppDllUid() const
    {
    // Return the UID for the StylusPopupMenuEx application
    return KUidStylusPopupMenuExApp;
    }

⌨️ 快捷键说明

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