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
lset.cpp
markup_parser.cpp
netclass.cpp
paths.cpp
richio.cpp
string_utils.cpp
@ -486,7 +487,6 @@ set( COMMON_SRCS
lib_tree_model.cpp
lib_tree_model_adapter.cpp
marker_base.cpp
netclass.cpp
notifications_manager.cpp
origin_transforms.cpp
page_info.cpp

View File

@ -26,7 +26,7 @@
#ifndef CLASS_NETCLASS_H
#define CLASS_NETCLASS_H
#include <kicommon.h>
#include <gal/color4d.h>
#include <optional>
#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.
*/
class NETCLASS
class KICOMMON_API NETCLASS
{
public:
static const char Default[]; ///< the name of the default NETCLASS