From a11e38ae340eeae3e0b9bf7fc5fab199fd71c1bf Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 24 Mar 2013 20:16:23 +0100 Subject: [PATCH] fixes #31 Luabind can't be found Added PCH support to NeL GUI --- code/nel/src/gui/CMakeLists.txt | 11 ++++-- code/nel/src/gui/action_handler.cpp | 2 ++ code/nel/src/gui/ctrl_base.cpp | 2 ++ code/nel/src/gui/ctrl_base_button.cpp | 1 + code/nel/src/gui/ctrl_button.cpp | 2 ++ code/nel/src/gui/ctrl_col_pick.cpp | 2 +- code/nel/src/gui/ctrl_draggable.cpp | 1 + code/nel/src/gui/ctrl_polygon.cpp | 2 ++ code/nel/src/gui/ctrl_quad.cpp | 2 ++ code/nel/src/gui/ctrl_scroll.cpp | 1 + code/nel/src/gui/ctrl_scroll_base.cpp | 2 ++ code/nel/src/gui/ctrl_sheet_selection.cpp | 2 ++ code/nel/src/gui/ctrl_text_button.cpp | 2 ++ code/nel/src/gui/ctrl_tooltip.cpp | 4 +-- code/nel/src/gui/db_manager.cpp | 1 + code/nel/src/gui/dbgroup_combo_box.cpp | 1 + code/nel/src/gui/dbgroup_select_number.cpp | 1 + code/nel/src/gui/dbview_bar.cpp | 1 + code/nel/src/gui/dbview_bar3.cpp | 1 + code/nel/src/gui/dbview_digit.cpp | 1 + code/nel/src/gui/dbview_number.cpp | 1 + code/nel/src/gui/dbview_quantity.cpp | 1 + code/nel/src/gui/event_descriptor.cpp | 2 +- code/nel/src/gui/event_listener.cpp | 1 + code/nel/src/gui/group_container.cpp | 2 ++ code/nel/src/gui/group_container_base.cpp | 1 + code/nel/src/gui/group_editbox.cpp | 2 ++ code/nel/src/gui/group_editbox_base.cpp | 1 + code/nel/src/gui/group_frame.cpp | 2 ++ code/nel/src/gui/group_header.cpp | 1 + code/nel/src/gui/group_html.cpp | 3 +- code/nel/src/gui/group_list.cpp | 2 ++ code/nel/src/gui/group_menu.cpp | 1 + code/nel/src/gui/group_modal.cpp | 2 +- code/nel/src/gui/group_paragraph.cpp | 1 + code/nel/src/gui/group_scrolltext.cpp | 2 ++ code/nel/src/gui/group_submenu_base.cpp | 1 + code/nel/src/gui/group_tab.cpp | 2 ++ code/nel/src/gui/group_table.cpp | 1 + code/nel/src/gui/group_tree.cpp | 2 +- code/nel/src/gui/group_wheel.cpp | 3 +- code/nel/src/gui/input_handler.cpp | 1 + code/nel/src/gui/interface_anim.cpp | 2 ++ code/nel/src/gui/interface_element.cpp | 2 ++ code/nel/src/gui/interface_expr.cpp | 2 ++ code/nel/src/gui/interface_expr_node.cpp | 1 + code/nel/src/gui/interface_expr_user_fct.cpp | 1 + code/nel/src/gui/interface_group.cpp | 2 ++ code/nel/src/gui/interface_link.cpp | 2 ++ code/nel/src/gui/interface_options.cpp | 3 +- code/nel/src/gui/interface_parser.cpp | 2 ++ code/nel/src/gui/interface_property.cpp | 1 + code/nel/src/gui/libwww.cpp | 2 +- code/nel/src/gui/libwww_nel_stream.cpp | 1 + code/nel/src/gui/link_hack.cpp | 18 ++++++++++ code/nel/src/gui/lua_helper.cpp | 2 ++ code/nel/src/gui/lua_ihm.cpp | 1 + code/nel/src/gui/lua_loadlib.c | 1 + code/nel/src/gui/lua_manager.cpp | 1 + code/nel/src/gui/lua_object.cpp | 2 ++ code/nel/src/gui/parser.cpp | 1 + code/nel/src/gui/proc.cpp | 2 ++ code/nel/src/gui/reflect.cpp | 1 + code/nel/src/gui/reflect_register.cpp | 2 ++ code/nel/src/gui/stdpch.cpp | 17 +++++++++ code/nel/src/gui/stdpch.h | 37 ++++++++++++++++++++ code/nel/src/gui/string_case.cpp | 17 +++++++++ code/nel/src/gui/view_base.cpp | 2 ++ code/nel/src/gui/view_bitmap.cpp | 2 +- code/nel/src/gui/view_bitmap_combo.cpp | 1 + code/nel/src/gui/view_link.cpp | 4 ++- code/nel/src/gui/view_pointer.cpp | 1 + code/nel/src/gui/view_pointer_base.cpp | 1 + code/nel/src/gui/view_polygon.cpp | 2 ++ code/nel/src/gui/view_quad.cpp | 2 ++ code/nel/src/gui/view_renderer.cpp | 4 ++- code/nel/src/gui/view_text.cpp | 2 ++ code/nel/src/gui/view_text_formated.cpp | 2 ++ code/nel/src/gui/view_text_id.cpp | 2 ++ code/nel/src/gui/view_text_id_formated.cpp | 2 +- code/nel/src/gui/widget_manager.cpp | 2 ++ 81 files changed, 210 insertions(+), 19 deletions(-) create mode 100644 code/nel/src/gui/stdpch.cpp create mode 100644 code/nel/src/gui/stdpch.h diff --git a/code/nel/src/gui/CMakeLists.txt b/code/nel/src/gui/CMakeLists.txt index 187f8e008..3f183a2ff 100644 --- a/code/nel/src/gui/CMakeLists.txt +++ b/code/nel/src/gui/CMakeLists.txt @@ -6,13 +6,16 @@ FIND_PACKAGE( Luabind REQUIRED ) FILE(GLOB SRC *.cpp *.h) FILE(GLOB HEADERS ../../include/nel/gui/*.h) -NL_TARGET_LIB(nelgui ${HEADERS} ${SRC}) +SOURCE_GROUP("include" FILES ${HEADERS}) +SOURCE_GROUP("src" FILES ${SRC}) + +NL_TARGET_LIB(nelgui ${SRC} ${HEADERS}) SET_TARGET_PROPERTIES(nelgui PROPERTIES LINK_INTERFACE_LIBRARIES "") NL_DEFAULT_PROPS(nelgui "NeL, Library: NeL GUI") NL_ADD_RUNTIME_FLAGS(nelgui) -INCLUDE_DIRECTORIES( ${LUA_INCLUDE_DIR} ${LIBWWW_INCLUDE_DIR}) +INCLUDE_DIRECTORIES(${LUA_INCLUDE_DIR} ${LUABIND_INCLUDE_DIR} ${LIBWWW_INCLUDE_DIR}) NL_ADD_LIB_SUFFIX(nelgui) @@ -28,6 +31,10 @@ TARGET_LINK_LIBRARIES( nelgui ${CURL_LIBRARIES} ) +IF(WITH_PCH) + ADD_NATIVE_PRECOMPILED_HEADER(nelgui ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp) +ENDIF(WITH_PCH) + IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC) INSTALL(TARGETS nelgui LIBRARY DESTINATION lib ARCHIVE DESTINATION lib COMPONENT libraries) ENDIF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC) diff --git a/code/nel/src/gui/action_handler.cpp b/code/nel/src/gui/action_handler.cpp index 4049f3355..8b0d9c4ee 100644 --- a/code/nel/src/gui/action_handler.cpp +++ b/code/nel/src/gui/action_handler.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/action_handler.h" #include "nel/gui/group_container_base.h" #include "nel/gui/interface_property.h" diff --git a/code/nel/src/gui/ctrl_base.cpp b/code/nel/src/gui/ctrl_base.cpp index 8cd51f026..f3dcd3712 100644 --- a/code/nel/src/gui/ctrl_base.cpp +++ b/code/nel/src/gui/ctrl_base.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "libxml/globals.h" #include "nel/misc/debug.h" #include "nel/misc/xml_auto_ptr.h" diff --git a/code/nel/src/gui/ctrl_base_button.cpp b/code/nel/src/gui/ctrl_base_button.cpp index 4c892ecc7..8c74e3bfc 100644 --- a/code/nel/src/gui/ctrl_base_button.cpp +++ b/code/nel/src/gui/ctrl_base_button.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/ctrl_base_button.h" #include "nel/misc/xml_auto_ptr.h" #include "nel/gui/interface_group.h" diff --git a/code/nel/src/gui/ctrl_button.cpp b/code/nel/src/gui/ctrl_button.cpp index e4ad08074..571781e11 100644 --- a/code/nel/src/gui/ctrl_button.cpp +++ b/code/nel/src/gui/ctrl_button.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/ctrl_button.h" #include "nel/misc/xml_auto_ptr.h" #include "nel/gui/widget_manager.h" diff --git a/code/nel/src/gui/ctrl_col_pick.cpp b/code/nel/src/gui/ctrl_col_pick.cpp index 9e0e0e50a..3b5145e20 100644 --- a/code/nel/src/gui/ctrl_col_pick.cpp +++ b/code/nel/src/gui/ctrl_col_pick.cpp @@ -15,7 +15,7 @@ // along with this program. If not, see . - +#include "stdpch.h" #include "nel/gui/ctrl_col_pick.h" #include "nel/misc/xml_auto_ptr.h" #include "nel/gui/view_renderer.h" diff --git a/code/nel/src/gui/ctrl_draggable.cpp b/code/nel/src/gui/ctrl_draggable.cpp index 1bdcd2d72..39872ab18 100644 --- a/code/nel/src/gui/ctrl_draggable.cpp +++ b/code/nel/src/gui/ctrl_draggable.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/ctrl_draggable.h" namespace NLGUI diff --git a/code/nel/src/gui/ctrl_polygon.cpp b/code/nel/src/gui/ctrl_polygon.cpp index 94615de75..86059087d 100644 --- a/code/nel/src/gui/ctrl_polygon.cpp +++ b/code/nel/src/gui/ctrl_polygon.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/ctrl_polygon.h" #include "nel/gui/widget_manager.h" #include "nel/gui/view_renderer.h" diff --git a/code/nel/src/gui/ctrl_quad.cpp b/code/nel/src/gui/ctrl_quad.cpp index 26829b19e..47346692c 100644 --- a/code/nel/src/gui/ctrl_quad.cpp +++ b/code/nel/src/gui/ctrl_quad.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/ctrl_quad.h" #include "nel/gui/interface_group.h" #include "nel/gui/widget_manager.h" diff --git a/code/nel/src/gui/ctrl_scroll.cpp b/code/nel/src/gui/ctrl_scroll.cpp index d7c6a0fe1..f534fc0a1 100644 --- a/code/nel/src/gui/ctrl_scroll.cpp +++ b/code/nel/src/gui/ctrl_scroll.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/widget_manager.h" #include "nel/gui/action_handler.h" #include "nel/gui/interface_group.h" diff --git a/code/nel/src/gui/ctrl_scroll_base.cpp b/code/nel/src/gui/ctrl_scroll_base.cpp index cb8c5e7b0..f95cac5d7 100644 --- a/code/nel/src/gui/ctrl_scroll_base.cpp +++ b/code/nel/src/gui/ctrl_scroll_base.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/ctrl_scroll_base.h" namespace NLGUI diff --git a/code/nel/src/gui/ctrl_sheet_selection.cpp b/code/nel/src/gui/ctrl_sheet_selection.cpp index 6093c3438..bdbe0e73d 100644 --- a/code/nel/src/gui/ctrl_sheet_selection.cpp +++ b/code/nel/src/gui/ctrl_sheet_selection.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include #include #include "nel/misc/types_nl.h" diff --git a/code/nel/src/gui/ctrl_text_button.cpp b/code/nel/src/gui/ctrl_text_button.cpp index fd118cfcb..ad0ba93aa 100644 --- a/code/nel/src/gui/ctrl_text_button.cpp +++ b/code/nel/src/gui/ctrl_text_button.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/ctrl_text_button.h" #include "nel/misc/xml_auto_ptr.h" #include "nel/gui/view_text.h" diff --git a/code/nel/src/gui/ctrl_tooltip.cpp b/code/nel/src/gui/ctrl_tooltip.cpp index 79a6e01a7..8a0427751 100644 --- a/code/nel/src/gui/ctrl_tooltip.cpp +++ b/code/nel/src/gui/ctrl_tooltip.cpp @@ -15,12 +15,10 @@ // along with this program. If not, see . - -// ---------------------------------------------------------------------------- +#include "stdpch.h" #include "nel/gui/ctrl_tooltip.h" #include "nel/misc/xml_auto_ptr.h" -// ---------------------------------------------------------------------------- using namespace std; using namespace NLMISC; using namespace NL3D; diff --git a/code/nel/src/gui/db_manager.cpp b/code/nel/src/gui/db_manager.cpp index 1ba8eee08..a169adf8d 100644 --- a/code/nel/src/gui/db_manager.cpp +++ b/code/nel/src/gui/db_manager.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/db_manager.h" namespace NLGUI diff --git a/code/nel/src/gui/dbgroup_combo_box.cpp b/code/nel/src/gui/dbgroup_combo_box.cpp index d2a68f4c0..83baa93b3 100644 --- a/code/nel/src/gui/dbgroup_combo_box.cpp +++ b/code/nel/src/gui/dbgroup_combo_box.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/dbgroup_combo_box.h" #include "nel/gui/group_menu.h" #include "nel/misc/xml_auto_ptr.h" diff --git a/code/nel/src/gui/dbgroup_select_number.cpp b/code/nel/src/gui/dbgroup_select_number.cpp index 889b7492f..409bf838f 100644 --- a/code/nel/src/gui/dbgroup_select_number.cpp +++ b/code/nel/src/gui/dbgroup_select_number.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/dbgroup_select_number.h" #include "nel/gui/view_text.h" #include "nel/gui/view_bitmap.h" diff --git a/code/nel/src/gui/dbview_bar.cpp b/code/nel/src/gui/dbview_bar.cpp index 983794dfd..f4befb389 100644 --- a/code/nel/src/gui/dbview_bar.cpp +++ b/code/nel/src/gui/dbview_bar.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/dbview_bar.h" #include "nel/misc/xml_auto_ptr.h" #include "nel/gui/interface_group.h" diff --git a/code/nel/src/gui/dbview_bar3.cpp b/code/nel/src/gui/dbview_bar3.cpp index 074f08090..32d3e9eaf 100644 --- a/code/nel/src/gui/dbview_bar3.cpp +++ b/code/nel/src/gui/dbview_bar3.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/dbview_bar3.h" #include "nel/misc/xml_auto_ptr.h" #include "nel/gui/interface_group.h" diff --git a/code/nel/src/gui/dbview_digit.cpp b/code/nel/src/gui/dbview_digit.cpp index 6c37d8795..318327a77 100644 --- a/code/nel/src/gui/dbview_digit.cpp +++ b/code/nel/src/gui/dbview_digit.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/dbview_digit.h" #include "nel/misc/xml_auto_ptr.h" #include "nel/gui/view_renderer.h" diff --git a/code/nel/src/gui/dbview_number.cpp b/code/nel/src/gui/dbview_number.cpp index 5c58432c1..a0b6dfb02 100644 --- a/code/nel/src/gui/dbview_number.cpp +++ b/code/nel/src/gui/dbview_number.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/dbview_number.h" #include "nel/misc/xml_auto_ptr.h" #include "nel/misc/common.h" diff --git a/code/nel/src/gui/dbview_quantity.cpp b/code/nel/src/gui/dbview_quantity.cpp index 19136b83e..ad651f582 100644 --- a/code/nel/src/gui/dbview_quantity.cpp +++ b/code/nel/src/gui/dbview_quantity.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/dbview_quantity.h" #include "nel/misc/xml_auto_ptr.h" #include "nel/misc/i18n.h" diff --git a/code/nel/src/gui/event_descriptor.cpp b/code/nel/src/gui/event_descriptor.cpp index 7d13e0684..fd1856ed3 100644 --- a/code/nel/src/gui/event_descriptor.cpp +++ b/code/nel/src/gui/event_descriptor.cpp @@ -15,7 +15,7 @@ // along with this program. If not, see . - +#include "stdpch.h" #include "nel/misc/events.h" #include "nel/gui/event_descriptor.h" diff --git a/code/nel/src/gui/event_listener.cpp b/code/nel/src/gui/event_listener.cpp index 9ae20f5eb..4f4d7a17d 100644 --- a/code/nel/src/gui/event_listener.cpp +++ b/code/nel/src/gui/event_listener.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/misc/event_server.h" #include "nel/gui/event_listener.h" #include "nel/gui/interface_group.h" diff --git a/code/nel/src/gui/group_container.cpp b/code/nel/src/gui/group_container.cpp index 1c4181e49..9cb31deab 100644 --- a/code/nel/src/gui/group_container.cpp +++ b/code/nel/src/gui/group_container.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/group_container.h" #include "nel/gui/interface_options.h" #include "nel/misc/xml_auto_ptr.h" diff --git a/code/nel/src/gui/group_container_base.cpp b/code/nel/src/gui/group_container_base.cpp index 8cab312e9..974964955 100644 --- a/code/nel/src/gui/group_container_base.cpp +++ b/code/nel/src/gui/group_container_base.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/group_container_base.h" namespace NLGUI diff --git a/code/nel/src/gui/group_editbox.cpp b/code/nel/src/gui/group_editbox.cpp index 77e8f1b6a..4e8eb3e36 100644 --- a/code/nel/src/gui/group_editbox.cpp +++ b/code/nel/src/gui/group_editbox.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/group_editbox.h" #include "nel/misc/command.h" #include "nel/gui/view_text.h" diff --git a/code/nel/src/gui/group_editbox_base.cpp b/code/nel/src/gui/group_editbox_base.cpp index a01b4bd6a..133af0b83 100644 --- a/code/nel/src/gui/group_editbox_base.cpp +++ b/code/nel/src/gui/group_editbox_base.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/group_editbox_base.h" namespace NLGUI diff --git a/code/nel/src/gui/group_frame.cpp b/code/nel/src/gui/group_frame.cpp index 0d8855acb..d0a652092 100644 --- a/code/nel/src/gui/group_frame.cpp +++ b/code/nel/src/gui/group_frame.cpp @@ -14,7 +14,9 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/group_frame.h" + #include "nel/gui/widget_manager.h" #include "nel/gui/interface_options.h" #include "nel/gui/interface_element.h" diff --git a/code/nel/src/gui/group_header.cpp b/code/nel/src/gui/group_header.cpp index b6d3693db..16b52cad6 100644 --- a/code/nel/src/gui/group_header.cpp +++ b/code/nel/src/gui/group_header.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/group_container.h" #include "nel/gui/group_header.h" #include "nel/gui/lua_ihm.h" diff --git a/code/nel/src/gui/group_html.cpp b/code/nel/src/gui/group_html.cpp index 67134a5f6..d87d0db27 100644 --- a/code/nel/src/gui/group_html.cpp +++ b/code/nel/src/gui/group_html.cpp @@ -16,8 +16,7 @@ //#include -#define NOMINMAX - +#include "stdpch.h" #include "nel/gui/group_html.h" // LibWWW diff --git a/code/nel/src/gui/group_list.cpp b/code/nel/src/gui/group_list.cpp index 25c0668cb..1a586dfd8 100644 --- a/code/nel/src/gui/group_list.cpp +++ b/code/nel/src/gui/group_list.cpp @@ -14,7 +14,9 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/group_list.h" + #include "nel/gui/interface_element.h" #include "nel/gui/view_bitmap.h" #include "nel/gui/view_text_id.h" diff --git a/code/nel/src/gui/group_menu.cpp b/code/nel/src/gui/group_menu.cpp index b1c5ff1fb..85ed1959e 100644 --- a/code/nel/src/gui/group_menu.cpp +++ b/code/nel/src/gui/group_menu.cpp @@ -14,6 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/interface_options.h" #include "nel/gui/interface_expr.h" #include "nel/gui/group_menu.h" diff --git a/code/nel/src/gui/group_modal.cpp b/code/nel/src/gui/group_modal.cpp index 05b7f7671..654a372f0 100644 --- a/code/nel/src/gui/group_modal.cpp +++ b/code/nel/src/gui/group_modal.cpp @@ -15,7 +15,7 @@ // along with this program. If not, see . - +#include "stdpch.h" #include "nel/gui/group_modal.h" #include "nel/gui/interface_element.h" #include "nel/misc/xml_auto_ptr.h" diff --git a/code/nel/src/gui/group_paragraph.cpp b/code/nel/src/gui/group_paragraph.cpp index f05d7e3a1..b8ab19cfe 100644 --- a/code/nel/src/gui/group_paragraph.cpp +++ b/code/nel/src/gui/group_paragraph.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/group_paragraph.h" #include "nel/gui/group_html.h" #include "nel/gui/widget_manager.h" diff --git a/code/nel/src/gui/group_scrolltext.cpp b/code/nel/src/gui/group_scrolltext.cpp index ac9c0368a..2fa6c828e 100644 --- a/code/nel/src/gui/group_scrolltext.cpp +++ b/code/nel/src/gui/group_scrolltext.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/group_scrolltext.h" #include "nel/gui/group_list.h" #include "nel/gui/view_text.h" diff --git a/code/nel/src/gui/group_submenu_base.cpp b/code/nel/src/gui/group_submenu_base.cpp index 3fe1ec72a..1c98fe643 100644 --- a/code/nel/src/gui/group_submenu_base.cpp +++ b/code/nel/src/gui/group_submenu_base.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/group_submenu_base.h" namespace NLGUI diff --git a/code/nel/src/gui/group_tab.cpp b/code/nel/src/gui/group_tab.cpp index c3f52bba8..1a8c6b726 100644 --- a/code/nel/src/gui/group_tab.cpp +++ b/code/nel/src/gui/group_tab.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/group_tab.h" #include "nel/misc/xml_auto_ptr.h" #include "nel/gui/lua_ihm.h" diff --git a/code/nel/src/gui/group_table.cpp b/code/nel/src/gui/group_table.cpp index aeaaa4cba..d5502ecdf 100644 --- a/code/nel/src/gui/group_table.cpp +++ b/code/nel/src/gui/group_table.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/group_table.h" #include "nel/gui/widget_manager.h" #include "nel/gui/interface_element.h" diff --git a/code/nel/src/gui/group_tree.cpp b/code/nel/src/gui/group_tree.cpp index 821908628..82a2f5eb0 100644 --- a/code/nel/src/gui/group_tree.cpp +++ b/code/nel/src/gui/group_tree.cpp @@ -15,7 +15,7 @@ // along with this program. If not, see . - +#include "stdpch.h" #include "nel/gui/group_tree.h" #include "nel/gui/interface_element.h" #include "nel/gui/view_bitmap.h" diff --git a/code/nel/src/gui/group_wheel.cpp b/code/nel/src/gui/group_wheel.cpp index 9c1097092..59172382e 100644 --- a/code/nel/src/gui/group_wheel.cpp +++ b/code/nel/src/gui/group_wheel.cpp @@ -15,8 +15,7 @@ // along with this program. If not, see . - -// ---------------------------------------------------------------------------- +#include "stdpch.h" #include "nel/gui/group_wheel.h" diff --git a/code/nel/src/gui/input_handler.cpp b/code/nel/src/gui/input_handler.cpp index 245080c6a..920636079 100644 --- a/code/nel/src/gui/input_handler.cpp +++ b/code/nel/src/gui/input_handler.cpp @@ -14,6 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/input_handler.h" namespace NLGUI diff --git a/code/nel/src/gui/interface_anim.cpp b/code/nel/src/gui/interface_anim.cpp index 5f7ecb7fa..627a93280 100644 --- a/code/nel/src/gui/interface_anim.cpp +++ b/code/nel/src/gui/interface_anim.cpp @@ -14,7 +14,9 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/interface_anim.h" + #include "nel/gui/widget_manager.h" #include "nel/gui/interface_expr.h" #include "nel/misc/xml_auto_ptr.h" diff --git a/code/nel/src/gui/interface_element.cpp b/code/nel/src/gui/interface_element.cpp index b369b96d1..759ce5f35 100644 --- a/code/nel/src/gui/interface_element.cpp +++ b/code/nel/src/gui/interface_element.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/interface_group.h" #include "nel/gui/interface_property.h" #include "nel/gui/view_renderer.h" diff --git a/code/nel/src/gui/interface_expr.cpp b/code/nel/src/gui/interface_expr.cpp index 444d7a222..90714e8d5 100644 --- a/code/nel/src/gui/interface_expr.cpp +++ b/code/nel/src/gui/interface_expr.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/misc/algo.h" #include #include "nel/gui/db_manager.h" diff --git a/code/nel/src/gui/interface_expr_node.cpp b/code/nel/src/gui/interface_expr_node.cpp index 51763fb36..895cb169e 100644 --- a/code/nel/src/gui/interface_expr_node.cpp +++ b/code/nel/src/gui/interface_expr_node.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/misc/cdb_leaf.h" #include "nel/misc/cdb_branch.h" #include "nel/gui/interface_expr_node.h" diff --git a/code/nel/src/gui/interface_expr_user_fct.cpp b/code/nel/src/gui/interface_expr_user_fct.cpp index a5cf4385d..b60f0b01c 100644 --- a/code/nel/src/gui/interface_expr_user_fct.cpp +++ b/code/nel/src/gui/interface_expr_user_fct.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/interface_expr.h" #include "nel/gui/interface_link.h" #include "nel/gui/interface_element.h" diff --git a/code/nel/src/gui/interface_group.cpp b/code/nel/src/gui/interface_group.cpp index c4ba1e950..f981814ba 100644 --- a/code/nel/src/gui/interface_group.cpp +++ b/code/nel/src/gui/interface_group.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "libxml/globals.h" #include "nel/misc/debug.h" #include "nel/misc/xml_auto_ptr.h" diff --git a/code/nel/src/gui/interface_link.cpp b/code/nel/src/gui/interface_link.cpp index e71acc80f..d672e9402 100644 --- a/code/nel/src/gui/interface_link.cpp +++ b/code/nel/src/gui/interface_link.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/interface_expr.h" #include "nel/gui/interface_expr_node.h" #include "nel/gui/reflect.h" diff --git a/code/nel/src/gui/interface_options.cpp b/code/nel/src/gui/interface_options.cpp index 88b2ef048..9f70ceeff 100644 --- a/code/nel/src/gui/interface_options.cpp +++ b/code/nel/src/gui/interface_options.cpp @@ -15,9 +15,10 @@ // along with this program. If not, see . +#include "stdpch.h" +#include "nel/gui/interface_options.h" #include "nel/gui/interface_element.h" -#include "nel/gui/interface_options.h" #include "nel/gui/view_renderer.h" #include "nel/misc/factory.h" #include diff --git a/code/nel/src/gui/interface_parser.cpp b/code/nel/src/gui/interface_parser.cpp index cdc42c661..76f5df1ed 100644 --- a/code/nel/src/gui/interface_parser.cpp +++ b/code/nel/src/gui/interface_parser.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include #include "nel/misc/rgba.h" #include "nel/gui/interface_parser.h" diff --git a/code/nel/src/gui/interface_property.cpp b/code/nel/src/gui/interface_property.cpp index 0adc1ad9c..694bd6c36 100644 --- a/code/nel/src/gui/interface_property.cpp +++ b/code/nel/src/gui/interface_property.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/misc/rgba.h" #include "nel/gui/interface_property.h" #include "nel/gui/interface_common.h" diff --git a/code/nel/src/gui/libwww.cpp b/code/nel/src/gui/libwww.cpp index 167816e3c..6e9069f96 100644 --- a/code/nel/src/gui/libwww.cpp +++ b/code/nel/src/gui/libwww.cpp @@ -14,7 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . -#define NOMINMAX +#include "stdpch.h" #include "nel/gui/group_html.h" diff --git a/code/nel/src/gui/libwww_nel_stream.cpp b/code/nel/src/gui/libwww_nel_stream.cpp index 740078a99..f6a45cf06 100644 --- a/code/nel/src/gui/libwww_nel_stream.cpp +++ b/code/nel/src/gui/libwww_nel_stream.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include extern "C" diff --git a/code/nel/src/gui/link_hack.cpp b/code/nel/src/gui/link_hack.cpp index a9967313e..7bc058891 100644 --- a/code/nel/src/gui/link_hack.cpp +++ b/code/nel/src/gui/link_hack.cpp @@ -1,3 +1,21 @@ +// Ryzom - MMORPG Framework +// Copyright (C) 2010 Winch Gate Property Limited +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + +#include "stdpch.h" #include "nel/gui/dbview_bar3.h" #include "nel/gui/dbview_number.h" #include "nel/gui/dbview_quantity.h" diff --git a/code/nel/src/gui/lua_helper.cpp b/code/nel/src/gui/lua_helper.cpp index 8f62a4b86..bc800725b 100644 --- a/code/nel/src/gui/lua_helper.cpp +++ b/code/nel/src/gui/lua_helper.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/lua_helper.h" #include "nel/misc/file.h" diff --git a/code/nel/src/gui/lua_ihm.cpp b/code/nel/src/gui/lua_ihm.cpp index 6f17da138..0a7bacf9b 100644 --- a/code/nel/src/gui/lua_ihm.cpp +++ b/code/nel/src/gui/lua_ihm.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/lua_helper.h" #include "nel/gui/interface_group.h" diff --git a/code/nel/src/gui/lua_loadlib.c b/code/nel/src/gui/lua_loadlib.c index 2d5b05fca..837ec1a2b 100644 --- a/code/nel/src/gui/lua_loadlib.c +++ b/code/nel/src/gui/lua_loadlib.c @@ -14,6 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" #include #include #include "lua_loadlib.h" diff --git a/code/nel/src/gui/lua_manager.cpp b/code/nel/src/gui/lua_manager.cpp index af7614bf5..95e6767f1 100644 --- a/code/nel/src/gui/lua_manager.cpp +++ b/code/nel/src/gui/lua_manager.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/lua_manager.h" #include "nel/gui/lua_helper.h" diff --git a/code/nel/src/gui/lua_object.cpp b/code/nel/src/gui/lua_object.cpp index 4627d7582..a7bbbb7f8 100644 --- a/code/nel/src/gui/lua_object.cpp +++ b/code/nel/src/gui/lua_object.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/lua_object.h" #include "nel/gui/lua_ihm.h" #include "nel/gui/lua_helper.h" diff --git a/code/nel/src/gui/parser.cpp b/code/nel/src/gui/parser.cpp index 6abfaf858..eae7d3667 100644 --- a/code/nel/src/gui/parser.cpp +++ b/code/nel/src/gui/parser.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/misc/rgba.h" #include #include "nel/gui/interface_group.h" diff --git a/code/nel/src/gui/proc.cpp b/code/nel/src/gui/proc.cpp index 1af69d5d3..df9d6b8e9 100644 --- a/code/nel/src/gui/proc.cpp +++ b/code/nel/src/gui/proc.cpp @@ -15,7 +15,9 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/proc.h" + #include "nel/misc/algo.h" using namespace NLMISC; diff --git a/code/nel/src/gui/reflect.cpp b/code/nel/src/gui/reflect.cpp index c09319ec0..961c855e6 100644 --- a/code/nel/src/gui/reflect.cpp +++ b/code/nel/src/gui/reflect.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/reflect.h" namespace NLGUI diff --git a/code/nel/src/gui/reflect_register.cpp b/code/nel/src/gui/reflect_register.cpp index 794cfe445..f7f47b1f9 100644 --- a/code/nel/src/gui/reflect_register.cpp +++ b/code/nel/src/gui/reflect_register.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/reflect_register.h" #include "nel/gui/interface_element.h" diff --git a/code/nel/src/gui/stdpch.cpp b/code/nel/src/gui/stdpch.cpp new file mode 100644 index 000000000..a3d45576c --- /dev/null +++ b/code/nel/src/gui/stdpch.cpp @@ -0,0 +1,17 @@ +// Ryzom - MMORPG Framework +// Copyright (C) 2010 Winch Gate Property Limited +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +#include "stdpch.h" diff --git a/code/nel/src/gui/stdpch.h b/code/nel/src/gui/stdpch.h new file mode 100644 index 000000000..6dfad8297 --- /dev/null +++ b/code/nel/src/gui/stdpch.h @@ -0,0 +1,37 @@ +// Ryzom - MMORPG Framework +// Copyright (C) 2010 Winch Gate Property Limited +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +#ifndef NELGUI_H +#define NELGUI_H + +#include + +#include "nel/misc/types_nl.h" +#include "nel/misc/algo.h" +#include "nel/misc/factory.h" +#include "nel/misc/bit_mem_stream.h" +#include "nel/misc/i18n.h" +#include "nel/misc/path.h" +#include "nel/misc/file.h" +#include "nel/misc/uv.h" +#include "nel/misc/hierarchical_timer.h" + +#if NL_OS_WINDOWS + #define NOMINMAX + #include +#endif + +#endif diff --git a/code/nel/src/gui/string_case.cpp b/code/nel/src/gui/string_case.cpp index 8d5d5b5bc..b678d35c9 100644 --- a/code/nel/src/gui/string_case.cpp +++ b/code/nel/src/gui/string_case.cpp @@ -1,3 +1,20 @@ +// Ryzom - MMORPG Framework +// Copyright (C) 2010 Winch Gate Property Limited +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program 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 Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/string_case.h" namespace NLGUI diff --git a/code/nel/src/gui/view_base.cpp b/code/nel/src/gui/view_base.cpp index cf1e01ede..a4c8f6643 100644 --- a/code/nel/src/gui/view_base.cpp +++ b/code/nel/src/gui/view_base.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/view_base.h" #include "nel/gui/interface_group.h" #include "nel/gui/widget_manager.h" diff --git a/code/nel/src/gui/view_bitmap.cpp b/code/nel/src/gui/view_bitmap.cpp index b096e7c51..01c2e8232 100644 --- a/code/nel/src/gui/view_bitmap.cpp +++ b/code/nel/src/gui/view_bitmap.cpp @@ -15,7 +15,7 @@ // along with this program. If not, see . - +#include "stdpch.h" #include "nel/gui/view_bitmap.h" #include "nel/misc/xml_auto_ptr.h" #include "nel/gui/widget_manager.h" diff --git a/code/nel/src/gui/view_bitmap_combo.cpp b/code/nel/src/gui/view_bitmap_combo.cpp index b56072d1e..3fc54c89a 100644 --- a/code/nel/src/gui/view_bitmap_combo.cpp +++ b/code/nel/src/gui/view_bitmap_combo.cpp @@ -14,6 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/view_bitmap_combo.h" #include "nel/misc/xml_auto_ptr.h" #include "nel/gui/db_manager.h" diff --git a/code/nel/src/gui/view_link.cpp b/code/nel/src/gui/view_link.cpp index 032392e52..1db08f583 100644 --- a/code/nel/src/gui/view_link.cpp +++ b/code/nel/src/gui/view_link.cpp @@ -14,9 +14,11 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" +#include "nel/gui/view_link.h" + #include "nel/misc/bit_mem_stream.h" #include "nel/misc/i18n.h" -#include "nel/gui/view_link.h" using namespace std; using namespace NLMISC; diff --git a/code/nel/src/gui/view_pointer.cpp b/code/nel/src/gui/view_pointer.cpp index 040124728..493f93044 100644 --- a/code/nel/src/gui/view_pointer.cpp +++ b/code/nel/src/gui/view_pointer.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/view_pointer.h" #include "nel/gui/widget_manager.h" #include "nel/gui/view_renderer.h" diff --git a/code/nel/src/gui/view_pointer_base.cpp b/code/nel/src/gui/view_pointer_base.cpp index 837833089..045329d35 100644 --- a/code/nel/src/gui/view_pointer_base.cpp +++ b/code/nel/src/gui/view_pointer_base.cpp @@ -15,6 +15,7 @@ // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/view_pointer_base.h" namespace NLGUI diff --git a/code/nel/src/gui/view_polygon.cpp b/code/nel/src/gui/view_polygon.cpp index 573c542fd..baacf94a0 100644 --- a/code/nel/src/gui/view_polygon.cpp +++ b/code/nel/src/gui/view_polygon.cpp @@ -14,7 +14,9 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/view_polygon.h" + #include "nel/gui/view_renderer.h" #include "nel/gui/interface_group.h" #include "nel/gui/widget_manager.h" diff --git a/code/nel/src/gui/view_quad.cpp b/code/nel/src/gui/view_quad.cpp index 3551ad689..426a19f08 100644 --- a/code/nel/src/gui/view_quad.cpp +++ b/code/nel/src/gui/view_quad.cpp @@ -14,7 +14,9 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" #include "nel/gui/view_quad.h" + #include "nel/gui/interface_group.h" #include "nel/gui/widget_manager.h" diff --git a/code/nel/src/gui/view_renderer.cpp b/code/nel/src/gui/view_renderer.cpp index 007b75c31..c61d8fa51 100644 --- a/code/nel/src/gui/view_renderer.cpp +++ b/code/nel/src/gui/view_renderer.cpp @@ -14,11 +14,13 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" +#include "nel/gui/view_renderer.h" + #include "nel/misc/path.h" #include "nel/misc/file.h" #include "nel/misc/uv.h" #include "nel/misc/hierarchical_timer.h" -#include "nel/gui/view_renderer.h" using namespace NLMISC; using namespace std; diff --git a/code/nel/src/gui/view_text.cpp b/code/nel/src/gui/view_text.cpp index 85e76a09c..6ff1930af 100644 --- a/code/nel/src/gui/view_text.cpp +++ b/code/nel/src/gui/view_text.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +#include "stdpch.h" + #include "nel/misc/bit_mem_stream.h" #include "nel/misc/i18n.h" diff --git a/code/nel/src/gui/view_text_formated.cpp b/code/nel/src/gui/view_text_formated.cpp index 4c7176859..f0bda2add 100644 --- a/code/nel/src/gui/view_text_formated.cpp +++ b/code/nel/src/gui/view_text_formated.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/view_text_formated.h" #include "nel/misc/xml_auto_ptr.h" #include "nel/misc/i18n.h" diff --git a/code/nel/src/gui/view_text_id.cpp b/code/nel/src/gui/view_text_id.cpp index 161f5c48a..23b939f91 100644 --- a/code/nel/src/gui/view_text_id.cpp +++ b/code/nel/src/gui/view_text_id.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/db_manager.h" #include "nel/gui/view_text_id.h" #include "nel/misc/xml_auto_ptr.h" diff --git a/code/nel/src/gui/view_text_id_formated.cpp b/code/nel/src/gui/view_text_id_formated.cpp index aaf232f1e..1c91b3c0a 100644 --- a/code/nel/src/gui/view_text_id_formated.cpp +++ b/code/nel/src/gui/view_text_id_formated.cpp @@ -15,7 +15,7 @@ // along with this program. If not, see . - +#include "stdpch.h" #include "nel/gui/view_text_id_formated.h" #include "nel/gui/view_text_formated.h" #include "nel/misc/xml_auto_ptr.h" diff --git a/code/nel/src/gui/widget_manager.cpp b/code/nel/src/gui/widget_manager.cpp index b12ddff3c..22839a8cf 100644 --- a/code/nel/src/gui/widget_manager.cpp +++ b/code/nel/src/gui/widget_manager.cpp @@ -14,6 +14,8 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . + +#include "stdpch.h" #include "nel/gui/db_manager.h" #include "nel/gui/view_renderer.h" #include "nel/gui/widget_manager.h"