drawapp.cpp

来自「一个基于symbian OS的多位图显示程序例子」· C++ 代码 · 共 67 行

CPP
67
字号
/* ============================================================================
*  Name     : CDrawApp from DrawApp.cpp
*  Part of  : Draw
*  Created  : 22.04.2005 by 
* 
*  Implementation notes:
*
*     Initial content was generated by Series 60 Application Wizard.
*  Version  :
*  Copyright: 
* ============================================================================
*/

// INCLUDE FILES
#include    "DrawApp.h"
#include    "DrawDocument.h"

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

// ---------------------------------------------------------
// CDrawApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CDrawApp::AppDllUid() const
    {
    return KUidDraw;
    }

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

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

// ---------------------------------------------------------
// 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 + -
显示快捷键?