luckfox-pico-sdk/project/app/ipcweb/ipcweb-backend/ipcweb-env-arm/include/cgicc/XMLPI.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

83 lines
2.3 KiB
C++

/* -*-mode:c++; c-file-style: "gnu";-*- */
/*
* $Id: XMLPI.h,v 1.2 2014/04/23 20:55:10 sebdiaz Exp $
*
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org>
* 2007 David Roberts
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 XMLPI_H
#define XMLPI_H
/*! \file XMLPI.h
* \brief Class that abstracts a XMLPI
*
* This class add the XML Declaration feature
*/
#include <string>
#include "CgiDefs.h"
#include "MStreamable.h"
#include "HTMLAttributeList.h"
namespace cgicc {
/*! \class XMLPI XMLPI.h cgicc/XMLPI.h
* \brief Class that abstracts a XMLPI
*
* This class add the XMLPI feature
*/
class XMLPI : public MStreamable {
public:
// ============================================================
/*! \name Constructor and Destructor */
//@{
/*!
* \brief Constructor
*
* Create a new XMLPI.h object
* \param input The name of the XMLPI
*/
XMLPI(std::string name);
/*!
* \brief Destructor
*
* Delete this XMLPI object
*/
virtual ~XMLPI();
//@}
XMLPI& operator= (const XMLPI& element);
inline std::string getName() const { return fName; }
inline const HTMLAttributeList* getAttributes() const { return fAttributes; }
void setAttributes(const HTMLAttributeList& attributes);
XMLPI& set(const std::string& name);
XMLPI& set(const std::string& name, const std::string& value);
virtual void render(std::ostream& out) const;
private:
HTMLAttributeList* fAttributes;
std::string fName;
};
}// namespace cgicc
#endif