viewexapp.cpp

来自「Symbian OS C++手机开发源码」· C++ 代码 · 共 62 行

CPP
62
字号
/*
* ============================================================================
*  Name     : CViewExApp from ViewExApp.cpp
*  Part of  : ViewEx
*  Copyright (c) 2004 Symbian Software Ltd. All rights reserved.
* ============================================================================
*/

// INCLUDE FILES
#include    "ViewExApp.h"
#include    "ViewExDocument.h"

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

// ---------------------------------------------------------
// CViewExApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CViewExApp::AppDllUid() const
    {
    return KUidViewEx;
    }

   
// ---------------------------------------------------------
// CViewExApp::CreateDocumentL()
// Creates CViewExDocument object
// ---------------------------------------------------------
//
CApaDocument* CViewExApp::CreateDocumentL()
    {
    return CViewExDocument::NewL( *this );
    }

// ================= OTHER EXPORTED FUNCTIONS ==============
//
// ---------------------------------------------------------
// NewApplication() 
// Constructs CViewExApp
// Returns: created application object
// ---------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
    {
    return new CViewExApp;
    }

// ---------------------------------------------------------
// E32Dll(TDllReason) 
// Entry point function for EPOC Apps
// Returns: KErrNone: No error
// ---------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
    {
    return KErrNone;
    }

// End of File  

⌨️ 快捷键说明

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