Change-Id: I2dc8e2b61133e7cb7a49ef972536f8e02668f54c
* @brief Main askuser notification daemon file
*/
-#include <clocale>
-#include <csignal>
-#include <cstdlib>
-#include <string>
-#include <thread>
-#include <unistd.h>
-#include <vconf.h>
-
#ifdef BUILD_WITH_SYSTEMD_DAEMON
#include <systemd/sd-daemon.h>
#endif
+#include <exception>
#include <exception/Exception.h>
#include <log/alog.h>
-#include "GuiRunner.h"
#include "AskUserTalker.h"
int main()
{
using namespace AskUser::Notification;
- init_agent_log();
- char *lang = vconf_get_str(VCONFKEY_LANGSET);
- if (lang)
- {
- elm_language_set(lang);
- free(lang);
- }
- else
- ALOGE("language_set failed.");
-
try {
+ init_agent_log();
AskUserTalker askUserTalker;
askUserTalker.init();