recorderapp.cpp

来自「symbian手机通话录音程序」· C++ 代码 · 共 63 行

CPP
63
字号
/*
* ============================================================================
*  Name     : Recorderapp.cpp
*  Part of  : RecorderExample
*  Created  : 20.03.2005 by Forum Nokia
*  Version  : 1.0.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

// INCLUDE FILES
#include "RecorderApp.h"
#include "RecorderDocument.h"


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

// ---------------------------------------------------------
// CRecorderApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
TUid CRecorderApp::AppDllUid() const
    {
    return KUidRecorder;
    }

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

// ================= OTHER EXPORTED FUNCTIONS ==============


// ---------------------------------------------------------
// NewApplication() 
// Constructs CRecorderApp
// Returns: CApaDocument*: created application object
// ---------------------------------------------------------
EXPORT_C CApaApplication* NewApplication()
    {
    return new CRecorderApp;
    }

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