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.

27 lines
692 B

  1. /**
  2. * @file eda_dde.h
  3. * @brief DDE server & client.
  4. */
  5. #ifndef EDA_DDE_H_
  6. #define EDA_DDE_H_
  7. #include <wx/socket.h>
  8. // TCP/IP ports used by Pcbnew and Eeschema respectively.
  9. ///< Pcbnew listens on this port for commands from Eeschema
  10. #define KICAD_PCB_PORT_SERVICE_NUMBER 4242
  11. ///< Eeschema listens on this port for commands from Pcbnew
  12. #define KICAD_SCH_PORT_SERVICE_NUMBER 4243
  13. #define MSG_TO_PCB KICAD_PCB_PORT_SERVICE_NUMBER
  14. #define MSG_TO_SCH KICAD_SCH_PORT_SERVICE_NUMBER
  15. wxSocketServer* CreateServer( wxWindow * window, int port, bool local = true );
  16. bool SendCommand( int port, const char* cmdline );
  17. #endif // EDA_DDE_H_