Merge "Fix compile errors on MS-Windows." into devel/master
[platform/core/uifw/dali-demo.git] / demo / dali-demo.cpp
index 70da658..a6bee7a 100644 (file)
@@ -27,9 +27,11 @@ using namespace Dali;
 int DALI_EXPORT_API main(int argc, char **argv)
 {
   // Configure gettext for internalization
+#ifdef INTERNATIONALIZATION_ENABLED
   bindtextdomain(DALI_DEMO_DOMAIN_LOCAL, DEMO_LOCALE_DIR);
   textdomain(DALI_DEMO_DOMAIN_LOCAL);
   setlocale(LC_ALL, DEMO_LANG);
+#endif
 
   Application app = Application::New(&argc, &argv, DEMO_THEME_PATH);
 
@@ -47,6 +49,8 @@ int DALI_EXPORT_API main(int argc, char **argv)
   demo.AddExample(Example("metaball-explosion.example", DALI_DEMO_STR_TITLE_METABALL_EXPLOSION));
   demo.AddExample(Example("metaball-refrac.example", DALI_DEMO_STR_TITLE_METABALL_REFRAC));
   demo.AddExample(Example("motion-blur.example", DALI_DEMO_STR_TITLE_MOTION_BLUR));
+  demo.AddExample(Example("page-turn-view.example", DALI_DEMO_STR_TITLE_PAGE_TURN));
+  demo.AddExample(Example("reflection-demo.example", DALI_DEMO_STR_TITLE_REFLECTION));
   demo.AddExample(Example("refraction-effect.example", DALI_DEMO_STR_TITLE_REFRACTION));
   demo.AddExample(Example("renderer-stencil.example", DALI_DEMO_STR_TITLE_RENDERER_STENCIL));
   demo.AddExample(Example("shadows-and-lights.example", DALI_DEMO_STR_TITLE_LIGHTS_AND_SHADOWS));