luckfox-pico-sdk/project/app/ipcweb/ipcweb-backend/ipcweb-env-arm/include/cgicc/HTMLAtomicElement.h
luckfox-eng29 8f34c2760d project:build.sh: Added fastboot support; custom modifications to U-Boot and kernel implemented using patches.
project:cfg:BoardConfig_IPC: Added fastboot BoardConfig file and firmware post-scripts, distinguishing between
the BoardConfigs for Luckfox Pico Pro and Luckfox Pico Max. project:app: Added fastboot_client and rk_smart_door
for quick boot applications; updated rkipc app to adapt to the latest media library. media:samples: Added more
usage examples. media:rockit: Fixed bugs; removed support for retrieving data frames from VPSS. media:isp:
Updated rkaiq library and related tools to support connection to RKISP_Tuner. sysdrv:Makefile: Added support for
compiling drv_ko on Luckfox Pico Ultra W using Ubuntu; added support for custom root filesystem.
sysdrv:tools:board: Updated Buildroot optional mirror sources, updated some software versions, and stored device
tree files and configuration files that undergo multiple modifications for U-Boot and kernel separately.
sysdrv:source:mcu: Used RISC-V MCU SDK with RT-Thread system, mainly for initializing camera AE during quick
boot. sysdrv:source:uboot: Added support for fastboot; added high baud rate DDR bin for serial firmware upgrades.
sysdrv:source:kernel: Upgraded to version 5.10.160; increased NPU frequency for RV1106G3; added support for
fastboot.

Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
2024-10-14 09:47:04 +08:00

115 lines
3.2 KiB
C++

/* -*-mode:c++; c-file-style: "gnu";-*- */
/*
* $Id: HTMLAtomicElement.h,v 1.7 2007/07/02 18:48:18 sebdiaz Exp $
*
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org>
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com>
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
*/
#ifndef _HTMLATOMICELEMENT_H_
#define _HTMLATOMICELEMENT_H_ 1
/*! \file HTMLAtomicElement.h
* \brief Template class for concrete atomic HTMLElement subclasses
*
*/
#include <new>
#include "cgicc/HTMLElement.h"
namespace cgicc {
// ============================================================
// Template for concrete atomic HTML element classes
// ============================================================
/*! \class HTMLAtomicElement HTMLAtomicElement.h cgicc/HTMLAtomicElement.h
* \brief Template for concrete atomic HTMLElement subclasses
*
* An atomic HTML element is an element in which the opening and closing
* tags are combined. For example, in the HTML code
\verbatim
<meta link="made" href="mailto:sbooth@gnu.org" />
\endverbatim
* The \c meta tag is an atomic HTML element because the opening and closing
* tags appear together.
* \sa HTMLElement
* \sa HTMLBooleanElement
*/
template<class Tag>
class HTMLAtomicElement : public HTMLElement
{
public:
// ============================================================
/*! \name Constructors and Destructor */
//@{
/*!
* \brief Create a new empty atomic element.
*
*/
HTMLAtomicElement()
: HTMLElement(0, 0, 0, eAtomic)
{}
/*!
* \brief Create a new element, specifying the HTMLAttributes.
*
* \param attributes The HTMLAttributes contained within the element.
*/
HTMLAtomicElement(const HTMLAttributeList& attributes)
: HTMLElement(&attributes, 0, 0, eAtomic)
{}
/*!
* \brief Destructor
*
*/
virtual ~HTMLAtomicElement()
{}
//@}
/*!
* \brief Clone this element
*
* \return A newly-allocated copy of this element
*/
virtual inline HTMLElement*
clone() const
{ return new HTMLAtomicElement<Tag>(*this); }
/*!
* \brief Get the name of this element.
*
* For example, \c meta.
* \return The name of this element
*/
virtual inline const char*
getName() const
{ return Tag::getName(); }
};
} // namespace cgicc
#endif /* ! _HTMLATOMICELEMENT_H_ */