📄 sounddoc.cpp
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
// INCLUDE FILES
#include <eikenv.h>
#include <eikproc.h>
#include "SoundDoc.h"
#include "SoundAppUI.h"
// ========================= MEMBER FUNCTIONS ==================================
// -----------------------------------------------------------------------------
// CSoundDocument::CSoundDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CSoundDocument::CSoundDocument( CEikApplication& aApp ) : CAknDocument( aApp )
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CSoundDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CSoundDocument* CSoundDocument::NewL( CEikApplication& aApp )
{
CSoundDocument* self = NewLC( aApp );
CleanupStack::Pop( self );
return self;
}
// -----------------------------------------------------------------------------
// CSoundDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CSoundDocument* CSoundDocument::NewLC( CEikApplication& aApp )
{
CSoundDocument* self = new ( ELeave ) CSoundDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
return self;
}
// -----------------------------------------------------------------------------
// CSoundDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CSoundDocument::ConstructL()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CSoundDocument::CreateAppUiL()
// Create the application user interface, and return a pointer to it
// -----------------------------------------------------------------------------
//
CEikAppUi* CSoundDocument::CreateAppUiL()
{
return ( static_cast<CEikAppUi*>( new ( ELeave ) CSoundAppUi ) );
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -