CgiDefs.h | CgiDefs.h | |||
---|---|---|---|---|
/* -*-c++-*- */ | /* -*-c++-*- */ | |||
/* | /* | |||
* $Id: CgiDefs.h.in,v 1.9 2007/07/02 18:48:17 sebdiaz Exp $ | * $Id: CgiDefs.h.in,v 1.10 2014/04/23 20:55:03 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 33 | skipping to change at line 33 | |||
#ifndef _CGIDEFS_H_ | #ifndef _CGIDEFS_H_ | |||
#define _CGIDEFS_H_ 1 | #define _CGIDEFS_H_ 1 | |||
/*! \file CgiDefs.h | /*! \file CgiDefs.h | |||
* \brief Platform and operating system specific macro definitions. | * \brief Platform and operating system specific macro definitions. | |||
* | * | |||
* Platform and operating system specific macro definitions that deal | * Platform and operating system specific macro definitions that deal | |||
* with namespace support and exporting of library functions. | * with namespace support and exporting of library functions. | |||
*/ | */ | |||
/* | ||||
// Include information from configure | // Include information from configure | |||
#if HAVE_CONFIG_H | #if HAVE_CONFIG_H | |||
# include "config.h" | # include "config.h" | |||
#endif | #endif | |||
*/ | ||||
/*! \namespace cgicc | /*! \namespace cgicc | |||
* \brief The namespace containing the cgicc library | * \brief The namespace containing the cgicc library | |||
* | * | |||
* The namespace containing all classes and functions of the | * The namespace containing all classes and functions of the | |||
* GNU cgicc library. | * GNU cgicc library. | |||
*/ | */ | |||
// Win32-specific setup | // Win32-specific setup | |||
#ifdef WIN32 | #ifdef WIN32 | |||
// export library symbols | // export library symbols | |||
# ifdef CGICC_EXPORTS | # ifdef CGICC_EXPORTS | |||
# define CGICC_API __declspec(dllexport) | # define CGICC_API __declspec(dllexport) | |||
# else | # else | |||
# define CGICC_API __declspec(dllimport) | # define CGICC_API __declspec(dllimport) | |||
# endif | # endif | |||
# define HOST "Win32" | # define HOST "Win32" | |||
# define VERSION "3.2.12" | # define VERSION "3.2.15" | |||
#else | #else | |||
# define CGICC_API | # define CGICC_API | |||
#endif /* WIN32 */ | #endif /* WIN32 */ | |||
#endif /* ! _CGIDEFS_H_ */ | #endif /* ! _CGIDEFS_H_ */ | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
CgiEnvironment.h | CgiEnvironment.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: CgiEnvironment.h,v 1.20 2013/01/12 19:57:04 sebdiaz Exp $ | * $Id: CgiEnvironment.h,v 1.21 2014/04/23 20:55:03 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 44 | skipping to change at line 44 | |||
* The \c CgiEnvironment class encapsulates the environment of | * The \c CgiEnvironment class encapsulates the environment of | |||
* the CGI application as described by the HTTP server. \c CgiEnvironment | * the CGI application as described by the HTTP server. \c CgiEnvironment | |||
* contains the \c GET or \c POST data along with all environment variables | * contains the \c GET or \c POST data along with all environment variables | |||
* set by the HTTP server specified in the CGI specification. | * set by the HTTP server specified in the CGI specification. | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include <vector> | #include <vector> | |||
#include <cstdlib> | #include <cstdlib> | |||
#include "cgicc/CgiDefs.h" | #include "CgiDefs.h" | |||
#include "cgicc/CgiUtils.h" | #include "CgiUtils.h" | |||
#include "cgicc/CgiInput.h" | #include "CgiInput.h" | |||
#include "cgicc/HTTPCookie.h" | #include "HTTPCookie.h" | |||
namespace cgicc { | namespace cgicc { | |||
#ifdef WIN32 | #ifdef WIN32 | |||
template class CGICC_API std::vector<HTTPCookie>; | template class CGICC_API std::vector<HTTPCookie>; | |||
#endif | #endif | |||
// ============================================================ | // ============================================================ | |||
// Iterator typedefs | // Iterator typedefs | |||
// ============================================================ | // ============================================================ | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added | |||
CgiInput.h | CgiInput.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: CgiInput.h,v 1.7 2007/07/02 18:48:17 sebdiaz Exp $ | * $Id: CgiInput.h,v 1.8 2014/04/23 20:55:03 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 40 | skipping to change at line 40 | |||
/*! \file CgiInput.h | /*! \file CgiInput.h | |||
* \brief Class that abstracts a data source | * \brief Class that abstracts a data source | |||
* | * | |||
* This class allows the data source for the CGI application to be | * This class allows the data source for the CGI application to be | |||
* something other than standard input. | * something other than standard input. | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include "cgicc/CgiDefs.h" | #include "CgiDefs.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class CgiInput | // Class CgiInput | |||
// ============================================================ | // ============================================================ | |||
/*! \class CgiInput CgiInput.h cgicc/CgiInput.h | /*! \class CgiInput CgiInput.h cgicc/CgiInput.h | |||
* \brief Class that abstracts a data source | * \brief Class that abstracts a data source | |||
* | * | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
CgiUtils.h | CgiUtils.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: CgiUtils.h,v 1.16 2009/01/03 17:12:07 sebdiaz Exp $ | * $Id: CgiUtils.h,v 1.17 2014/04/23 20:55:03 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 42 | skipping to change at line 42 | |||
* \brief A collection of utility functions. | * \brief A collection of utility functions. | |||
* | * | |||
* These utility functions are used internally by cgicc to | * These utility functions are used internally by cgicc to | |||
* decode posted form data, and to read/write from streams. | * decode posted form data, and to read/write from streams. | |||
*/ | */ | |||
#include <new> | #include <new> | |||
#include <string> | #include <string> | |||
#include <fstream> | #include <fstream> | |||
#include "cgicc/CgiDefs.h" | #include "CgiDefs.h" | |||
namespace cgicc { | namespace cgicc { | |||
/*! | /*! | |||
* \brief Compare two strings for equality, ignoring case. | * \brief Compare two strings for equality, ignoring case. | |||
* | * | |||
* For case-sensitive comparison, use (s1 == s2); | * For case-sensitive comparison, use (s1 == s2); | |||
* \param s1 The first string to compare | * \param s1 The first string to compare | |||
* \param s2 The second string to compare | * \param s2 The second string to compare | |||
* \return \c true if the strings are equal, \c false if they are not | * \return \c true if the strings are equal, \c false if they are not | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
Cgicc.h | Cgicc.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: Cgicc.h,v 1.19 2009/01/03 17:12:07 sebdiaz Exp $ | * $Id: Cgicc.h,v 1.20 2014/04/23 20:55:04 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 46 | skipping to change at line 46 | |||
* The GNU cgicc library, by Stephen F. Booth <sbooth@gnu.org> | * The GNU cgicc library, by Stephen F. Booth <sbooth@gnu.org> | |||
* http://www.cgicc.org | * http://www.cgicc.org | |||
* | * | |||
* The latest version can be found on your closest GNU mirror site. | * The latest version can be found on your closest GNU mirror site. | |||
* Please mail bug reports to <bug-cgicc@gnu.org> | * Please mail bug reports to <bug-cgicc@gnu.org> | |||
*/ | */ | |||
#include <vector> | #include <vector> | |||
#include <string> | #include <string> | |||
#include "cgicc/CgiDefs.h" | #include "CgiDefs.h" | |||
#include "cgicc/FormEntry.h" | #include "FormEntry.h" | |||
#include "cgicc/FormFile.h" | #include "FormFile.h" | |||
#include "cgicc/CgiInput.h" | #include "CgiInput.h" | |||
#include "cgicc/CgiEnvironment.h" | #include "CgiEnvironment.h" | |||
namespace cgicc { | namespace cgicc { | |||
#ifdef WIN32 | #ifdef WIN32 | |||
template class CGICC_API std::vector<FormEntry>; | template class CGICC_API std::vector<FormEntry>; | |||
template class CGICC_API std::vector<FormFile>; | template class CGICC_API std::vector<FormFile>; | |||
#endif | #endif | |||
class MultipartHeader; | class MultipartHeader; | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 6 lines changed or added | |||
FormEntry.h | FormEntry.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: FormEntry.h,v 1.14 2007/07/02 18:48:18 sebdiaz Exp $ | * $Id: FormEntry.h,v 1.15 2014/04/23 20:55:04 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 46 | skipping to change at line 46 | |||
* checkbox. A FormEntry is essentially a name/value pair, where the | * checkbox. A FormEntry is essentially a name/value pair, where the | |||
* name is the name of the form element as specified in the HTML form | * name is the name of the form element as specified in the HTML form | |||
* itself, and the value is the user-entered or user-selected value. | * itself, and the value is the user-entered or user-selected value. | |||
*/ | */ | |||
#include <iostream> | #include <iostream> | |||
#include <string> | #include <string> | |||
#include <climits> | #include <climits> | |||
#include <cfloat> | #include <cfloat> | |||
#include "cgicc/CgiDefs.h" | #include "CgiDefs.h" | |||
#include "cgicc/CgiUtils.h" | #include "CgiUtils.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class FormEntry | // Class FormEntry | |||
// ============================================================ | // ============================================================ | |||
/*! \class FormEntry FormEntry.h cgicc/FormEntry.h | /*! \class FormEntry FormEntry.h cgicc/FormEntry.h | |||
* \brief Class representing a single HTML form entry. | * \brief Class representing a single HTML form entry. | |||
* | * | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
FormFile.h | FormFile.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: FormFile.h,v 1.11 2007/07/02 18:48:18 sebdiaz Exp $ | * $Id: FormFile.h,v 1.12 2014/04/23 20:55:04 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 43 | skipping to change at line 43 | |||
* | * | |||
* FormFile is an immutable class reprenting a file uploaded via | * FormFile is an immutable class reprenting a file uploaded via | |||
* the HTTP file upload mechanism. If you are going to use file upload | * the HTTP file upload mechanism. If you are going to use file upload | |||
* in your CGI application, remember to set the ENCTYPE of the form to | * in your CGI application, remember to set the ENCTYPE of the form to | |||
* \c multipart/form-data. | * \c multipart/form-data. | |||
*/ | */ | |||
#include <iostream> | #include <iostream> | |||
#include <string> | #include <string> | |||
#include "cgicc/CgiDefs.h" | #include "CgiDefs.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class FormFile | // Class FormFile | |||
// ============================================================ | // ============================================================ | |||
/*! \class FormFile FormFile.h cgicc/FormFile.h | /*! \class FormFile FormFile.h cgicc/FormFile.h | |||
* \brief Class representing a file submitted via an HTML form. | * \brief Class representing a file submitted via an HTML form. | |||
* | * | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
HTMLAttribute.h | HTMLAttribute.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTMLAttribute.h,v 1.8 2007/07/02 18:48:18 sebdiaz Exp $ | * $Id: HTMLAttribute.h,v 1.9 2014/04/23 20:55:04 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 44 | skipping to change at line 44 | |||
* For example, in the HTML code | * For example, in the HTML code | |||
\verbatim | \verbatim | |||
<br clear="all" /> | <br clear="all" /> | |||
\endverbatim | \endverbatim | |||
* \c clear is an attribute of the \c br element. | * \c clear is an attribute of the \c br element. | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include <iostream> | #include <iostream> | |||
#include "cgicc/CgiDefs.h" | #include "CgiDefs.h" | |||
#include "cgicc/MStreamable.h" | #include "MStreamable.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class HTMLAttribute | // Class HTMLAttribute | |||
// ============================================================ | // ============================================================ | |||
/*! \class HTMLAttribute HTMLAttribute.h cgicc/HTMLAttribute.h | /*! \class HTMLAttribute HTMLAttribute.h cgicc/HTMLAttribute.h | |||
* \brief Class representing a name or a single name/value pair | * \brief Class representing a name or a single name/value pair | |||
* | * | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
HTMLAttributeList.h | HTMLAttributeList.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTMLAttributeList.h,v 1.7 2007/07/02 18:48:18 sebdiaz Exp $ | * $Id: HTMLAttributeList.h,v 1.8 2014/04/23 20:55:05 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 41 | skipping to change at line 41 | |||
/*! \file HTMLAttributeList.h | /*! \file HTMLAttributeList.h | |||
* \brief Class containing a list of HTMLAttribute objects | * \brief Class containing a list of HTMLAttribute objects | |||
* | * | |||
* The list is expandable and uses the STL vector class for storage | * The list is expandable and uses the STL vector class for storage | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include <iostream> | #include <iostream> | |||
#include <vector> | #include <vector> | |||
#include "cgicc/CgiDefs.h" | #include "CgiDefs.h" | |||
#include "cgicc/MStreamable.h" | #include "MStreamable.h" | |||
#include "cgicc/HTMLAttribute.h" | #include "HTMLAttribute.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class HTMLAttributeList | // Class HTMLAttributeList | |||
// ============================================================ | // ============================================================ | |||
#ifdef WIN32 | #ifdef WIN32 | |||
template class CGICC_API std::vector<HTMLAttribute>; | template class CGICC_API std::vector<HTMLAttribute>; | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
HTMLBooleanElement.h | HTMLBooleanElement.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTMLBooleanElement.h,v 1.8 2007/07/02 18:48:18 sebdiaz Exp $ | * $Id: HTMLBooleanElement.h,v 1.9 2014/04/23 20:55:05 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 34 | skipping to change at line 34 | |||
#ifndef _HTMLBOOLEANELEMENT_H_ | #ifndef _HTMLBOOLEANELEMENT_H_ | |||
#define _HTMLBOOLEANELEMENT_H_ 1 | #define _HTMLBOOLEANELEMENT_H_ 1 | |||
/*! \file HTMLBooleanElement.h | /*! \file HTMLBooleanElement.h | |||
* \brief Template class for concrete boolean HTMLElement subclasses | * \brief Template class for concrete boolean HTMLElement subclasses | |||
* | * | |||
*/ | */ | |||
#include <new> | #include <new> | |||
#include "cgicc/HTMLElement.h" | #include "HTMLElement.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Template for concrete boolean HTML element classes | // Template for concrete boolean HTML element classes | |||
// ============================================================ | // ============================================================ | |||
/*! \class HTMLBooleanElement HTMLBooleanElement.h cgicc/HTMLBooleanEleme nt.h | /*! \class HTMLBooleanElement HTMLBooleanElement.h cgicc/HTMLBooleanEleme nt.h | |||
* \brief Template for concrete boolean HTMLElement subclasses | * \brief Template for concrete boolean HTMLElement subclasses | |||
* | * | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
HTMLClasses.h | HTMLClasses.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTMLClasses.h,v 1.16 2007/07/02 18:48:18 sebdiaz Exp $ | * $Id: HTMLClasses.h,v 1.17 2014/04/23 20:55:05 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 33 | skipping to change at line 33 | |||
#ifndef _HTMLCLASSES_H_ | #ifndef _HTMLCLASSES_H_ | |||
#define _HTMLCLASSES_H_ 1 | #define _HTMLCLASSES_H_ 1 | |||
/*! \file HTMLClasses.h | /*! \file HTMLClasses.h | |||
* \brief The header file containing HTML output classes. | * \brief The header file containing HTML output classes. | |||
* | * | |||
* One class is defined for each element in the HTML 4.0 standard. | * One class is defined for each element in the HTML 4.0 standard. | |||
*/ | */ | |||
#include "cgicc/CgiDefs.h" | #include "CgiDefs.h" | |||
#include "cgicc/HTMLAtomicElement.h" | #include "HTMLAtomicElement.h" | |||
#include "cgicc/HTMLBooleanElement.h" | #include "HTMLBooleanElement.h" | |||
#include "cgicc/HTMLDoctype.h" | #include "HTMLDoctype.h" | |||
// ============================================================ | // ============================================================ | |||
// Macros defining types of elements | // Macros defining types of elements | |||
// ============================================================ | // ============================================================ | |||
/*! | /*! | |||
* \brief Create an HTML element rendering class | * \brief Create an HTML element rendering class | |||
* | * | |||
* \param name The name of the class to define | * \param name The name of the class to define | |||
* \param tag The text to output when this tag is rendered | * \param tag The text to output when this tag is rendered | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added | |||
HTMLDoctype.h | HTMLDoctype.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTMLDoctype.h,v 1.8 2007/07/02 18:48:18 sebdiaz Exp $ | * $Id: HTMLDoctype.h,v 1.9 2014/04/23 20:55:05 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 38 | skipping to change at line 38 | |||
# pragma interface | # pragma interface | |||
#endif | #endif | |||
/*! \file HTMLDoctype.h | /*! \file HTMLDoctype.h | |||
* \brief Class which specifies the DTD of the HTML 4 document | * \brief Class which specifies the DTD of the HTML 4 document | |||
* | * | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include "cgicc/MStreamable.h" | #include "MStreamable.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class HTMLDoctype | // Class HTMLDoctype | |||
// ============================================================ | // ============================================================ | |||
/*! \class HTMLDoctype HTMLDoctype.h cgicc/HTMLDoctype.h | /*! \class HTMLDoctype HTMLDoctype.h cgicc/HTMLDoctype.h | |||
* \brief Specifies the DTD of the HTML 4 document | * \brief Specifies the DTD of the HTML 4 document | |||
* | * | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
HTMLElement.h | HTMLElement.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTMLElement.h,v 1.8 2007/07/02 18:48:18 sebdiaz Exp $ | * $Id: HTMLElement.h,v 1.9 2014/04/23 20:55:06 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 39 | skipping to change at line 39 | |||
#endif | #endif | |||
/*! \file HTMLElement.h | /*! \file HTMLElement.h | |||
* \brief Class dealing with HTML elements | * \brief Class dealing with HTML elements | |||
* | * | |||
* For example, \c a, \c img, \c html, and \c body, are all HTML elements. | * For example, \c a, \c img, \c html, and \c body, are all HTML elements. | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include "cgicc/CgiDefs.h" | #include "CgiDefs.h" | |||
#include "cgicc/MStreamable.h" | #include "MStreamable.h" | |||
#include "cgicc/HTMLAttributeList.h" | #include "HTMLAttributeList.h" | |||
namespace cgicc { | namespace cgicc { | |||
class HTMLElementList; | class HTMLElementList; | |||
// ============================================================ | // ============================================================ | |||
// Class HTMLElement | // Class HTMLElement | |||
// ============================================================ | // ============================================================ | |||
/*! \class HTMLElement HTMLElement.h cgicc/HTMLElement.h | /*! \class HTMLElement HTMLElement.h cgicc/HTMLElement.h | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
HTMLElementList.h | HTMLElementList.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTMLElementList.h,v 1.8 2007/07/02 18:48:18 sebdiaz Exp $ | * $Id: HTMLElementList.h,v 1.9 2014/04/23 20:55:06 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 40 | skipping to change at line 40 | |||
/*! \file HTMLElementList.h | /*! \file HTMLElementList.h | |||
* \brief Class containing a list of HTMLElement objects | * \brief Class containing a list of HTMLElement objects | |||
* | * | |||
* The list is expandable and uses the STL vector class for storage | * The list is expandable and uses the STL vector class for storage | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include <vector> | #include <vector> | |||
#include "cgicc/CgiDefs.h" | #include "CgiDefs.h" | |||
#include "cgicc/MStreamable.h" | #include "MStreamable.h" | |||
#include "cgicc/HTMLAttribute.h" | #include "HTMLAttribute.h" | |||
#include "cgicc/HTMLElement.h" | #include "HTMLElement.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class HTMLElementList | // Class HTMLElementList | |||
// ============================================================ | // ============================================================ | |||
#ifdef WIN32 | #ifdef WIN32 | |||
template class CGICC_API std::vector<HTMLElement*>; | template class CGICC_API std::vector<HTMLElement*>; | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added | |||
HTTPContentHeader.h | HTTPContentHeader.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTTPContentHeader.h,v 1.7 2007/07/02 18:48:18 sebdiaz Exp $ | * $Id: HTTPContentHeader.h,v 1.8 2014/04/23 20:55:06 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 38 | skipping to change at line 38 | |||
# pragma interface | # pragma interface | |||
#endif | #endif | |||
/*! \file HTTPContentHeader.h | /*! \file HTTPContentHeader.h | |||
* \brief Class for sending data of a specific MIME type | * \brief Class for sending data of a specific MIME type | |||
* | * | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include "cgicc/HTTPHeader.h" | #include "HTTPHeader.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class HTTPContentHeader | // Class HTTPContentHeader | |||
// ============================================================ | // ============================================================ | |||
/*! \class HTTPContentHeader HTTPContentHeader.h cgicc/HTTPContentHeader. h | /*! \class HTTPContentHeader HTTPContentHeader.h cgicc/HTTPContentHeader. h | |||
* \brief HTTP header for data of a specified MIME type. | * \brief HTTP header for data of a specified MIME type. | |||
* | * | |||
*/ | */ | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
HTTPCookie.h | HTTPCookie.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTTPCookie.h,v 1.9 2009/01/18 13:58:25 sebdiaz Exp $ | * $Id: HTTPCookie.h,v 1.10 2014/04/23 20:55:07 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 37 | skipping to change at line 37 | |||
#ifdef __GNUG__ | #ifdef __GNUG__ | |||
# pragma interface | # pragma interface | |||
#endif | #endif | |||
/*! \file HTTPCookie.h | /*! \file HTTPCookie.h | |||
* \brief An HTTP Cookie | * \brief An HTTP Cookie | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include "cgicc/MStreamable.h" | #include "MStreamable.h" | |||
#include "cgicc/CgiDefs.h" | #include "CgiDefs.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class HTTPCookie | // Class HTTPCookie | |||
// ============================================================ | // ============================================================ | |||
/*! \class HTTPCookie HTTPCookie.h cgicc/HTTPCookie.h | /*! \class HTTPCookie HTTPCookie.h cgicc/HTTPCookie.h | |||
* \brief An HTTP cookie | * \brief An HTTP cookie | |||
* | * | |||
* An HTTP cookie is a way to maintain state between stateless HTTP | * An HTTP cookie is a way to maintain state between stateless HTTP | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
HTTPHTMLHeader.h | HTTPHTMLHeader.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTTPHTMLHeader.h,v 1.7 2007/07/02 18:48:18 sebdiaz Exp $ | * $Id: HTTPHTMLHeader.h,v 1.8 2014/04/23 20:55:08 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 36 | skipping to change at line 36 | |||
#ifdef __GNUG__ | #ifdef __GNUG__ | |||
# pragma interface | # pragma interface | |||
#endif | #endif | |||
/*! \file HTTPHTMLHeader.h | /*! \file HTTPHTMLHeader.h | |||
* \brief Shortcut to HTTPContentHeader for \c text/html | * \brief Shortcut to HTTPContentHeader for \c text/html | |||
* | * | |||
*/ | */ | |||
#include "cgicc/HTTPContentHeader.h" | #include "HTTPContentHeader.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class HTTPHTMLHeader | // Class HTTPHTMLHeader | |||
// ============================================================ | // ============================================================ | |||
/*! \class HTTPHTMLHeader HTTPHTMLHeader.h cgicc/HTTPHTMLHeader.h | /*! \class HTTPHTMLHeader HTTPHTMLHeader.h cgicc/HTTPHTMLHeader.h | |||
* \brief Shortcut to HTTPContentHeader for \c text/html | * \brief Shortcut to HTTPContentHeader for \c text/html | |||
* | * | |||
*/ | */ | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
HTTPHeader.h | HTTPHeader.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTTPHeader.h,v 1.9 2007/07/02 18:48:18 sebdiaz Exp $ | * $Id: HTTPHeader.h,v 1.10 2014/04/23 20:55:08 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 39 | skipping to change at line 39 | |||
#endif | #endif | |||
/*! \file HTTPHeader.h | /*! \file HTTPHeader.h | |||
* \brief Abstract base class for simple HTTP headers | * \brief Abstract base class for simple HTTP headers | |||
* | * | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include <vector> | #include <vector> | |||
#include "cgicc/MStreamable.h" | #include "MStreamable.h" | |||
#include "cgicc/HTTPCookie.h" | #include "HTTPCookie.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class HTTPHeader | // Class HTTPHeader | |||
// ============================================================ | // ============================================================ | |||
/*! \class HTTPHeader HTTPHeader.h cgicc/HTTPHeader.h | /*! \class HTTPHeader HTTPHeader.h cgicc/HTTPHeader.h | |||
* \brief Abstract base class for all simple HTTP response headers. | * \brief Abstract base class for all simple HTTP response headers. | |||
* | * | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
HTTPPlainHeader.h | HTTPPlainHeader.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTTPPlainHeader.h,v 1.7 2007/07/02 18:48:18 sebdiaz Exp $ | * $Id: HTTPPlainHeader.h,v 1.8 2014/04/23 20:55:08 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 36 | skipping to change at line 36 | |||
#ifdef __GNUG__ | #ifdef __GNUG__ | |||
# pragma interface | # pragma interface | |||
#endif | #endif | |||
/*! \file HTTPPlainHeader.h | /*! \file HTTPPlainHeader.h | |||
* \brief Shortcut to HTTPContentHeader for \c text/plain | * \brief Shortcut to HTTPContentHeader for \c text/plain | |||
* | * | |||
*/ | */ | |||
#include "cgicc/HTTPContentHeader.h" | #include "HTTPContentHeader.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class HTTPPlainHeader | // Class HTTPPlainHeader | |||
// ============================================================ | // ============================================================ | |||
/*! \class HTTPPlainHeader HTTPPlainHeader.h cgicc/HTTPPlainHeader.h | /*! \class HTTPPlainHeader HTTPPlainHeader.h cgicc/HTTPPlainHeader.h | |||
* \brief Shortcut to HTTPContentHeader for \c text/html | * \brief Shortcut to HTTPContentHeader for \c text/html | |||
* | * | |||
*/ | */ | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
HTTPRedirectHeader.h | HTTPRedirectHeader.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTTPRedirectHeader.h,v 1.8 2009/01/18 13:58:25 sebdiaz Exp $ | * $Id: HTTPRedirectHeader.h,v 1.9 2014/04/23 20:55:08 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 38 | skipping to change at line 38 | |||
# pragma interface | # pragma interface | |||
#endif | #endif | |||
/*! \file HTTPRedirectHeader.h | /*! \file HTTPRedirectHeader.h | |||
* \brief Class for redirecting the client to a different URI | * \brief Class for redirecting the client to a different URI | |||
* | * | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include "cgicc/HTTPHeader.h" | #include "HTTPHeader.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class HTTPRedirectHeader | // Class HTTPRedirectHeader | |||
// ============================================================ | // ============================================================ | |||
/*! \class HTTPRedirectHeader HTTPRedirectHeader.h cgicc/HTTPRedirectHead er.h | /*! \class HTTPRedirectHeader HTTPRedirectHeader.h cgicc/HTTPRedirectHead er.h | |||
* \brief Class for redirecting the client to a different URI | * \brief Class for redirecting the client to a different URI | |||
* | * | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
HTTPResponseHeader.h | HTTPResponseHeader.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTTPResponseHeader.h,v 1.9 2007/07/02 18:48:19 sebdiaz Exp $ | * $Id: HTTPResponseHeader.h,v 1.10 2014/04/23 20:55:09 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 41 | skipping to change at line 41 | |||
/*! \file HTTPResponseHeader.h | /*! \file HTTPResponseHeader.h | |||
* \brief Class for generic, complete HTTP header responses | * \brief Class for generic, complete HTTP header responses | |||
* | * | |||
* This is an class usually only used with Non-Parsed Header (NPH) | * This is an class usually only used with Non-Parsed Header (NPH) | |||
* applications | * applications | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include <vector> | #include <vector> | |||
#include "cgicc/MStreamable.h" | #include "MStreamable.h" | |||
#include "cgicc/HTTPCookie.h" | #include "HTTPCookie.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class HTTPResponseHeader | // Class HTTPResponseHeader | |||
// ============================================================ | // ============================================================ | |||
/*! \class HTTPResponseHeader HTTPResponseHeader.h cgicc/HTTPResponseHead er.h | /*! \class HTTPResponseHeader HTTPResponseHeader.h cgicc/HTTPResponseHead er.h | |||
* \brief Generic HTTP response header | * \brief Generic HTTP response header | |||
* | * | |||
* This class represents an HTTP response header as defined in | * This class represents an HTTP response header as defined in | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
HTTPStatusHeader.h | HTTPStatusHeader.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTTPStatusHeader.h,v 1.7 2007/07/02 18:48:19 sebdiaz Exp $ | * $Id: HTTPStatusHeader.h,v 1.8 2014/04/23 20:55:09 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 38 | skipping to change at line 38 | |||
# pragma interface | # pragma interface | |||
#endif | #endif | |||
/*! \file HTTPStatusHeader.h | /*! \file HTTPStatusHeader.h | |||
* \brief HTTP header to set a specific request status | * \brief HTTP header to set a specific request status | |||
* | * | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include "cgicc/HTTPHeader.h" | #include "HTTPHeader.h" | |||
namespace cgicc { | namespace cgicc { | |||
// ============================================================ | // ============================================================ | |||
// Class HTTPStatusHeader | // Class HTTPStatusHeader | |||
// ============================================================ | // ============================================================ | |||
/*! \class HTTPStatusHeader HTTPStatusHeader.h cgicc/HTTPStatusHeader.h | /*! \class HTTPStatusHeader HTTPStatusHeader.h cgicc/HTTPStatusHeader.h | |||
* \brief HTTP header to set a specific request status | * \brief HTTP header to set a specific request status | |||
* | * | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
HTTPXHTMLHeader.h | HTTPXHTMLHeader.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: HTTPXHTMLHeader.h,v 1.1 2008/01/19 15:43:57 sebdiaz Exp $ | * $Id: HTTPXHTMLHeader.h,v 1.2 2014/04/23 20:55:09 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 David Roberts | * 2007 David Roberts | |||
2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
skipping to change at line 27 | skipping to change at line 27 | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
* | * | |||
* You should have received a copy of the GNU Lesser General Public | * You should have received a copy of the GNU Lesser General Public | |||
* License along with this library; if not, write to the Free Software | * License along with this library; if not, write to the Free Software | |||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, US A | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, US A | |||
*/ | */ | |||
#ifndef HTTPXHTMLHEADER_H | #ifndef HTTPXHTMLHEADER_H | |||
#define HTTPXHTMLHEADER_H | #define HTTPXHTMLHEADER_H | |||
#include "cgicc/HTTPContentHeader.h" | #include "HTTPContentHeader.h" | |||
/*! \file HTTPXHTMLHeader.h | /*! \file HTTPXHTMLHeader.h | |||
* \brief Class that abstracts a XHTML Content Header | * \brief Class that abstracts a XHTML Content Header | |||
* | * | |||
* This class add the XHTML feature | * This class add the XHTML feature | |||
*/ | */ | |||
namespace cgicc { | namespace cgicc { | |||
/*! \class HTTPXHTMLHeader HTTPXHTMLHeader.h cgicc/HTTPXHTMLHeader.h | /*! \class HTTPXHTMLHeader HTTPXHTMLHeader.h cgicc/HTTPXHTMLHeader.h | |||
* \brief Class that abstracts a XHTML Content Header | * \brief Class that abstracts a XHTML Content Header | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
MStreamable.h | MStreamable.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: MStreamable.h,v 1.12 2007/07/02 18:48:19 sebdiaz Exp $ | * $Id: MStreamable.h,v 1.13 2014/04/23 20:55:09 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | * 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
* | * | |||
skipping to change at line 40 | skipping to change at line 40 | |||
/*! \file MStreamable.h | /*! \file MStreamable.h | |||
* \brief Abstract base class for all streamable objects. | * \brief Abstract base class for all streamable objects. | |||
* | * | |||
* A streamable object is an object that can be written to an \c | * A streamable object is an object that can be written to an \c | |||
* ostream using the \c << operator. | * ostream using the \c << operator. | |||
*/ | */ | |||
#include <iostream> | #include <iostream> | |||
#include "cgicc/CgiDefs.h" | #include "CgiDefs.h" | |||
namespace cgicc { | namespace cgicc { | |||
class MStreamable; | class MStreamable; | |||
/*! | /*! | |||
* Prototype for overloading streaming operator | * Prototype for overloading streaming operator | |||
* \param out The ostream to which to write | * \param out The ostream to which to write | |||
* \param obj The MStreamable object to write | * \param obj The MStreamable object to write | |||
* \return A reference to \c out | * \return A reference to \c out | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
XHTMLDoctype.h | XHTMLDoctype.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: XHTMLDoctype.h,v 1.1 2008/01/19 15:43:57 sebdiaz Exp $ | * $Id: XHTMLDoctype.h,v 1.2 2014/04/23 20:55:10 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 David Roberts | * 2007 David Roberts | |||
2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
skipping to change at line 35 | skipping to change at line 35 | |||
#define XXHTMLDoctype_H | #define XXHTMLDoctype_H | |||
/*! \file XHTMLDoctype.h | /*! \file XHTMLDoctype.h | |||
* \brief Class that abstracts a XHTML Doc Type | * \brief Class that abstracts a XHTML Doc Type | |||
* | * | |||
* This class add the XHTML Doc feature | * This class add the XHTML Doc feature | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include <cgicc/MStreamable.h> | #include <MStreamable.h> | |||
namespace cgicc { | namespace cgicc { | |||
/*! \class XHTMLDoctype XHTMLDoctype.h cgicc/XHTMLDoctype.h | /*! \class XHTMLDoctype XHTMLDoctype.h cgicc/XHTMLDoctype.h | |||
* \brief Class that abstracts a XHTML Doc Type | * \brief Class that abstracts a XHTML Doc Type | |||
* | * | |||
* This class add the XHTML Doc Type feature | * This class add the XHTML Doc Type feature | |||
*/ | */ | |||
class CGICC_API XHTMLDoctype : public MStreamable { | class CGICC_API XHTMLDoctype : public MStreamable { | |||
public: | public: | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
XMLPI.h | XMLPI.h | |||
---|---|---|---|---|
/* -*-mode:c++; c-file-style: "gnu";-*- */ | /* -*-mode:c++; c-file-style: "gnu";-*- */ | |||
/* | /* | |||
* $Id: XMLPI.h,v 1.1 2008/01/19 15:43:58 sebdiaz Exp $ | * $Id: XMLPI.h,v 1.2 2014/04/23 20:55:10 sebdiaz Exp $ | |||
* | * | |||
* Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | * Copyright (C) 1996 - 2004 Stephen F. Booth <sbooth@gnu.org> | |||
* 2007 David Roberts | * 2007 David Roberts | |||
2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | 2007 Sebastien DIAZ <sebastien.diaz@gmail.com> | |||
* Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | * Part of the GNU cgicc library, http://www.gnu.org/software/cgicc | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 3 of the License, or (at your option) any later version. | * version 3 of the License, or (at your option) any later version. | |||
skipping to change at line 34 | skipping to change at line 34 | |||
#ifndef XMLPI_H | #ifndef XMLPI_H | |||
#define XMLPI_H | #define XMLPI_H | |||
/*! \file XMLPI.h | /*! \file XMLPI.h | |||
* \brief Class that abstracts a XMLPI | * \brief Class that abstracts a XMLPI | |||
* | * | |||
* This class add the XML Declaration feature | * This class add the XML Declaration feature | |||
*/ | */ | |||
#include <string> | #include <string> | |||
#include <cgicc/CgiDefs.h> | #include "CgiDefs.h" | |||
#include <cgicc/MStreamable.h> | #include "MStreamable.h" | |||
#include <cgicc/HTMLAttributeList.h> | #include "HTMLAttributeList.h" | |||
namespace cgicc { | namespace cgicc { | |||
/*! \class XMLPI XMLPI.h cgicc/XMLPI.h | /*! \class XMLPI XMLPI.h cgicc/XMLPI.h | |||
* \brief Class that abstracts a XMLPI | * \brief Class that abstracts a XMLPI | |||
* | * | |||
* This class add the XMLPI feature | * This class add the XMLPI feature | |||
*/ | */ | |||
class XMLPI : public MStreamable { | class XMLPI : public MStreamable { | |||
public: | public: | |||
// ============================================================ | // ============================================================ | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||