Print a message when starting up with the windows console.
authorCarl Hetherington <cth@carlh.net>
Thu, 18 Sep 2014 20:10:03 +0000 (21:10 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 18 Sep 2014 20:10:03 +0000 (21:10 +0100)
src/tools/dcpomatic.cc

index e429b7a9d450878594d71fe982c1558d7db92dcd..8a0aa245e7d995680a91cc8a434b9ad337d36e73 100644 (file)
@@ -73,8 +73,6 @@ using std::exception;
 using boost::shared_ptr;
 using boost::dynamic_pointer_cast;
 
-// #define DCPOMATIC_WINDOWS_CONSOLE 1
-
 class FilmChangedDialog
 {
 public:
@@ -159,6 +157,8 @@ public:
                        FILE* hf_in = _fdopen(hCrt, "r");
                        setvbuf(hf_in, NULL, _IONBF, 128);
                        *stdin = *hf_in;
+
+                       cout << "DCP-o-matic is starting." << "\n";
                }
 #endif