BOARD_COMMIT: allow to make PCB-editor specific commits outside the actual pcbnew
Useful for testing pcbnew's tools without building the actual pcbnew.
This commit is contained in:
@@ -65,7 +65,7 @@ BOARD_COMMIT::BOARD_COMMIT( EDA_DRAW_FRAME* aFrame ) :
|
||||
|
||||
|
||||
BOARD_COMMIT::BOARD_COMMIT( TOOL_MANAGER* aMgr ) :
|
||||
m_toolMgr( aMgr ),
|
||||
m_toolMgr( aMgr ),
|
||||
m_isBoardEditor( false ),
|
||||
m_isFootprintEditor( false )
|
||||
{
|
||||
|
||||
@@ -48,7 +48,7 @@ class BOARD_COMMIT : public COMMIT
|
||||
public:
|
||||
BOARD_COMMIT( EDA_DRAW_FRAME* aFrame );
|
||||
BOARD_COMMIT( TOOL_BASE* aTool );
|
||||
BOARD_COMMIT( TOOL_MANAGER* aMgr );
|
||||
BOARD_COMMIT( TOOL_MANAGER* aMgr, bool aIsBoardEditor = false );
|
||||
|
||||
virtual ~BOARD_COMMIT() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user