Skip to content

Commit cfe639a

Browse files
committed
add missing header file for HTML standard enumeration
1 parent 9aed34f commit cfe639a

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

code/bbcode/HTMLStandard.hpp

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
-------------------------------------------------------------------------------
3+
This file is part of the Private Message Database.
4+
Copyright (C) 2025 Dirk Stolle
5+
6+
This program is free software: you can redistribute it and/or modify
7+
it under the terms of the GNU General Public License as published by
8+
the Free Software Foundation, either version 3 of the License, or
9+
(at your option) any later version.
10+
11+
This program is distributed in the hope that it will be useful,
12+
but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
GNU General Public License for more details.
15+
16+
You should have received a copy of the GNU General Public License
17+
along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
-------------------------------------------------------------------------------
19+
*/
20+
21+
#ifndef BBCODE_HTMLSTANDARD_HPP
22+
#define BBCODE_HTMLSTANDARD_HPP
23+
24+
/** \brief Enumeration type to indicate an (X)HTML standard version.
25+
*
26+
* \brief Currently, it's only used to distinguish between HTML and XHTML.
27+
*/
28+
enum class HTMLStandard: bool
29+
{
30+
/// HTML 4.01 Transitional
31+
HTML4_01 = false,
32+
33+
/// XHTML 1.0
34+
XHTML = true
35+
};
36+
37+
#endif // BBCODE_HTMLSTANDARD_HPP

0 commit comments

Comments
 (0)