forked from enlightenment/efl
csharp: updating eldbus_config docs.
Summary: ref T8361 Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8361 Differential Revision: https://phab.enlightenment.org/D10417
This commit is contained in:
parent
e6bffe1e2b
commit
2ace33915b
|
@ -7,14 +7,17 @@ namespace eldbus
|
|||
{
|
||||
|
||||
/// <summary>Initializes Eldbus.
|
||||
///
|
||||
/// Since EFL 1.23.
|
||||
/// <para>Since EFL 1.23.</para>
|
||||
/// </summary>
|
||||
public static class Config
|
||||
{
|
||||
[DllImport(efl.Libs.Eldbus)] private static extern int eldbus_init();
|
||||
[DllImport(efl.Libs.Eldbus)] private static extern int eldbus_shutdown();
|
||||
|
||||
/// <summary>
|
||||
/// Initialization of the eldbus.
|
||||
/// <para>Since EFL 1.23.</para>
|
||||
/// </summary>
|
||||
public static void Init()
|
||||
{
|
||||
if (eldbus_init() == 0)
|
||||
|
@ -23,6 +26,10 @@ public static class Config
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Shutdown the eldbus.
|
||||
/// <para>Since EFL 1.23.</para>
|
||||
/// </summary>
|
||||
public static void Shutdown()
|
||||
{
|
||||
eldbus_shutdown();
|
||||
|
|
Loading…
Reference in New Issue