-#pragma once\r
-#include "html_tag.h"\r
-\r
-namespace litehtml\r
-{\r
- struct col_info\r
- {\r
- int width;\r
- bool is_auto;\r
- };\r
-\r
-\r
- class el_table : public html_tag\r
- {\r
- public:\r
- el_table(const std::shared_ptr<litehtml::document>& doc);\r
- virtual ~el_table();\r
-\r
- virtual bool appendChild(const litehtml::element::ptr& el) override;\r
- virtual void parse_styles(bool is_reparse = false) override;\r
- virtual void parse_attributes() override;\r
- };\r
-}
\ No newline at end of file
+#ifndef LH_EL_TABLE_H
+#define LH_EL_TABLE_H
+
+#include "html_tag.h"
+
+namespace litehtml
+{
+ struct col_info
+ {
+ int width;
+ bool is_auto;
+ };
+
+
+ class el_table : public html_tag
+ {
+ public:
+ el_table(const std::shared_ptr<litehtml::document>& doc);
+ virtual ~el_table();
+
+ virtual bool appendChild(const litehtml::element::ptr& el) override;
+ virtual void parse_styles(bool is_reparse = false) override;
+ virtual void parse_attributes() override;
+ };
+}
+
+#endif // LH_EL_TABLE_H