/****************************************************************************

  module      : XMLQCLib_HtmlTemplate_HeaderEmbedded.cpp

  -------------------------------------------------------------------------

  responsible : Daniel Kirmse

  special area: 
  description : 


  last changed: 2001-06-26  16:19
  see also    : 

  -------------------------------------------------------------------------


    ========== licence begin  GPL
    Copyright (c) 2001-2005 SAP AG

    This program 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.

    This program 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 this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    ========== licence end


*****************************************************************************/

	/*===================================================================
	// Includes
	//===================================================================*/
	#include "SAPDB/XML/QueryClientLib/XMLQCLib_HtmlTemplate_HeaderEmbedded.hpp"



	XMLQCLib_HtmlTemplate_HeaderEmbedded::XMLQCLib_HtmlTemplate_HeaderEmbedded(sapdbwa_WebAgent &wa,
																 				 sapdbwa_HttpRequest &req) 
		                  : Tools_Template ( wa, (const unsigned char*)TEMPLATE_EMBEDDED_HEADER )
	{ 
		strcpy(_serviceName,wa.GetServiceName());
	} 


	XMLQCLib_HtmlTemplate_HeaderEmbedded::~XMLQCLib_HtmlTemplate_HeaderEmbedded()
	{
	}

	XMLQCLIB_Int2 XMLQCLib_HtmlTemplate_HeaderEmbedded::askForWriteCount(const Tools_DynamicUTF8String & szName)
	{
		return 1;
	} 


	Tools_DynamicUTF8String XMLQCLib_HtmlTemplate_HeaderEmbedded::askForValue (const Tools_DynamicUTF8String & szName)
	{
		return (Tools_DynamicUTF8String::ConstPointer)_serviceName;
	}

