soundmixerapp.cpp

来自「手机操作系统Symbian支持混音功能的声音引擎代码」· C++ 代码 · 共 66 行

CPP
66
字号
/*
 * ================================================================
 *  Name     : SoundMixerApp.cpp
 *  Part of  : SoundMixer
 *  Created  : 03/30/2006 by Forum Nokia
 *  Description:
 *     This is the project specification file for SoundMixer.
 *  Version  : 2.0.0
 *  Copyright: Forum Nokia
 * ================================================================
 */

// INCLUDES
#include    "SoundMixerApp.h"
#include    "SoundMixerDocument.h"

#ifdef __SERIES60_30__
#include <eikstart.h>
#endif

TUid CSoundMixerApp::AppDllUid() const
    {
    return KUidSoundMixer;
    }
    

CApaDocument* CSoundMixerApp::CreateDocumentL()
    {
    return CSoundMixerDocument::NewL( *this );
    }


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


// ---------------------------------------------------------
// E32Main()
// Entry point function for EPOC Application
// Returns: EikStart::RunApplication: NewApplication
// ---------------------------------------------------------
#ifdef __SERIES60_30__

GLDEF_C TInt E32Main()
  {
  return EikStart::RunApplication( NewApplication );
  }
  
# else

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

// End of File

⌨️ 快捷键说明

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