multiviewsapplication.cpp

来自「演示如何使用Symbian系统的多视图(View)框架。」· C++ 代码 · 共 45 行

CPP
45
字号
/*
* ==============================================================================
*  Name        : multiviewsapplication.cpp
*  Part of     : MultiViews
*  Interface   :
*  Description :
*  Version     :
*
Copyright (c) 2004 - 2006 Nokia Corporation.
*  This material, including documentation and any related
*  computer programs, is protected by copyright controlled by
*  Nokia Corporation.
* ==============================================================================
*/


// INCLUDE FILES
#include "MultiViewsDocument.h"
#include "MultiViewsApplication.h"


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

// -----------------------------------------------------------------------------
// CMultiViewsApplication::CreateDocumentL()
// Create an MultiViews document, and return a pointer to it
// -----------------------------------------------------------------------------
//
CApaDocument* CMultiViewsApplication::CreateDocumentL()
    {
    return( static_cast< CApaDocument* >( CMultiViewsDocument::NewL( *this ) ) );
    }

// -----------------------------------------------------------------------------
// CMultiViewsApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CMultiViewsApplication::AppDllUid() const
    {
    return KUidMultiViewsApp;
    }

// End of File

⌨️ 快捷键说明

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