You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.9 KiB

  1. /*
  2. * This program source code file is part of KiCad, a free EDA CAD application.
  3. *
  4. * Copyright (C) 1992-2011 jean-pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
  5. * Copyright (C) 1992-2011 Wayne Stambaugh <stambaughw@verizon.net>
  6. * Copyright (C) 1992-2015 KiCad Developers, see changelog.txt for contributors.
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License
  10. * as published by the Free Software Foundation; either version 2
  11. * of the License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, you may find one here:
  20. * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  21. * or you may search the http://www.gnu.org website for the version 2 license,
  22. * or you may write to the Free Software Foundation, Inc.,
  23. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  24. */
  25. /**
  26. * @file netlist.h
  27. */
  28. #ifndef _NETLIST_H_
  29. #define _NETLIST_H_
  30. /// netlist types
  31. enum NETLIST_TYPE_ID {
  32. NET_TYPE_UNINIT = 0,
  33. NET_TYPE_PCBNEW,
  34. NET_TYPE_ORCADPCB2,
  35. NET_TYPE_CADSTAR,
  36. NET_TYPE_SPICE,
  37. NET_TYPE_CUSTOM1, /* NET_TYPE_CUSTOM1
  38. * is the first id for user netlist format
  39. * NET_TYPE_CUSTOM1+CUSTOMPANEL_COUNTMAX-1
  40. * is the last id for user netlist format
  41. */
  42. //NET_TYPE_CUSTOM_MAX = NET_TYPE_CUSTOM1 + CUSTOMPANEL_COUNTMAX - 1
  43. };
  44. #define NETLIST_HEAD_STRING "EESchema Netlist Version 1.1"
  45. // Max pin number per component and footprint
  46. #define MAXPIN 5000
  47. #endif