Move DESIGN_BLOCK into kicommon
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
|
||||
class DESIGN_BLOCK
|
||||
class KICOMMON_API DESIGN_BLOCK
|
||||
{
|
||||
public:
|
||||
void SetLibId( const LIB_ID& aName ) { m_lib_id = aName; }
|
||||
@@ -47,6 +47,10 @@ public:
|
||||
}
|
||||
const nlohmann::ordered_map<wxString, wxString>& GetFields() const { return m_fields; }
|
||||
|
||||
DESIGN_BLOCK() = default;
|
||||
///< This is the only way to get m_fields to compile as a class member
|
||||
DESIGN_BLOCK( DESIGN_BLOCK&& aOther ) = delete;
|
||||
|
||||
private:
|
||||
LIB_ID m_lib_id;
|
||||
wxString m_schematicFile; // File name and path for schematic symbol.
|
||||
|
||||
Reference in New Issue
Block a user