clientapplication.cpp

来自「symbian os手机程序开发」· C++ 代码 · 共 43 行

CPP
43
字号
/*
 * ============================================================================
 *  Name     : ClientApplication.cpp
 *  Part of  : HTTP Client Example
 *  Created  : 06/20/2006 by Forum Nokia
 *  Version  : 2.0
 *  Copyright: Forum Nokia
 * ============================================================================
 */

#include "ClientDocument.h"
#include "ClientApplication.h"

// UID for the application; this should correspond to the uid defined in
// the mmp file
#ifdef __SERIES60_3X__
  const TUid KUidClientApp = {0xE01F5463};
#else
  const TUid KUidClientApp = {0x001F5463};
#endif

// ----------------------------------------------------------------------------
// CClientApplication::CreateDocumentL()
//
// Creates an Client document, and returns a pointer to it
// ----------------------------------------------------------------------------
CApaDocument* CClientApplication::CreateDocumentL()
	{
	return (static_cast<CApaDocument*>(CClientDocument::NewL(*this)));
	}

// ----------------------------------------------------------------------------
// CClientApplication::AppDllUid()
//
// Returns the UID for the Client application
// ----------------------------------------------------------------------------
TUid CClientApplication::AppDllUid() const
	{
    return KUidClientApp;
	}
	
// end of file

⌨️ 快捷键说明

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