chttpapplication.cpp

来自「Symbian手机上一个简单的http server 服务器代码」· C++ 代码 · 共 47 行

CPP
47
字号
/**
 * CHttpApplication implementation
 *
 * This file is part of HttpServer.
 *
 * HttpServer is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * HttpServer is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with HttpServer; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#include "HttpServer.h"

const TUid KUidHttpServer = { 0x0100FAD6 };

/**
 * The UI framework calls this to ask for the
 * application's UID. This must match what's defined
 * in the project definition file (HttpServer.mmp).
 */

TUid CHttpApplication::AppDllUid() const
{
	return KUidHttpServer;
}

/**
 * The UI framework calls this when the application
 * is starting up. This function creates an instance
 * of the application's document class.
 */

CApaDocument *CHttpApplication::CreateDocumentL()
{
	return new (ELeave) CHttpDocument(*this);
}

⌨️ 快捷键说明

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