wow. that was easy: git mv core nucleus
[feisty_meow.git] / core / tools / simple_utilities / playsound.cpp
diff --git a/core/tools/simple_utilities/playsound.cpp b/core/tools/simple_utilities/playsound.cpp
deleted file mode 100644 (file)
index c1ddf4b..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-/*****************************************************************************\
-*                                                                             *
-*  Name   : playsound                                                         *
-*  Author : Chris Koeritz                                                     *
-*                                                                             *
-*  Purpose:                                                                   *
-*                                                                             *
-*    A program intended to be as simple as possible and to play only WAV      *
-*  files on the win32 platform.  It was decided that this was needed because  *
-*  windows media player suddenly became political and started complaining     *
-*  when other programs were registered to play different sound types.         *
-*    All this does is play WAV files.  That's it.                             *
-*                                                                             *
-*******************************************************************************
-* Copyright (c) 2000-$now By Author.  This program is free software; you can  *
-* redistribute it and/or modify it under the terms of the GNU General Public  *
-* License as published by the Free Software Foundation; either version 2 of   *
-* the License or (at your option) any later version.  This is online at:      *
-*     http://www.fsf.org/copyleft/gpl.html                                    *
-* Please send any updates to: fred@gruntose.com                               *
-\*****************************************************************************/
-
-#include <basis/utf_conversion.h>
-#include <basis/astring.h>
-#include <application/windoze_helper.h>
-#include <loggers/console_logger.h>
-#include <structures/static_memory_gremlin.h>
-
-#ifdef __WIN32__
-  #include <mmsystem.h>
-#endif
-
-using namespace basis;
-using namespace loggers;
-using namespace structures;
-
-///HOOPLE_STARTUP_CODE;
-//hmmm: this needs to arise from obscurity too?
-
-int main(int argc, char *argv[])
-{
-  console_logger out;
-  if (argc < 2) {
-    out.log(astring(argv[0]) + " usage:", ALWAYS_PRINT);
-    out.log(astring("This program takes one or more parameters which are interpreted"), ALWAYS_PRINT);
-    out.log(astring("as the names of sound files."), ALWAYS_PRINT);
-    return 12;
-  }
-  for (int i = 1; i < argc; i++) {
-//    out.log(astring(astring::SPRINTF, "soundfile %d: %s", i, argv[i]));
-#ifdef __WIN32__
-    if (!PlaySound(to_unicode_temp(argv[i]), NIL, SND_FILENAME))
-      out.log(astring("failed to play ") + argv[i], ALWAYS_PRINT);
-#else
-    out.log(astring("this program is a NO-OP, ignoring ") + argv[i], ALWAYS_PRINT);
-#endif
-  }
-  return 0;
-}
-
-#ifdef __BUILD_STATIC_APPLICATION__
-  // static dependencies found by buildor_gen_deps.sh:
-  #include <basis/astring.cpp>
-  #include <basis/common_outcomes.cpp>
-  #include <basis/environment.cpp>
-  #include <basis/mutex.cpp>
-  #include <basis/utf_conversion.cpp>
-  #include <loggers/console_logger.cpp>
-  #include <structures/object_packers.cpp>
-  #include <structures/static_memory_gremlin.cpp>
-  #include <textual/parser_bits.cpp>
-#endif // __BUILD_STATIC_APPLICATION__
-