Updated demos to use DALi clang-format
[platform/core/uifw/dali-demo.git] / tests-reel / dali-tests-reel.cpp
index 7abe064..0cf9935 100644 (file)
@@ -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.
 #include <dali/dali.h>
 
 // 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
@@ -32,7 +32,7 @@ int DALI_EXPORT_API main(int argc, char **argv)
   textdomain(DALI_DEMO_DOMAIN_LOCAL);
   setlocale(LC_ALL, DEMO_LANG);
 #endif
-  Application app = Application::New( &argc, &argv, DEMO_STYLE_DIR "/tests-theme.json" );
+  Application app = Application::New(&argc, &argv, DEMO_STYLE_DIR "/tests-theme.json");
 
   // Create the demo launcher
   DaliTableView demo(app);
@@ -57,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();