diff options
Diffstat (limited to 'src/bindings/mono/eldbus_mono/eldbus_config.cs')
-rw-r--r-- | src/bindings/mono/eldbus_mono/eldbus_config.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/bindings/mono/eldbus_mono/eldbus_config.cs b/src/bindings/mono/eldbus_mono/eldbus_config.cs index b0a0c1f..f42452e 100644 --- a/src/bindings/mono/eldbus_mono/eldbus_config.cs +++ b/src/bindings/mono/eldbus_mono/eldbus_config.cs | |||
@@ -7,14 +7,17 @@ namespace eldbus | |||
7 | { | 7 | { |
8 | 8 | ||
9 | /// <summary>Initializes Eldbus. | 9 | /// <summary>Initializes Eldbus. |
10 | /// | 10 | /// <para>Since EFL 1.23.</para> |
11 | /// Since EFL 1.23. | ||
12 | /// </summary> | 11 | /// </summary> |
13 | public static class Config | 12 | public static class Config |
14 | { | 13 | { |
15 | [DllImport(efl.Libs.Eldbus)] private static extern int eldbus_init(); | 14 | [DllImport(efl.Libs.Eldbus)] private static extern int eldbus_init(); |
16 | [DllImport(efl.Libs.Eldbus)] private static extern int eldbus_shutdown(); | 15 | [DllImport(efl.Libs.Eldbus)] private static extern int eldbus_shutdown(); |
17 | 16 | ||
17 | /// <summary> | ||
18 | /// Initialization of the eldbus. | ||
19 | /// <para>Since EFL 1.23.</para> | ||
20 | /// </summary> | ||
18 | public static void Init() | 21 | public static void Init() |
19 | { | 22 | { |
20 | if (eldbus_init() == 0) | 23 | if (eldbus_init() == 0) |
@@ -23,6 +26,10 @@ public static class Config | |||
23 | } | 26 | } |
24 | } | 27 | } |
25 | 28 | ||
29 | /// <summary> | ||
30 | /// Shutdown the eldbus. | ||
31 | /// <para>Since EFL 1.23.</para> | ||
32 | /// </summary> | ||
26 | public static void Shutdown() | 33 | public static void Shutdown() |
27 | { | 34 | { |
28 | eldbus_shutdown(); | 35 | eldbus_shutdown(); |