csharp: Make examples build again.
Summary: OnInitialize changed signature in D9178 Reviewers: vitor.sousa, segfaultxavi Reviewed By: vitor.sousa Differential Revision: https://phab.enlightenment.org/D9213
This commit is contained in:
parent
a49641d9b4
commit
9ed9d94501
|
@ -35,7 +35,7 @@ public class LifeWindow : Efl.Csharp.Application
|
||||||
lifeBoard.TogglePause(win);
|
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 = new Efl.Ui.Win(parent: null, winName: "Life", winType: Efl.Ui.WinType.Basic);
|
||||||
win.SetText("EFL Life");
|
win.SetText("EFL Life");
|
||||||
|
|
|
@ -151,7 +151,7 @@ public class TextEditor : Efl.Csharp.Application
|
||||||
}
|
}
|
||||||
|
|
||||||
// Builds the user interface for the text editor
|
// 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
|
// Create a window and initialize it
|
||||||
win = new Efl.Ui.Win(parent: Efl.App.AppMain);
|
win = new Efl.Ui.Win(parent: Efl.App.AppMain);
|
||||||
|
|
|
@ -15,7 +15,7 @@ public class Example : Efl.Csharp.Application
|
||||||
Console.WriteLine(" Poll from {0}", ((Efl.Object)sender).GetName());
|
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
|
// Retrieve the application's main loop
|
||||||
var mainloop = Efl.App.AppMain;
|
var mainloop = Efl.App.AppMain;
|
||||||
|
|
|
@ -11,7 +11,7 @@ using System;
|
||||||
|
|
||||||
public class Example : Efl.Csharp.Application
|
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
|
// Retrieve the application's main loop
|
||||||
var mainloop = Efl.App.AppMain;
|
var mainloop = Efl.App.AppMain;
|
||||||
|
|
|
@ -10,7 +10,7 @@ using System;
|
||||||
|
|
||||||
public class Example : Efl.Csharp.Application
|
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
|
// Retrieve the application's main loop
|
||||||
var mainloop = Efl.App.AppMain;
|
var mainloop = Efl.App.AppMain;
|
||||||
|
|
|
@ -38,7 +38,7 @@ public class Example : Efl.Csharp.Application
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnInitialize(Eina.Array<System.String> args)
|
protected override void OnInitialize(string[] args)
|
||||||
{
|
{
|
||||||
var array = CreateArray();
|
var array = CreateArray();
|
||||||
|
|
||||||
|
|
|
@ -117,7 +117,7 @@ public class Example : Efl.Csharp.Application
|
||||||
phone_book.Dispose();
|
phone_book.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnInitialize(Eina.Array<System.String> args)
|
protected override void OnInitialize(string[] args)
|
||||||
{
|
{
|
||||||
HashDemo();
|
HashDemo();
|
||||||
PhonebookDemo();
|
PhonebookDemo();
|
||||||
|
|
|
@ -55,7 +55,7 @@ public class Example : Efl.Csharp.Application
|
||||||
return list;
|
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
|
// Create an Eina.Array and iterate through its contents
|
||||||
var array = CreateArray();
|
var array = CreateArray();
|
||||||
|
|
|
@ -23,7 +23,7 @@ public class Example : Efl.Csharp.Application
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnInitialize(Eina.Array<System.String> args)
|
protected override void OnInitialize(string[] args)
|
||||||
{
|
{
|
||||||
var list = CreateList();
|
var list = CreateList();
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class Example : Efl.Csharp.Application
|
||||||
Divides();
|
Divides();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnInitialize(Eina.Array<System.String> args)
|
protected override void OnInitialize(string[] args)
|
||||||
{
|
{
|
||||||
LogLevels();
|
LogLevels();
|
||||||
|
|
||||||
|
|
|
@ -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);
|
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();
|
ValueInt();
|
||||||
Console.WriteLine("");
|
Console.WriteLine("");
|
||||||
|
|
|
@ -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()}");
|
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
|
// Create a window and initialize it
|
||||||
var win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
|
var win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
|
||||||
|
|
|
@ -57,7 +57,7 @@ public class Example : Efl.Csharp.Application
|
||||||
return table;
|
return table;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnInitialize(Eina.Array<System.String> args)
|
protected override void OnInitialize(string[] args)
|
||||||
{
|
{
|
||||||
// Create a window and initialize it
|
// Create a window and initialize it
|
||||||
Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
|
Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class MyButton : Efl.Ui.Button
|
||||||
|
|
||||||
public class Example : Efl.Csharp.Application
|
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
|
// Create a window and initialize it
|
||||||
Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
|
Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
|
||||||
|
|
|
@ -10,7 +10,7 @@ using System;
|
||||||
|
|
||||||
public class Example : Efl.Csharp.Application
|
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
|
// Create a window and initialize it
|
||||||
Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
|
Efl.Ui.Win win = new Efl.Ui.Win(null, winType: Efl.Ui.WinType.Basic);
|
||||||
|
|
|
@ -32,7 +32,7 @@ public class Example : Efl.Csharp.Application
|
||||||
child2.Dispose();
|
child2.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnInitialize(Eina.Array<System.String> args)
|
protected override void OnInitialize(string[] args)
|
||||||
{
|
{
|
||||||
// Create all objects
|
// Create all objects
|
||||||
ObjCreate();
|
ObjCreate();
|
||||||
|
|
|
@ -10,7 +10,7 @@ public class Example : Efl.Csharp.Application
|
||||||
Efl.App.AppMain.Quit(0);
|
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
|
// Create a window and initialize it
|
||||||
Efl.Ui.Win win = new Efl.Ui.Win(Efl.App.AppMain);
|
Efl.Ui.Win win = new Efl.Ui.Win(Efl.App.AppMain);
|
||||||
|
|
|
@ -2,7 +2,7 @@ using System;
|
||||||
|
|
||||||
public class Example : Efl.Csharp.Application
|
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
|
// Create a window and initialize it
|
||||||
Efl.Ui.Win win = new Efl.Ui.Win(Efl.App.AppMain);
|
Efl.Ui.Win win = new Efl.Ui.Win(Efl.App.AppMain);
|
||||||
|
|
Loading…
Reference in New Issue