Move UTF8 to core

This commit is contained in:
Marek Roszko 2023-09-07 20:55:16 -04:00
parent 6e04c2835a
commit 5da88d1d0e
15 changed files with 14 additions and 14 deletions

View File

@ -402,7 +402,6 @@ set( COMMON_SRCS
title_block.cpp
trace_helpers.cpp
undo_redo_container.cpp
utf8.cpp
validators.cpp
wildcards_and_files_ext.cpp
drawing_sheet/ds_painter.cpp

View File

@ -31,7 +31,7 @@
#include <wx/datetime.h>
#include <gbr_metadata.h>
#include <utf8.h>
#include <core\utf8.h>
wxString GbrMakeCreationDateAttributeString( GBR_NC_STRING_FORMAT aFormat )

View File

@ -164,8 +164,8 @@ typedef long time_t;
%rename(utf8_to_wxstring) operator wxString () const;
%rename(utf8_to_string) operator const std::string& () const;
#include <utf8.h>
%include <utf8.h>
#include <core\utf8.h>
%include <core\utf8.h>
%extend UTF8

View File

@ -22,7 +22,7 @@
#define CVPCB_ASSOCIATION_H
#include <lib_id.h>
#include <utf8.h>
#include <core\utf8.h>
/**
* A class to define a footprint association to be made in cvpcb.

View File

@ -33,7 +33,7 @@
#include <map>
#include <deque>
#include <algorithm>
#include <utf8.h>
#include <core\utf8.h>
#include <math/box2.h>
#include <font/font.h>

View File

@ -27,7 +27,7 @@
#define _LIB_ID_H_
#include <richio.h>
#include <utf8.h>
#include <core\utf8.h>
/**
* A logical library item identifier and consists of various portions much like a URI.

View File

@ -25,7 +25,7 @@
#include <pegtl/contrib/parse_tree.hpp>
#include <iostream>
#include <string>
#include <utf8.h>
#include <core\utf8.h>
namespace MARKUP

View File

@ -30,7 +30,7 @@
#include <vector>
#include <utf8.h>
#include <core\utf8.h>
// I really did not want to be dependent on wxWidgets in richio
// but the errorText needs to be wide char so wxString rules.

View File

@ -23,7 +23,7 @@
#include <string>
#include <map>
#include <utf8.h>
#include <core\utf8.h>
/**

View File

@ -9,6 +9,7 @@ add_library( core STATIC
base64.cpp
observable.cpp
profile.cpp
utf8.cpp
thread_pool.cpp
version_compare.cpp
wx_stl_compat.cpp

View File

@ -22,8 +22,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <utf8.h>
#include <ki_exception.h>
#include <core\utf8.h>
#include <wx/strconv.h>
#include <wx/buffer.h>
#include <vector>

View File

@ -417,6 +417,7 @@ set( SWIG_FLAGS
-I${CMAKE_SOURCE_DIR}/scripting
-I${CMAKE_SOURCE_DIR}/pcbnew/python/scripting
-I${CMAKE_SOURCE_DIR}/common/swig
-I${CMAKE_SOURCE_DIR}/libs/core/include
-I${CMAKE_SOURCE_DIR}/libs/kimath/include
-I${CMAKE_BINARY_DIR}
)

View File

@ -23,7 +23,7 @@
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <utf8.h>
#include <core\utf8.h>
#include <algorithm>
#include <iostream>

View File

@ -1,7 +1,7 @@
#include <string>
#include <utf8.h>
#include <core\utf8.h>
#include <wx/string.h>