socketsapplication.cpp

来自「国内著名嵌入式培训机构内部资料,内含一些实例代码,包括技术专题书籍」· C++ 代码 · 共 33 行

CPP
33
字号
/* Copyright (c) 2004, Nokia. All rights reserved */


// INCLUDE FILES
#include "SocketsDocument.h"
#include "SocketsApplication.h"

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

// -----------------------------------------------------------------------------
// CSocketsApplication::CreateDocumentL()
// Creates a Sockets document, and returns a pointer to it
// -----------------------------------------------------------------------------
//
CApaDocument* CSocketsApplication::CreateDocumentL()
    {
    CApaDocument* document = CSocketsDocument::NewL( *this );
    return document;
    }

// -----------------------------------------------------------------------------
// CSocketsApplication::AppDllUid()
// Returns the UID for the Sockets application
// -----------------------------------------------------------------------------
//
TUid CSocketsApplication::AppDllUid() const
    {
    // Return the UID for the Sockets application
    return KUidSocketsApp;
    }

// End of File

⌨️ 快捷键说明

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