vrexapp.cpp

来自「symbian s60 有关音频的代码实例,供参考」· C++ 代码 · 共 82 行

CPP
82
字号
/*
* ============================================================================
*  Name     : CVRexApp from VRexApp.cpp
*  Part of  : Video Example
*  Created  : 30/08/2006 by Forum  Nokia
*  Implementation notes:
*  Version  : 2.0
*  Copyright: Nokia Corporation, 2006
* ============================================================================
*/

// INCLUDE FILES
#ifdef __SERIES60_3X__
#include <eikstart.h>
#endif

#include "VRexApp.h"
#include "VRexDocument.h"

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

// ---------------------------------------------------------
// CVRexApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CVRexApp::AppDllUid() const
    {
    return KUidVRex;
    }


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

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

#ifndef __SERIES60_3X__
// ---------------------------------------------------------
// E32Dll(TDllReason)
// Entry point function for EPOC Apps
// Returns: KErrNone: No error
// ---------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
{
    return KErrNone;
}
#else
// ---------------------------------------------------------
// E32Main()
// Entry point function for new (>= 9.0) EPOC Apps (exe)
// Returns: Sistem Wide error codes or KErrNone if all goes well
// ---------------------------------------------------------
//
GLDEF_C TInt E32Main()
{
	return EikStart::RunApplication( NewApplication );
}
#endif

// End of File

⌨️ 快捷键说明

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