client.cpp

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

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

//#ifdef __SERIES60_3X__
#include <eikstart.h>
//#endif
//#include "ClientApplication.h"

// ----------------------------------------------------------------------------
// NewApplication()
//
// Create an application, and return a pointer to it
// ----------------------------------------------------------------------------
EXPORT_C CApaApplication* NewApplication()
	{
	//return (static_cast<CApaApplication*>(new CClientApplication));
	 return new CClientApp;
	}

//#ifdef __SERIES60_3X__
// ---------------------------------------------------------
// E32Main()
// Entry point function for new (>= 9.0) EPOC Apps (exe)
// Returns: Sistem Wide error codes or KErrNone if all goes well
// ---------------------------------------------------------
//
GLDEF_C TInt E32Main()
{
	return EikStart::RunApplication( NewApplication );
}
//#else
// ---------------------------------------------------------
// E32Dll(TDllReason)
// Entry point function for EPOC Apps
// Returns: KErrNone: No error
// ---------------------------------------------------------
//
//GLDEF_C TInt E32Dll( TDllReason )
//{
//    return KErrNone;
//}

//#endif

// end of file

⌨️ 快捷键说明

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