wx_filename to kicommon

This commit is contained in:
Marek Roszko 2023-09-12 21:48:15 -04:00
parent 66922b3bd2
commit d1f2b14ee2
2 changed files with 3 additions and 2 deletions

View File

@ -51,6 +51,7 @@ set( KICOMMON_SRCS
locale_io.cpp locale_io.cpp
richio.cpp richio.cpp
string_utils.cpp string_utils.cpp
wx_filename.cpp
) )
add_library( kicommon SHARED add_library( kicommon SHARED
@ -441,7 +442,6 @@ set( COMMON_SRCS
validators.cpp validators.cpp
wildcards_and_files_ext.cpp wildcards_and_files_ext.cpp
drawing_sheet/ds_painter.cpp drawing_sheet/ds_painter.cpp
wx_filename.cpp
xnode.cpp xnode.cpp
) )

View File

@ -24,6 +24,7 @@
#ifndef WX_FILENAME_H #ifndef WX_FILENAME_H
#define WX_FILENAME_H #define WX_FILENAME_H
#include <kicommon.h>
#include <wx/filename.h> #include <wx/filename.h>
/** /**
@ -45,7 +46,7 @@
* and string concatenations by caching the path and filename locally and only resolving * and string concatenations by caching the path and filename locally and only resolving
* the wxFileName when it has to. * the wxFileName when it has to.
*/ */
class WX_FILENAME class KICOMMON_API WX_FILENAME
{ {
public: public:
WX_FILENAME( const wxString& aPath, const wxString& aFilename ); WX_FILENAME( const wxString& aPath, const wxString& aFilename );