example2dapp.cpp

来自「symbian C++ 手机二维软件开发例子程序」· C++ 代码 · 共 80 行

CPP
80
字号
/* ============================================================================
*  Name     : CExample2DApp from Example2DApp.cpp
*  Part of  : Example2D
*  Created  : 23.09.2005 by 
* 
*  Implementation notes:
*
*     Initial content was generated by Series 90 Application Wizard.
*  Version  :
*  Copyright: 
* ============================================================================
*/

// INCLUDE FILES

#ifdef __SERIES60_30__

#include <eikstart.h>

#endif

#include    "Example2DApp.h"
#include    "Example2DDocument.h"



TUid CExample2DApp::AppDllUid() const
    {
    return KUidExample2D;
    }


   
CApaDocument* CExample2DApp::CreateDocumentL()
    {
    return CExample2DDocument::NewL( *this );
    }


TFileName CExample2DApp::ResourceFileName() const
	{
	return TFileName();
	}


EXPORT_C CApaApplication* NewApplication()
    {
    return new CExample2DApp;
    }

#ifdef __SERIES60_30__
    
// ---------------------------------------------------------
// E32Main() 
// Entry point function for Symbian OS v9 EXE Application
// ---------------------------------------------------------
//
GLDEF_C TInt E32Main()
	{
	return EikStart::RunApplication( NewApplication );
	}

#else

// ---------------------------------------------------------
// E32Dll(TDllReason) 
// Entry point function for Symbian DLL Application
// ---------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
    {
    return KErrNone;
    }

#endif

// End of file


⌨️ 快捷键说明

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