http.cpp

来自「简单的socket请求」· C++ 代码 · 共 32 行

CPP
32
字号
/* Copyright (c) 2008, Nokia. All rights reserved */

#include "HttpApplication.h"
#include "Env.h"

#ifdef __S60__3rd
#include <eikstart.h>

LOCAL_C CApaApplication* NewApplication()
	{
	return new CHttpApplication;
	}

GLDEF_C TInt E32Main()
	{
	return EikStart::RunApplication( NewApplication );
	}
#else
// DLL entry point, return that everything is ok
GLDEF_C TInt E32Dll(TDllReason /*aReason*/)
    {
    return KErrNone;
    }


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

#endif

⌨️ 快捷键说明

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