Updated demos to use DALi clang-format
[platform/core/uifw/dali-demo.git] / examples / text-label-emojis / emoji-strings.h
index 99822a8..49e1b51 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_DEMO_EMOJI_STRINGS_H
 
 /*
- * Copyright (c) 2015 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.
 
 namespace EmojiStrings
 {
-  struct Emoji
-  {
-    uint32_t mUnicode;
-    std::string mUTF8;
-    std::string mDescription;
-  };
+struct Emoji
+{
+  uint32_t    mUnicode;
+  std::string mUTF8;
+  std::string mDescription;
+};
 
-  const Emoji EMOJIS[] = {
+const Emoji EMOJIS[] = {
 
-    { 0x1F601,"\xF0\x9F\x98\x81","grinning face with smiling eyes" },
-    { 0x1F602,"\xF0\x9F\x98\x82","face with tears of joy" },
-    //{ 0x1F603,"\xF0\x9F\x98\x83","smiling face with open mouth" },
-    //{ 0x1F604,"\xF0\x9F\x98\x84","smiling face with open mouth and smiling eyes" },
-    { 0x1F605,"\xF0\x9F\x98\x85","smiling face with open mouth and cold sweat" },
-    //{ 0x1F606,"\xF0\x9F\x98\x86","smiling face with open mouth and tightly-closed eyes" },
-    { 0x1F609,"\xF0\x9F\x98\x89","winking face" },
-    { 0x1F60A,"\xF0\x9F\x98\x8A","smiling face with smiling eyes" },
-    { 0x1F60B,"\xF0\x9F\x98\x8B","face savouring delicious food" },
-    { 0x1F60C,"\xF0\x9F\x98\x8C","relieved face" },
-    { 0x1F60D,"\xF0\x9F\x98\x8D","smiling face with heart-shaped eyes" },
-    { 0x1F60F,"\xF0\x9F\x98\x8F","smirking face" },
-    //{ 0x1F612,"\xF0\x9F\x98\x92","unamused face" },
-    //{ 0x1F613,"\xF0\x9F\x98\x93","face with cold sweat" },
-    //{ 0x1F614,"\xF0\x9F\x98\x94","pensive face" },
-    //{ 0x1F616,"\xF0\x9F\x98\x96","confounded face" },
-    { 0x1F618,"\xF0\x9F\x98\x98","face throwing a kiss" },
-    { 0x1F61A,"\xF0\x9F\x98\x9A","kissing face with closed eyes" },
-    //{ 0x1F61C,"\xF0\x9F\x98\x9C","face with stuck-out tongue and winking eye" },
-    //{ 0x1F61D,"\xF0\x9F\x98\x9D","face with stuck-out tongue and tightly-closed eyes" },
-    //{ 0x1F61E,"\xF0\x9F\x98\x9E","disappointed face" },
-    { 0x1F620,"\xF0\x9F\x98\xA0","angry face" },
+  {0x1F601, "\xF0\x9F\x98\x81", "grinning face with smiling eyes"},
+  {0x1F602, "\xF0\x9F\x98\x82", "face with tears of joy"},
+  //{ 0x1F603,"\xF0\x9F\x98\x83","smiling face with open mouth" },
+  //{ 0x1F604,"\xF0\x9F\x98\x84","smiling face with open mouth and smiling eyes" },
+  {0x1F605, "\xF0\x9F\x98\x85", "smiling face with open mouth and cold sweat"},
+  //{ 0x1F606,"\xF0\x9F\x98\x86","smiling face with open mouth and tightly-closed eyes" },
+  {0x1F609, "\xF0\x9F\x98\x89", "winking face"},
+  {0x1F60A, "\xF0\x9F\x98\x8A", "smiling face with smiling eyes"},
+  {0x1F60B, "\xF0\x9F\x98\x8B", "face savouring delicious food"},
+  {0x1F60C, "\xF0\x9F\x98\x8C", "relieved face"},
+  {0x1F60D, "\xF0\x9F\x98\x8D", "smiling face with heart-shaped eyes"},
+  {0x1F60F, "\xF0\x9F\x98\x8F", "smirking face"},
+  //{ 0x1F612,"\xF0\x9F\x98\x92","unamused face" },
+  //{ 0x1F613,"\xF0\x9F\x98\x93","face with cold sweat" },
+  //{ 0x1F614,"\xF0\x9F\x98\x94","pensive face" },
+  //{ 0x1F616,"\xF0\x9F\x98\x96","confounded face" },
+  {0x1F618, "\xF0\x9F\x98\x98", "face throwing a kiss"},
+  {0x1F61A, "\xF0\x9F\x98\x9A", "kissing face with closed eyes"},
+  //{ 0x1F61C,"\xF0\x9F\x98\x9C","face with stuck-out tongue and winking eye" },
+  //{ 0x1F61D,"\xF0\x9F\x98\x9D","face with stuck-out tongue and tightly-closed eyes" },
+  //{ 0x1F61E,"\xF0\x9F\x98\x9E","disappointed face" },
+  {0x1F620, "\xF0\x9F\x98\xA0", "angry face"},
 
-    /*
+  /*
     { "POUTING FACE",
     { "CRYING FACE",
     { "PERSEVERING FACE",
@@ -94,10 +94,10 @@ namespace EmojiStrings
     { "PERSON WITH FOLDED HANDS",
   */
 
-  };
+};
 
-  const unsigned int NUMBER_OF_EMOJIS = 12;
+const unsigned int NUMBER_OF_EMOJIS = 12;
 
-} // EmojiStrings
+} // namespace EmojiStrings
 
 #endif // DALI_DEMO_EMOJI_STRINGS_H