#include "config.h"
#endif
#include <Elementary.h>
+#include <appcore-efl.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <Evas.h>
+
#ifndef ELM_LIB_QUICKLAUNCH
#include "log.h"
int _log_domain = -1;
int _app_exit_code = EXIT_SUCCESS;
+static int _create(void *data __UNUSED__)
+{
+ return 0;
+}
+
+static int _reset(bundle *b __UNUSED__, void *data __UNUSED__)
+{
+ return 0;
+}
+
+static int _resume(void *data __UNUSED__)
+{
+ return 0;
+}
+
+static int _pause(void *data __UNUSED__)
+{
+ return 0;
+}
+
+static int _terminate(void *data __UNUSED__)
+{
+ return 0;
+}
+
EAPI int elm_main(int argc, char **argv)
{
int args;
}
INF("Entering main loop");
- elm_run();
+
+ struct appcore_ops ops = {
+ .create = _create,
+ .resume = _resume,
+ .reset = _reset,
+ .pause = _pause,
+ .terminate = _terminate,
+ };
+ ops.data = NULL;
+ //elm_run();
+ int iReturn = appcore_efl_main("org.tizen.dialer", &argc, &argv, &ops);
INF("Quit main loop");
gui_shutdown();
end:
elm_shutdown();
- return _app_exit_code;
+ return iReturn;
+ //return _app_exit_code;
}
#endif
+* Wed Jan 30 2013 Hao Li <hao.h.li@intel.com>
+- Run appcore_efl_main rather than elm_run directly to ensure it will call aul initialization to create socket on /tmp/alaunch to fix TIVI-421
+
* Fri Dec 14 2012 Jimmy Huang <jimmy.huang@linux.intel.com>
- Fixed bug TIVI-391