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.

49 lines
1.4 KiB

  1. /*
  2. * KiRouter - a push-and-(sometimes-)shove PCB router
  3. *
  4. * Copyright (C) 2014 CERN
  5. * Copyright (C) 2016 KiCad Developers, see AUTHORS.txt for contributors.
  6. * Author: Maciej Suminski <maciej.suminski@cern.ch>
  7. *
  8. * This program is free software: you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the
  10. * Free Software Foundation, either version 3 of the License, or (at your
  11. * option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful, but
  14. * WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License along
  19. * with this program. If not, see <http://www.gnu.or/licenses/>.
  20. */
  21. /**
  22. * Push and Shove router settings dialog.
  23. */
  24. #ifndef __dialog_pns_settings__
  25. #define __dialog_pns_settings__
  26. #include "dialog_pns_settings_base.h"
  27. namespace PNS {
  28. class ROUTING_SETTINGS;
  29. }
  30. class DIALOG_PNS_SETTINGS : public DIALOG_PNS_SETTINGS_BASE
  31. {
  32. public:
  33. DIALOG_PNS_SETTINGS( wxWindow* aParent, PNS::ROUTING_SETTINGS& aSettings );
  34. private:
  35. virtual void OnOkClick( wxCommandEvent& aEvent ) override;
  36. virtual void onModeChange( wxCommandEvent& aEvent ) override;
  37. PNS::ROUTING_SETTINGS& m_settings;
  38. };
  39. #endif // __dialog_pns_settings__