clean up includes

This commit is contained in:
Thomas Fussell 2015-11-02 01:07:43 -05:00
parent 6ab2c4e2ec
commit 451abd1de6
11 changed files with 68 additions and 64 deletions

View File

@ -26,7 +26,7 @@
#include <string> #include <string>
#include <utility> #include <utility>
#include "../common/types.hpp" #include <xlnt/common/types.hpp>
namespace xlnt { namespace xlnt {

View File

@ -25,7 +25,7 @@
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>
#include "../common/types.hpp" #include <xlnt/common/types.hpp>
namespace xlnt { namespace xlnt {

View File

@ -7,7 +7,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
// Note: this comes from https://github.com/tfussell/pyzip // Note: this comes from https://github.com/tfussell/miniz-cpp
struct mz_zip_archive_tag; struct mz_zip_archive_tag;

View File

@ -23,12 +23,12 @@
// @author: see AUTHORS file // @author: see AUTHORS file
#pragma once #pragma once
#include "alignment.hpp" #include <xlnt/styles/alignment.hpp>
#include "border.hpp" #include <xlnt/styles/border.hpp>
#include "fill.hpp" #include <xlnt/styles/fill.hpp>
#include "font.hpp" #include <xlnt/styles/font.hpp>
#include "number_format.hpp" #include <xlnt/styles/number_format.hpp>
#include "protection.hpp" #include <xlnt/styles/protection.hpp>
namespace xlnt { namespace xlnt {

View File

@ -25,7 +25,7 @@
#include <string> #include <string>
#include "../common/datetime.hpp" #include <xlnt/common/datetime.hpp>
namespace xlnt { namespace xlnt {

View File

@ -2,10 +2,10 @@
#include <iterator> #include <iterator>
#include "../cell/cell_reference.hpp" #include <xlnt/cell/cell_reference.hpp>
#include "range_reference.hpp" #include <xlnt/worksheet/range_reference.hpp>
#include "major_order.hpp" #include <xlnt/worksheet/major_order.hpp>
#include "worksheet.hpp" #include <xlnt/worksheet/worksheet.hpp>
namespace xlnt { namespace xlnt {

View File

@ -27,10 +27,10 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "cell_vector.hpp" #include <xlnt/worksheet/cell_vector.hpp>
#include "major_order.hpp" #include <xlnt/worksheet/major_order.hpp>
#include "range_reference.hpp" #include <xlnt/worksheet/range_reference.hpp>
#include "worksheet.hpp" #include <xlnt/worksheet/worksheet.hpp>
namespace xlnt { namespace xlnt {

View File

@ -22,7 +22,7 @@
// @author: see AUTHORS file // @author: see AUTHORS file
#pragma once #pragma once
#include "../cell/cell_reference.hpp" #include <xlnt/cell/cell_reference.hpp>
namespace xlnt { namespace xlnt {

View File

@ -29,9 +29,9 @@
#include <unordered_map> #include <unordered_map>
#include <vector> #include <vector>
#include "page_setup.hpp" #include <xlnt/common/types.hpp>
#include "../common/types.hpp" #include <xlnt/common/relationship.hpp>
#include "../common/relationship.hpp" #include <xlnt/worksheet/page_setup.hpp>
namespace xlnt { namespace xlnt {

View File

@ -33,45 +33,45 @@ const std::string author_email = "thomas.fussell@gmail.com";
const std::string url = "https://github.com/tfussell/xlnt"; const std::string url = "https://github.com/tfussell/xlnt";
const std::string download_url = "https://github.com/tfussell/xlnt/archive/master.zip"; const std::string download_url = "https://github.com/tfussell/xlnt/archive/master.zip";
#include "config.hpp" #include <xlnt/config.hpp>
#include "cell/cell.hpp" #include <xlnt/cell/cell.hpp>
#include "cell/cell_reference.hpp" #include <xlnt/cell/cell_reference.hpp>
#include "cell/comment.hpp" #include <xlnt/cell/comment.hpp>
#include "common/datetime.hpp" #include <xlnt/common/datetime.hpp>
#include "common/encoding.hpp" #include <xlnt/common/encoding.hpp>
#include "common/exceptions.hpp" #include <xlnt/common/exceptions.hpp>
#include "common/relationship.hpp" #include <xlnt/common/relationship.hpp>
#include "common/types.hpp" #include <xlnt/common/types.hpp>
#include "common/zip_file.hpp" #include <xlnt/common/zip_file.hpp>
#include "styles/alignment.hpp" #include <xlnt/styles/alignment.hpp>
#include "styles/border.hpp" #include <xlnt/styles/border.hpp>
#include "styles/color.hpp" #include <xlnt/styles/color.hpp>
#include "styles/fill.hpp" #include <xlnt/styles/fill.hpp>
#include "styles/font.hpp" #include <xlnt/styles/font.hpp>
#include "styles/named_style.hpp" #include <xlnt/styles/named_style.hpp>
#include "styles/number_format.hpp" #include <xlnt/styles/number_format.hpp>
#include "styles/protection.hpp" #include <xlnt/styles/protection.hpp>
#include "styles/side.hpp" #include <xlnt/styles/side.hpp>
#include "styles/style.hpp" #include <xlnt/styles/style.hpp>
#include "workbook/document_properties.hpp" #include <xlnt/workbook/document_properties.hpp>
#include "workbook/document_security.hpp" #include <xlnt/workbook/document_security.hpp>
#include "workbook/external_book.hpp" #include <xlnt/workbook/external_book.hpp>
#include "workbook/manifest.hpp" #include <xlnt/workbook/manifest.hpp>
#include "workbook/named_range.hpp" #include <xlnt/workbook/named_range.hpp>
#include "workbook/theme.hpp" #include <xlnt/workbook/theme.hpp>
#include "workbook/workbook.hpp" #include <xlnt/workbook/workbook.hpp>
#include "worksheet/cell_vector.hpp" #include <xlnt/worksheet/cell_vector.hpp>
#include "worksheet/column_properties.hpp" #include <xlnt/worksheet/column_properties.hpp>
#include "worksheet/major_order.hpp" #include <xlnt/worksheet/major_order.hpp>
#include "worksheet/page_margins.hpp" #include <xlnt/worksheet/page_margins.hpp>
#include "worksheet/page_setup.hpp" #include <xlnt/worksheet/page_setup.hpp>
#include "worksheet/pane.hpp" #include <xlnt/worksheet/pane.hpp>
#include "worksheet/range.hpp" #include <xlnt/worksheet/range.hpp>
#include "worksheet/range_reference.hpp" #include <xlnt/worksheet/range_reference.hpp>
#include "worksheet/row_properties.hpp" #include <xlnt/worksheet/row_properties.hpp>
#include "worksheet/selection.hpp" #include <xlnt/worksheet/selection.hpp>
#include "worksheet/sheet_protection.hpp" #include <xlnt/worksheet/sheet_protection.hpp>
#include "worksheet/sheet_view.hpp" #include <xlnt/worksheet/sheet_view.hpp>
#include "worksheet/worksheet_properties.hpp" #include <xlnt/worksheet/worksheet_properties.hpp>
#include "worksheet/worksheet.hpp" #include <xlnt/worksheet/worksheet.hpp>

View File

@ -1,16 +1,20 @@
#include <algorithm> #include <algorithm>
#include <limits>
#include <xlnt/cell/cell.hpp> #include <xlnt/cell/cell.hpp>
#include <xlnt/cell/cell_reference.hpp>
#include <xlnt/common/datetime.hpp> #include <xlnt/common/datetime.hpp>
#include <xlnt/common/exceptions.hpp> #include <xlnt/common/exceptions.hpp>
#include <xlnt/common/relationship.hpp> #include <xlnt/common/relationship.hpp>
#include <xlnt/common/types.hpp>
#include <xlnt/workbook/named_range.hpp> #include <xlnt/workbook/named_range.hpp>
#include <xlnt/workbook/workbook.hpp> #include <xlnt/workbook/workbook.hpp>
#include <xlnt/worksheet/range.hpp> #include <xlnt/worksheet/range.hpp>
#include <xlnt/worksheet/range_reference.hpp> #include <xlnt/worksheet/range_reference.hpp>
#include <xlnt/worksheet/worksheet.hpp> #include <xlnt/worksheet/worksheet.hpp>
#include "detail/worksheet_impl.hpp" #include <detail/cell_impl.hpp>
#include <detail/worksheet_impl.hpp>
namespace xlnt { namespace xlnt {