[3.0] DALi Version 1.1.48
[platform/core/uifw/dali-core.git] / dali / public-api / dali-core-version.cpp
index 633128c..7193120 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -27,10 +27,12 @@ namespace Dali
 {
 
 const unsigned int CORE_MAJOR_VERSION = 1;
-const unsigned int CORE_MINOR_VERSION = 0;
-const unsigned int CORE_MICRO_VERSION = 33;
+const unsigned int CORE_MINOR_VERSION = 1;
+const unsigned int CORE_MICRO_VERSION = 48;
 const char * const CORE_BUILD_DATE    = __DATE__ " " __TIME__;
 
+#ifndef EMSCRIPTEN
+
 #ifdef DEBUG_ENABLED
 namespace
 {
@@ -39,11 +41,13 @@ struct PrintVersion
 {
   PrintVersion()
   {
-    std::cout << "DALi Core:      " << CORE_MAJOR_VERSION << "." << CORE_MINOR_VERSION << "." << CORE_MICRO_VERSION << " (" << CORE_BUILD_DATE << ")" << std::endl;
+    std::cerr << "DALi Core:      " << CORE_MAJOR_VERSION << "." << CORE_MINOR_VERSION << "." << CORE_MICRO_VERSION << " (" << CORE_BUILD_DATE << ")" << std::endl;
   }
 };
 PrintVersion CORE_VERSION;
 } // unnamed namespace
 #endif
 
+#endif // EMSCRIPTEN
+
 } // namespace Dali