X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests-reel%2Fdali-tests-reel.cpp;h=0cf9935ace136138bfe62be5bc7202694f8afba4;hb=1b19fd140ff139b5854a1a62447faf31b175d8f6;hp=18a3fa2e99003c774bf99ce466b3b19c3f12c91d;hpb=8758bdf0e9b9b06ba134d9dae8c397390d1592e5;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/tests-reel/dali-tests-reel.cpp b/tests-reel/dali-tests-reel.cpp index 18a3fa2..0cf9935 100644 --- a/tests-reel/dali-tests-reel.cpp +++ b/tests-reel/dali-tests-reel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 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. @@ -19,19 +19,20 @@ #include // INTERNAL INCLUDES -#include "shared/dali-table-view.h" #include "shared/dali-demo-strings.h" +#include "shared/dali-table-view.h" using namespace Dali; -int DALI_EXPORT_API main(int argc, char **argv) +int DALI_EXPORT_API main(int argc, char** argv) { // Configure gettext for internalization +#if INTERNATIONALIZATION_ENABLED bindtextdomain(DALI_DEMO_DOMAIN_LOCAL, DEMO_LOCALE_DIR); textdomain(DALI_DEMO_DOMAIN_LOCAL); setlocale(LC_ALL, DEMO_LANG); - - Application app = Application::New( &argc, &argv, DEMO_STYLE_DIR "/tests-theme.json" ); +#endif + Application app = Application::New(&argc, &argv, DEMO_STYLE_DIR "/tests-theme.json"); // Create the demo launcher DaliTableView demo(app); @@ -56,7 +57,7 @@ int DALI_EXPORT_API main(int argc, char **argv) demo.AddExample(Example("simple-text-visual.example", DALI_DEMO_STR_TITLE_TEXT_VISUAL)); demo.AddExample(Example("simple-bitmap-font-text-label.example", DALI_DEMO_STR_TITLE_TEXT_LABEL_BITMAP_FONT)); - demo.SortAlphabetically( true ); + demo.SortAlphabetically(true); // Start the event loop app.MainLoop();