Add evas_font_path_global_append method 94/122794/11
authorMariia Borowiec <m.borowiec2@samsung.com>
Mon, 3 Apr 2017 10:58:38 +0000 (12:58 +0200)
committerSeunghyun Choi <sh4682.choi@samsung.com>
Fri, 16 Jun 2017 07:05:30 +0000 (16:05 +0900)
 - Change static class name Evas -> Utility(Will add others)
 - Change Method name, follow EFL style

Change-Id: Ie814ca5eb4253fe62c6269c36f17f1368643048f
Signed-off-by: Mariia Borowiec <m.borowiec2@samsung.com>
ElmSharp/ElmSharp/Utility.cs [new file with mode: 0644]

diff --git a/ElmSharp/ElmSharp/Utility.cs b/ElmSharp/ElmSharp/Utility.cs
new file mode 100644 (file)
index 0000000..745153a
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+namespace ElmSharp
+{
+    public static class Utility
+    {
+        /// <summary>
+        /// Appends a font path to the list of font paths used by the application.
+        /// </summary>
+        /// <param name="path">The new font path.</param>
+        public static void AppendGlobalFontPath(string path)
+        {
+            Interop.Evas.evas_font_path_global_append(path);
+        }
+    }
+}
\ No newline at end of file