aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ecore/src/examples/ecore_time_functions_example.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 17:29:19 +1000
committerDavid Walter Seikel2013-01-13 17:29:19 +1000
commit07274513e984f0b5544586c74508ccd16e7dcafa (patch)
treeb32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/ecore/src/examples/ecore_time_functions_example.c
parentAdded Irrlicht 1.8, but without all the Windows binaries. (diff)
downloadSledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz
Remove EFL, since it's been released now.
Diffstat (limited to 'libraries/ecore/src/examples/ecore_time_functions_example.c')
-rw-r--r--libraries/ecore/src/examples/ecore_time_functions_example.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/libraries/ecore/src/examples/ecore_time_functions_example.c b/libraries/ecore/src/examples/ecore_time_functions_example.c
deleted file mode 100644
index 5fa5d60..0000000
--- a/libraries/ecore/src/examples/ecore_time_functions_example.c
+++ /dev/null
@@ -1,32 +0,0 @@
1#include <Ecore.h>
2#include <unistd.h>
3
4static Eina_Bool
5_timer_cb(void *data)
6{
7 printf("ecore time: %0.3f\n", ecore_time_get());
8 printf("loop time: %0.3f\n", ecore_loop_time_get());
9 printf("unix time: %0.3f\n", ecore_time_unix_get());
10 printf("\nSleep for 1 second...\n\n");
11 sleep(1);
12 printf("ecore time: %0.3f\n", ecore_time_get());
13 printf("loop time: %0.3f\n", ecore_loop_time_get());
14 printf("unix time: %0.3f\n", ecore_time_unix_get());
15
16 ecore_main_loop_quit();
17
18 return EINA_FALSE;
19}
20
21int main(int argc, char **argv)
22{
23 if (!ecore_init())
24 {
25 printf("ERROR: Cannot init Ecore!\n");
26 return -1;
27 }
28
29 ecore_timer_add(0.1, _timer_cb, NULL);
30 ecore_main_loop_begin();
31 ecore_shutdown();
32}