diff --git a/api/proto/common/types/enums.proto b/api/proto/common/types/enums.proto index 97811512ec..82563ebb4b 100644 --- a/api/proto/common/types/enums.proto +++ b/api/proto/common/types/enums.proto @@ -72,11 +72,11 @@ enum KiCadObjectType KOT_SCH_PIN = 38; KOT_LIB_SYMBOL = 39; - KOT_LIB_SHAPE = 40; - KOT_LIB_TEXT = 41; - KOT_LIB_TEXTBOX = 42; - KOT_LIB_PIN = 43; - KOT_LIB_FIELD = 44; +// KOT_LIB_SHAPE = 40; +// KOT_LIB_TEXT = 41; +// KOT_LIB_TEXTBOX = 42; +// KOT_LIB_PIN = 43; +// KOT_LIB_FIELD = 44; KOT_WSG_LINE = 45; KOT_WSG_RECT = 46; diff --git a/common/api/api_enums.cpp b/common/api/api_enums.cpp index fdca69a995..b9b21b5eec 100644 --- a/common/api/api_enums.cpp +++ b/common/api/api_enums.cpp @@ -75,10 +75,10 @@ KICAD_T FromProtoEnum( types::KiCadObjectType aValue ) case types::KiCadObjectType::KOT_SCH_SHEET: return SCH_SHEET_T; case types::KiCadObjectType::KOT_SCH_PIN: return SCH_PIN_T; case types::KiCadObjectType::KOT_LIB_SYMBOL: return LIB_SYMBOL_T; - case types::KiCadObjectType::KOT_LIB_SHAPE: return LIB_SHAPE_T; - case types::KiCadObjectType::KOT_LIB_TEXT: return LIB_TEXT_T; - case types::KiCadObjectType::KOT_LIB_TEXTBOX: return LIB_TEXTBOX_T; - case types::KiCadObjectType::KOT_LIB_PIN: return LIB_PIN_T; + // case types::KiCadObjectType::KOT_LIB_SHAPE: return LIB_SHAPE_T; + // case types::KiCadObjectType::KOT_LIB_TEXT: return LIB_TEXT_T; + // case types::KiCadObjectType::KOT_LIB_TEXTBOX: return LIB_TEXTBOX_T; + // case types::KiCadObjectType::KOT_LIB_PIN: return LIB_PIN_T; case types::KiCadObjectType::KOT_WSG_LINE: return WSG_LINE_T; case types::KiCadObjectType::KOT_WSG_RECT: return WSG_RECT_T; case types::KiCadObjectType::KOT_WSG_POLY: return WSG_POLY_T; @@ -138,10 +138,10 @@ types::KiCadObjectType ToProtoEnum( KICAD_T aValue ) case SCH_SHEET_T: return types::KiCadObjectType::KOT_SCH_SHEET; case SCH_PIN_T: return types::KiCadObjectType::KOT_SCH_PIN; case LIB_SYMBOL_T: return types::KiCadObjectType::KOT_LIB_SYMBOL; - case LIB_SHAPE_T: return types::KiCadObjectType::KOT_LIB_SHAPE; - case LIB_TEXT_T: return types::KiCadObjectType::KOT_LIB_TEXT; - case LIB_TEXTBOX_T: return types::KiCadObjectType::KOT_LIB_TEXTBOX; - case LIB_PIN_T: return types::KiCadObjectType::KOT_LIB_PIN; + // case LIB_SHAPE_T: return types::KiCadObjectType::KOT_LIB_SHAPE; + // case LIB_TEXT_T: return types::KiCadObjectType::KOT_LIB_TEXT; + // case LIB_TEXTBOX_T: return types::KiCadObjectType::KOT_LIB_TEXTBOX; + // case LIB_PIN_T: return types::KiCadObjectType::KOT_LIB_PIN; case WSG_LINE_T: return types::KiCadObjectType::KOT_WSG_LINE; case WSG_RECT_T: return types::KiCadObjectType::KOT_WSG_RECT; case WSG_POLY_T: return types::KiCadObjectType::KOT_WSG_POLY;