datagramtestapplication.cpp

来自「经过改造的EasyDgm」· C++ 代码 · 共 50 行

CPP
50
字号
/*
* ==============================================================================
*  Name        : DatagramTestapplication.cpp
*  Part of     : DatagramTest
*  Interface   : 
*  Description : 
*  Version     : 
*
*  Copyright (c) 2007 Symbian Ltd.  All rights reserved.
* ==============================================================================
*/

// INCLUDE FILES
#include "DatagramTestDocument.h"
#include "DatagramTestApplication.h"

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

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

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

// -----------------------------------------------------------------------------
// CDatagramTestApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CDatagramTestApplication::AppDllUid() const
    {
    // Return the UID for the DatagramTest application
    return KUidDatagramTestApp;
    }



// End of File

⌨️ 快捷键说明

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