aboutsummaryrefslogtreecommitdiffstats
path: root/reference/csharp/core/src/core_poll.cs
diff options
context:
space:
mode:
Diffstat (limited to 'reference/csharp/core/src/core_poll.cs')
-rw-r--r--reference/csharp/core/src/core_poll.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/reference/csharp/core/src/core_poll.cs b/reference/csharp/core/src/core_poll.cs
index a05e7b9d..6caf5c3f 100644
--- a/reference/csharp/core/src/core_poll.cs
+++ b/reference/csharp/core/src/core_poll.cs
@@ -16,10 +16,10 @@ public class Example
public static void Main()
{
// Initialize EFL and all UI components
- efl.All.Init();
+ Efl.All.Init();
// Retrieve the application's main loop
- var mainloop = efl.App.GetLoopMain();
+ var mainloop = Efl.App.GetLoopMain();
// Register to all Poll events
mainloop.PollLowEvt += (object sender, EventArgs e) => {
@@ -33,12 +33,12 @@ public class Example
};
// Use a timer to exit the application
- new efl.Loop_Timer(mainloop, (efl.ILoop_Timer etimer) => {
+ new Efl.LoopTimer(mainloop, (Efl.LoopTimer etimer) => {
// Trigger after 30s
etimer.SetInterval(30);
etimer.TickEvt += (object sender, EventArgs e) => {
Console.WriteLine("\nTIMER: timer callback called, exiting.");
- mainloop.Quit(new eina.Value(0));
+ mainloop.Quit(new Eina.Value(0));
};
});
@@ -46,6 +46,6 @@ public class Example
mainloop.Begin();
// Shutdown EFL
- efl.All.Shutdown();
+ Efl.All.Shutdown();
}
}