netclass can be in kicommon

This commit is contained in:
Marek Roszko 2023-12-27 17:57:02 -05:00
parent a36eb2af72
commit 5e7a68fcd9
2 changed files with 3 additions and 3 deletions

View File

@ -114,6 +114,7 @@ set( KICOMMON_SRCS
locale_io.cpp locale_io.cpp
lset.cpp lset.cpp
markup_parser.cpp markup_parser.cpp
netclass.cpp
paths.cpp paths.cpp
richio.cpp richio.cpp
string_utils.cpp string_utils.cpp
@ -486,7 +487,6 @@ set( COMMON_SRCS
lib_tree_model.cpp lib_tree_model.cpp
lib_tree_model_adapter.cpp lib_tree_model_adapter.cpp
marker_base.cpp marker_base.cpp
netclass.cpp
notifications_manager.cpp notifications_manager.cpp
origin_transforms.cpp origin_transforms.cpp
page_info.cpp page_info.cpp

View File

@ -26,7 +26,7 @@
#ifndef CLASS_NETCLASS_H #ifndef CLASS_NETCLASS_H
#define CLASS_NETCLASS_H #define CLASS_NETCLASS_H
#include <kicommon.h>
#include <gal/color4d.h> #include <gal/color4d.h>
#include <optional> #include <optional>
#include <macros_swig.h> #include <macros_swig.h>
@ -40,7 +40,7 @@ DECL_SET_FOR_SWIG( STRINGSET, wxString )
/** /**
* A collection of nets and the parameters used to route or test these nets. * A collection of nets and the parameters used to route or test these nets.
*/ */
class NETCLASS class KICOMMON_API NETCLASS
{ {
public: public:
static const char Default[]; ///< the name of the default NETCLASS static const char Default[]; ///< the name of the default NETCLASS