#include "Model/WeekFlags.h"
#include "Utils/Serialization.h"
#include "Utils/Time.h"
-
-#include "log.h"
+#include "Utils/Log.h"
namespace model {
typedef int AlarmId;
#include <string>
#include <vector>
#include <Ecore.h>
-#include "log.h"
+#include "Utils/Log.h"
namespace model {
-#ifndef _CLOCK_LOC
-#define _CLOCK_LOC
+/*
+ * Copyright (c) 2009-2014 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
-namespace utils {
- class Log {
- };
-} /* utils */
+#ifndef __LOG_H__
+#define __LOG_H__
+
+#include <dlog.h>
+#include <app_i18n.h>
+
+/**
+ * @addtogroup Utils
+ * @{
+ */
+
+#ifdef LOG_TAG
+ #undef LOG_TAG
+#endif
+
+#define LOG_TAG "CLOCK"
+
+#define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__)
+
+#if !defined(DBG)
+#define DBG(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, "%s: %s[%d]\t " #fmt "\n", __FILENAME__, __func__, __LINE__, ##arg)
+#endif
+
+#if !defined(WRN)
+#define WRN(fmt, arg...) dlog_print(DLOG_WARN, LOG_TAG, "%s: %s[%d]\t " #fmt "\n", __FILENAME__, __func__, __LINE__, ##arg)
+#endif
+
+#if !defined(ERR)
+#define ERR(fmt, arg...) dlog_print(DLOG_ERROR, LOG_TAG, "%s: %s[%d]\t " #fmt "\n", __FILENAME__, __func__, __LINE__, ##arg)
+#endif
+
+#if !defined(INF)
+#define INF(fmt, arg...) dlog_print(DLOG_INFO, LOG_TAG, "%s: %s[%d]\t " #fmt "\n", __FILENAME__, __func__, __LINE__, ##arg)
+#endif
+
+#if !defined(FATAL)
+#define FAT(fmt, arg...) dlog_print(DLOG_FATAL, LOG_TAG, "%s: %s[%d]\t " #fmt "\n", __FILENAME__, __func__, __LINE__, ##arg);
+#endif
+
+#undef _
+#define _(str) i18n_get_text(str)
+
+/**
+ * @}
+ */
#endif
+++ /dev/null
-/*
- * Copyright (c) 2009-2014 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __LOG_H__
-#define __LOG_H__
-
-#include <dlog.h>
-#include <app_i18n.h>
-
-/**
- * @addtogroup Utils
- * @{
- */
-
-#ifdef LOG_TAG
- #undef LOG_TAG
-#endif
-
-#define LOG_TAG "CLOCK"
-
-#define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__)
-
-#if !defined(DBG)
-#define DBG(fmt, arg...) dlog_print(DLOG_DEBUG, LOG_TAG, "%s: %s[%d]\t " #fmt "\n", __FILENAME__, __func__, __LINE__, ##arg)
-#endif
-
-#if !defined(WRN)
-#define WRN(fmt, arg...) dlog_print(DLOG_WARN, LOG_TAG, "%s: %s[%d]\t " #fmt "\n", __FILENAME__, __func__, __LINE__, ##arg)
-#endif
-
-#if !defined(ERR)
-#define ERR(fmt, arg...) dlog_print(DLOG_ERROR, LOG_TAG, "%s: %s[%d]\t " #fmt "\n", __FILENAME__, __func__, __LINE__, ##arg)
-#endif
-
-#if !defined(INF)
-#define INF(fmt, arg...) dlog_print(DLOG_INFO, LOG_TAG, "%s: %s[%d]\t " #fmt "\n", __FILENAME__, __func__, __LINE__, ##arg)
-#endif
-
-#if !defined(FATAL)
-#define FAT(fmt, arg...) dlog_print(DLOG_FATAL, LOG_TAG, "%s: %s[%d]\t " #fmt "\n", __FILENAME__, __func__, __LINE__, ##arg);
-#endif
-
-#undef _
-#define _(str) i18n_get_text(str)
-
-/**
- * @}
- */
-
-#endif
#include <dlog.h>
-#include "log.h"
+#include "Utils/Log.h"
#include "app.h"
#include "Clock.h"
#include "Controller/MainController.h"
*/
#include "Common/CounterAnimator.h"
-#include "log.h"
+#include "Utils/Log.h"
namespace common {
* limitations under the License.
*/
-#include "log.h"
+#include "Utils/Log.h"
#include "View/MainView.h"
#include "Controller/MainController.h"
#include "Utils/EventBus.h"
#include <app_alarm.h>
#include "Model/Alarm.h"
#include "Common/Defines.h"
-#include "log.h"
+#include "Utils/Log.h"
using namespace model;
using namespace utils;
#include <cstdlib>
#include <algorithm>
-#include "log.h"
+#include "Utils/Log.h"
using namespace internal;
using namespace model;
*/
#include "Model/StopWatch.h"
-#include "log.h"
namespace model {
#include "Model/Timer.h"
#include "Common/Defines.h"
-#include "log.h"
+#include "Utils/Log.h"
namespace model {
#include "Model/WorldClock.h"
#include "Model/Location.h"
-#include "log.h"
+#include "Utils/Log.h"
using namespace model;
#include "Model/AlarmProviderEvent.h"
#include "Model/AlarmEvent.h"
#include "Utils/EventBus.h"
-#include "log.h"
+#include "Utils/Log.h"
using namespace presenter;
using namespace view;
#include "Presenter/EditAlarmPresenter.h"
-#include "log.h"
+#include "Utils/Log.h"
#include "Model/AlarmProvider.h"
#include "Utils/EventBus.h"
#include "Model/AlarmEvent.h"
#include <sstream>
#include <cmath>
#include "Presenter/StopWatchPresenter.h"
-#include "log.h"
+#include "Utils/Log.h"
namespace presenter {
*/
#include "Presenter/TimerPresenter.h"
-#include "log.h"
+#include "Utils/Log.h"
namespace presenter {
*/
#include "Presenter/WorldClockPresenter.h"
-#include "log.h"
+#include "Utils/Log.h"
namespace presenter {
#include "Utils/BinaryFileWriter.h"
#include <fstream>
+#include "Utils/Log.h"
using namespace utils;
using namespace std;
#include "Utils/EventBus.h"
#include <algorithm>
-#include "log.h"
+#include "Utils/Log.h"
using namespace utils;
*/
#include "Utils/PopupManager.h"
-#include "log.h"
+#include "Utils/Log.h"
namespace utils {
#include "Utils/Time.h"
-#include "log.h"
+#include "Utils/Log.h"
#include <utils_i18n.h>
#include <cstring>
#include <sstream>
#include <efl_extension.h>
-#include "log.h"
+#include "Utils/Log.h"
using namespace view;
using namespace model;
#include "View/CounterView.h"
#include "Utils/Utils.h"
-#include "log.h"
+#include "Utils/Log.h"
#define SIGNAL_SET_COUNTER_SIMPLE "digits,set,simple"
#define SIGNAL_SET_COUNTER_TIMER "digits,set,timer"
#include "View/DeleteAlarmView.h"
-#include "log.h"
+#include "Utils/Log.h"
#include <sstream>
#include <Elementary.h>
-#include "log.h"
+#include "Utils/Log.h"
using namespace view;
using namespace utils;
#include "Clock.h"
#include "Utils/Utils.h"
-#include "log.h"
+#include "Utils/Log.h"
#include "Presenter/AlarmPresenter.h"
#include "Presenter/EditAlarmPresenter.h"
* limitations under the License.
*/
-
-
#include "Elementary.h"
#include "View/MainView.h"
#include "View/PageView.h"
#include "Utils/Utils.h"
-#include "log.h"
+#include "Utils/Log.h"
#include <stdlib.h>
#include "View/RingView.h"
#include "View/MainView.h"
#include "Utils/Utils.h"
-
-#include "log.h"
+#include "Utils/Log.h"
namespace view {
#include "Presenter/StopWatchPresenter.h"
#include "Utils/Utils.h"
#include "Utils/PopupManager.h"
-
-#include "log.h"
+#include "Utils/Log.h"
namespace view {
#include "View/TimerView.h"
#include "View/MainView.h"
#include "Utils/Utils.h"
-#include "log.h"
+#include "Utils/Log.h"
namespace view {
#include <Elementary.h>
-#include "log.h"
+#include "Utils/Log.h"
using namespace view;
using namespace utils;
#include "Model/WorldClock.h"
#include "Utils/Utils.h"
#include "Internal/WorldClockDefs.h"
-#include "log.h"
+#include "Utils/Log.h"
#include "Utils/Time.h"
using namespace view;