symbian4application.cpp

来自「S60 3版 音乐播放器及进度条实现 功能:前后倒放歌曲及暂停等功能」· C++ 代码 · 共 45 行

CPP
45
字号
/*
============================================================================
 Name        : Symbian4Application.cpp
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include "Symbian4Document.h"
#include "Symbian4Application.h"

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

// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidSymbian4App = { 0xebc43949 };

// -----------------------------------------------------------------------------
// CSymbian4Application::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CSymbian4Application::CreateDocumentL()
    {
    // Create an Symbian4 document, and return a pointer to it
    return (static_cast<CApaDocument*>
                    ( CSymbian4Document::NewL( *this ) ) );
    }

// -----------------------------------------------------------------------------
// CSymbian4Application::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CSymbian4Application::AppDllUid() const
    {
    // Return the UID for the Symbian4 application
    return KUidSymbian4App;
    }

// End of File

⌨️ 快捷键说明

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