aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-06-28 19:46:12 -0300
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-06-28 20:04:38 -0300
commit9ed9d94501f741da449f5c5703ffc4ca31589a2e (patch)
treeb0dca1259205f7e0a343a74c48eb23a35f488502
parentefl-mono: Make the setup.py script work again (diff)
downloadexamples-9ed9d94501f741da449f5c5703ffc4ca31589a2e.tar.gz
csharp: Make examples build again.
Summary: OnInitialize changed signature in https://phab.enlightenment.org/D9178 Reviewers: vitor.sousa, segfaultxavi Reviewed By: vitor.sousa Differential Revision: https://phab.enlightenment.org/D9213
-rw-r--r--apps/csharp/life/src/life_main.cs2
-rw-r--r--apps/csharp/texteditor/src/texteditor_main.cs2
-rw-r--r--reference/csharp/core/src/core_event.cs2
-rw-r--r--reference/csharp/core/src/core_idler.cs2
-rw-r--r--reference/csharp/core/src/core_poll.cs2
-rw-r--r--reference/csharp/eina/src/eina_array.cs2
-rw-r--r--reference/csharp/eina/src/eina_hash.cs2
-rw-r--r--reference/csharp/eina/src/eina_iterator.cs2
-rw-r--r--reference/csharp/eina/src/eina_list.cs2
-rw-r--r--reference/csharp/eina/src/eina_log.cs2
-rw-r--r--reference/csharp/eina/src/eina_value.cs2
-rw-r--r--reference/csharp/ui/src/focus_main.cs2
-rw-r--r--reference/csharp/ui/src/ui_container.cs2
-rw-r--r--reference/csharp/ui/src/ui_custom_widget.cs2
-rw-r--r--reference/csharp/ui/src/ui_sizing.cs2
-rw-r--r--tutorial/csharp/eo-intro/src/eo_intro_main.cs2
-rw-r--r--tutorial/csharp/hello-gui/src/gui_main.cs2
-rw-r--r--tutorial/csharp/hello-world/src/hello-world.cs2
18 files changed, 18 insertions, 18 deletions
diff --git a/apps/csharp/life/src/life_main.cs b/apps/csharp/life/src/life_main.cs
index b485b18b..11436a3c 100644
--- a/apps/csharp/life/src/life_main.cs
+++ b/apps/csharp/life/src/life_main.cs
@@ -35,7 +35,7 @@ public class LifeWindow : Efl.Csharp.Application
lifeBoard.TogglePause(win);
}
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
win = new Efl.Ui.Win(parent: null, winName: "Life", winType: Efl.Ui.WinType.Basic);
win.SetText("EFL Life");
diff --git a/apps/csharp/texteditor/src/texteditor_main.cs b/apps/csharp/texteditor/src/texteditor_main.cs
index 317680da..f01cb733 100644
--- a/apps/csharp/texteditor/src/texteditor_main.cs
+++ b/apps/csharp/texteditor/src/texteditor_main.cs
@@ -151,7 +151,7 @@ public class TextEditor : Efl.Csharp.Application
}
// Builds the user interface for the text editor
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
win = new Efl.Ui.Win(parent: Efl.App.AppMain);
diff --git a/reference/csharp/core/src/core_event.cs b/reference/csharp/core/src/core_event.cs
index cadfa997..bb617bd1 100644
--- a/reference/csharp/core/src/core_event.cs
+++ b/reference/csharp/core/src/core_event.cs
@@ -15,7 +15,7 @@ public class Example : Efl.Csharp.Application
Console.WriteLine(" Poll from {0}", ((Efl.Object)sender).GetName());
}
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
// Retrieve the application's main loop
var mainloop = Efl.App.AppMain;
diff --git a/reference/csharp/core/src/core_idler.cs b/reference/csharp/core/src/core_idler.cs
index 33bc1989..224511b8 100644
--- a/reference/csharp/core/src/core_idler.cs
+++ b/reference/csharp/core/src/core_idler.cs
@@ -11,7 +11,7 @@ using System;
public class Example : Efl.Csharp.Application
{
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
// Retrieve the application's main loop
var mainloop = Efl.App.AppMain;
diff --git a/reference/csharp/core/src/core_poll.cs b/reference/csharp/core/src/core_poll.cs
index 8e129e21..0032223d 100644
--- a/reference/csharp/core/src/core_poll.cs
+++ b/reference/csharp/core/src/core_poll.cs
@@ -10,7 +10,7 @@ using System;
public class Example : Efl.Csharp.Application
{
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
// Retrieve the application's main loop
var mainloop = Efl.App.AppMain;
diff --git a/reference/csharp/eina/src/eina_array.cs b/reference/csharp/eina/src/eina_array.cs
index 0e594b7d..dffb394b 100644
--- a/reference/csharp/eina/src/eina_array.cs
+++ b/reference/csharp/eina/src/eina_array.cs
@@ -38,7 +38,7 @@ public class Example : Efl.Csharp.Application
return true;
}
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
var array = CreateArray();
diff --git a/reference/csharp/eina/src/eina_hash.cs b/reference/csharp/eina/src/eina_hash.cs
index 64ade56f..07b23199 100644
--- a/reference/csharp/eina/src/eina_hash.cs
+++ b/reference/csharp/eina/src/eina_hash.cs
@@ -117,7 +117,7 @@ public class Example : Efl.Csharp.Application
phone_book.Dispose();
}
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
HashDemo();
PhonebookDemo();
diff --git a/reference/csharp/eina/src/eina_iterator.cs b/reference/csharp/eina/src/eina_iterator.cs
index e8a03973..498c3e5a 100644
--- a/reference/csharp/eina/src/eina_iterator.cs
+++ b/reference/csharp/eina/src/eina_iterator.cs
@@ -55,7 +55,7 @@ public class Example : Efl.Csharp.Application
return list;
}
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
// Create an Eina.Array and iterate through its contents
var array = CreateArray();
diff --git a/reference/csharp/eina/src/eina_list.cs b/reference/csharp/eina/src/eina_list.cs
index 0253bc39..059f4d79 100644
--- a/reference/csharp/eina/src/eina_list.cs
+++ b/reference/csharp/eina/src/eina_list.cs
@@ -23,7 +23,7 @@ public class Example : Efl.Csharp.Application
return list;
}
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
var list = CreateList();
diff --git a/reference/csharp/eina/src/eina_log.cs b/reference/csharp/eina/src/eina_log.cs
index fb64ba4a..f671c9af 100644
--- a/reference/csharp/eina/src/eina_log.cs
+++ b/reference/csharp/eina/src/eina_log.cs
@@ -48,7 +48,7 @@ public class Example : Efl.Csharp.Application
Divides();
}
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
LogLevels();
diff --git a/reference/csharp/eina/src/eina_value.cs b/reference/csharp/eina/src/eina_value.cs
index 2e277f54..328a9dad 100644
--- a/reference/csharp/eina/src/eina_value.cs
+++ b/reference/csharp/eina/src/eina_value.cs
@@ -47,7 +47,7 @@ public class Example : Efl.Csharp.Application
Console.WriteLine("str_val was \"{0}\", converted to int is {1}", str_val, int_val);
}
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
ValueInt();
Console.WriteLine("");
diff --git a/reference/csharp/ui/src/focus_main.cs b/reference/csharp/ui/src/focus_main.cs
index 8c69ccaf..0e8c481d 100644
--- a/reference/csharp/ui/src/focus_main.cs
+++ b/reference/csharp/ui/src/focus_main.cs
@@ -7,7 +7,7 @@ public class Example : Efl.Csharp.Application
Console.WriteLine($"Focus for object {((Efl.IText)sender).GetText()} changed to {((Efl.Ui.Widget)sender).GetFocus()}");
}
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
var win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
diff --git a/reference/csharp/ui/src/ui_container.cs b/reference/csharp/ui/src/ui_container.cs
index f8f6ac81..fea4a494 100644
--- a/reference/csharp/ui/src/ui_container.cs
+++ b/reference/csharp/ui/src/ui_container.cs
@@ -57,7 +57,7 @@ public class Example : Efl.Csharp.Application
return table;
}
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
diff --git a/reference/csharp/ui/src/ui_custom_widget.cs b/reference/csharp/ui/src/ui_custom_widget.cs
index c486be6a..283c998c 100644
--- a/reference/csharp/ui/src/ui_custom_widget.cs
+++ b/reference/csharp/ui/src/ui_custom_widget.cs
@@ -30,7 +30,7 @@ public class MyButton : Efl.Ui.Button
public class Example : Efl.Csharp.Application
{
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
diff --git a/reference/csharp/ui/src/ui_sizing.cs b/reference/csharp/ui/src/ui_sizing.cs
index 07f57697..e1574c88 100644
--- a/reference/csharp/ui/src/ui_sizing.cs
+++ b/reference/csharp/ui/src/ui_sizing.cs
@@ -10,7 +10,7 @@ using System;
public class Example : Efl.Csharp.Application
{
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
diff --git a/tutorial/csharp/eo-intro/src/eo_intro_main.cs b/tutorial/csharp/eo-intro/src/eo_intro_main.cs
index 4aa8ac63..a928b91f 100644
--- a/tutorial/csharp/eo-intro/src/eo_intro_main.cs
+++ b/tutorial/csharp/eo-intro/src/eo_intro_main.cs
@@ -32,7 +32,7 @@ public class Example : Efl.Csharp.Application
child2.Dispose();
}
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
// Create all objects
ObjCreate();
diff --git a/tutorial/csharp/hello-gui/src/gui_main.cs b/tutorial/csharp/hello-gui/src/gui_main.cs
index e9a581f7..ab64bb9e 100644
--- a/tutorial/csharp/hello-gui/src/gui_main.cs
+++ b/tutorial/csharp/hello-gui/src/gui_main.cs
@@ -10,7 +10,7 @@ public class Example : Efl.Csharp.Application
Efl.App.AppMain.Quit(0);
}
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
Efl.Ui.Win win = new Efl.Ui.Win(Efl.App.AppMain);
diff --git a/tutorial/csharp/hello-world/src/hello-world.cs b/tutorial/csharp/hello-world/src/hello-world.cs
index 5d1695fb..a7b04575 100644
--- a/tutorial/csharp/hello-world/src/hello-world.cs
+++ b/tutorial/csharp/hello-world/src/hello-world.cs
@@ -2,7 +2,7 @@ using System;
public class Example : Efl.Csharp.Application
{
- protected override void OnInitialize(Eina.Array<System.String> args)
+ protected override void OnInitialize(string[] args)
{
// Create a window and initialize it
Efl.Ui.Win win = new Efl.Ui.Win(Efl.App.AppMain);