Move UTF8 to core
This commit is contained in:
parent
6e04c2835a
commit
5da88d1d0e
|
@ -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
|
||||
|
|
|
@ -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 )
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <pegtl/contrib/parse_tree.hpp>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <utf8.h>
|
||||
#include <core\utf8.h>
|
||||
|
||||
|
||||
namespace MARKUP
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <utf8.h>
|
||||
#include <core\utf8.h>
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
|
@ -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}
|
||||
)
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include <qa_utils/wx_utils/unit_test_utils.h>
|
||||
|
||||
#include <utf8.h>
|
||||
#include <core\utf8.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
|
||||
#include <string>
|
||||
#include <utf8.h>
|
||||
#include <core\utf8.h>
|
||||
#include <wx/string.h>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue