From fd9448828937e0de51846b8f3d251234b5aede37 Mon Sep 17 00:00:00 2001 From: Ian McInerney <ian.s.mcinerney@ieee.org> Date: Fri, 28 Mar 2025 15:32:03 +0000 Subject: [PATCH] Mark ODB++ as export-only Fixes https://gitlab.com/kicad/code/kicad/-/issues/20493 --- pcbnew/pcb_io/odbpp/pcb_io_odbpp.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pcbnew/pcb_io/odbpp/pcb_io_odbpp.h b/pcbnew/pcb_io/odbpp/pcb_io_odbpp.h index 582e351cef..16261db5a2 100644 --- a/pcbnew/pcb_io/odbpp/pcb_io_odbpp.h +++ b/pcbnew/pcb_io/odbpp/pcb_io_odbpp.h @@ -56,11 +56,12 @@ public: ~PCB_IO_ODBPP() override; - void SaveBoard( const wxString& aFileName, BOARD* aBoard, - const std::map<std::string, UTF8>* aProperties = nullptr ) override; + void SaveBoard( const wxString& aFileName, BOARD* aBoard, + const std::map<std::string, UTF8>* aProperties = nullptr ) override; + const IO_BASE::IO_FILE_DESC GetBoardFileDesc() const override { - return IO_BASE::IO_FILE_DESC( _HKI( "ODB++ Production File" ), { "ZIP" } ); + return IO_BASE::IO_FILE_DESC( _HKI( "ODB++ Production File" ), { "ZIP" }, {}, true, false, true ); } const IO_BASE::IO_FILE_DESC GetLibraryDesc() const override