Artword_to_Art.cpp 1023 B

1234567891011121314151617181920212223242526272829303132
  1. /* Artword_to_Art.cpp
  2. *
  3. * Copyright (C) 1992-2005,2011,2015-2017 Paul Boersma
  4. *
  5. * This code is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * This code is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. * See the GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #include "Artword_to_Art.h"
  19. autoArt Artword_to_Art (Artword me, double tim) {
  20. try {
  21. autoArt thee = Art_create ();
  22. Artword_intoArt (me, thee.get(), tim);
  23. return thee;
  24. } catch (MelderError) {
  25. Melder_throw (me, U": not converted to Articulation.");
  26. }
  27. }
  28. /* End of file Artword_to_Art.cpp */