summaryrefslogtreecommitdiff
path: root/ElmSharp/ElmSharp/Utility.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ElmSharp/ElmSharp/Utility.cs')
-rw-r--r--ElmSharp/ElmSharp/Utility.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/ElmSharp/ElmSharp/Utility.cs b/ElmSharp/ElmSharp/Utility.cs
new file mode 100644
index 0000000..745153a
--- /dev/null
+++ b/ElmSharp/ElmSharp/Utility.cs
@@ -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