From 09744f6c289a09f0c6533ad9b54964f004bf4666 Mon Sep 17 00:00:00 2001 From: Bruno da Silva Belo Date: Mon, 14 Oct 2019 00:53:34 -0300 Subject: [PATCH] csharp: updating efl_csharp_application docs. Summary: ref T8345 Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8345 Differential Revision: https://phab.enlightenment.org/D10379 --- .../mono/efl_mono/efl_csharp_application.cs | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/bindings/mono/efl_mono/efl_csharp_application.cs b/src/bindings/mono/efl_mono/efl_csharp_application.cs index 809b2433bd..b4ce5d2940 100644 --- a/src/bindings/mono/efl_mono/efl_csharp_application.cs +++ b/src/bindings/mono/efl_mono/efl_csharp_application.cs @@ -10,14 +10,18 @@ namespace Csharp { /// The components to be initialized. -/// -/// Since EFL 1.23. +/// Since EFL 1.23. /// public enum Components { - ///Basic components: Eina, Eo, Ecore, Evas and DBus. + ///Basic components: Eina, Eo, Ecore, Evas and DBus. + /// Since EFL 1.23. + /// Basic, - ///The same components of and the Elementary widget toolkit. + ///The same components of + /// and the Elementary widget toolkit. + /// Since EFL 1.23. + /// Ui, } @@ -25,8 +29,7 @@ public enum Components /// This represents the entry point for the EFL framework /// You can use this class to implement the 4 abstract methods which will then be called accordingly /// All subsystems of efl are booted up correctly when the abstract methods of this class are called. -/// -/// Since EFL 1.23. +/// Since EFL 1.23. /// /// /// Calls to efl outside those efl-callbacks or outside the mainloop are not allowed and will lead to issues @@ -94,22 +97,27 @@ public abstract class Application /// /// Called when the application is started. Arguments from the command line are passed here. + /// Since EFL 1.23. /// + /// Arguments passed from command line. protected abstract void OnInitialize(string[] args); /// /// Arguments are passed here, Additional calls to this function may occure, /// but then the initialization flag is set to false. + /// Since EFL 1.23. /// /// /// When Initialize is true then OnInitialize is also called /// + /// Argsuments passed from command line protected virtual void OnArguments(Efl.LoopArguments args) { } /// /// Called when the application is not going to be displayed, or is not used by a user for some time. + /// Since EFL 1.23. /// protected virtual void OnPause() { @@ -117,6 +125,7 @@ public abstract class Application /// /// Called before an application is used again after a call to OnPause(). + /// Since EFL 1.23. /// protected virtual void OnResume() { @@ -124,6 +133,7 @@ public abstract class Application /// /// Called before starting the shutdown of the application. + /// Since EFL 1.23. /// protected virtual void OnTerminate() { @@ -132,7 +142,9 @@ public abstract class Application /// /// This function initializices everything in EFL and runs your application. /// This call will result in a call to OnInitialize(), which you application should override. + /// Since EFL 1.23. /// + /// The to run the application. public void Launch(Efl.Csharp.Components components = Components.Ui) { Init(components);